Skip to content
Commit c0cb9f99 authored by Xuetian Weng's avatar Xuetian Weng Committed by Fushan Wen
Browse files

Improve kickoff's group for non-latin language.

Use icu transliterator to convert i18n'ed name into ascii for initial
character grouping. Since AppsModel does not use group(), just use group
to store this value for convenience.

Relevant qt feature request for having a new mode for section:
https://bugreports.qt.io/browse/QTBUG-91258

Strategy used by this code mainly focused on CJK language.
1. Japanese locale will group all Han script together.
   Katakana will be converted to hiragana.
2. Hangul will decompose and use consonant as group name.
3. Han will use icu "Han-Latin" transliteration to convert to pinyin.

BUG: 433297
parent 127cd631
Pipeline #177890 passed with stage
in 7 minutes and 25 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment