Skip to content

Commit

Permalink
Add Chuvash layout (#677)
Browse files Browse the repository at this point in the history
Co-authored-by: tenextractor <[email protected]>
  • Loading branch information
tenextractor and tenextractor authored Apr 12, 2024
1 parent d3ddf8d commit 6a9156f
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 1 deletion.
20 changes: 20 additions & 0 deletions app/src/main/assets/language_key_texts/cv.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[popup_keys]
" « » „ “ ”
у у́ ү ӯ
к қ
е е́ ә
н ң
г ғ
х ҳ
ы ы́
а а́
о о́ ө
ж җ
э э́ є
я я́
ч ҷ
и и́ і ӣ
ю ю́

[labels]
alphabet: АБВ
44 changes: 44 additions & 0 deletions app/src/main/assets/layouts/chuvash.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
ё
ӑ
ӗ
ҫ
ӳ
ъ
-
!
?
"

й
ц
у
к
е
н
г
ш
щ
з
х

ф
ы
в
а
п
р
о
л
д
ж
э

я
ч
с
м
и
т
ь
б
ю
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ object ScriptUtils {
"ar", "ur", "fa" -> SCRIPT_ARABIC
"hy" -> SCRIPT_ARMENIAN
"bn" -> SCRIPT_BENGALI
"sr", "mk", "ru", "uk", "mn", "be", "kk", "ky", "bg", "xdq" -> SCRIPT_CYRILLIC
"sr", "mk", "ru", "uk", "mn", "be", "kk", "ky", "bg", "xdq", "cv" -> SCRIPT_CYRILLIC
"ka" -> SCRIPT_GEORGIAN
"el" -> SCRIPT_GREEK
"iw" -> SCRIPT_HEBREW
Expand Down
10 changes: 10 additions & 0 deletions app/src/main/res/xml/method.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
bn_IN: Bengali (India)/bengali
ca: Catalan/qwerty+
cs: Czech/qwertz
cv: Chuvash/chuvash
da: Danish/qwerty+
de: German/qwertz
de_DE: German (Germany)/qwertz+
Expand Down Expand Up @@ -269,6 +270,15 @@
android:imeSubtypeExtraValue="KeyboardLayoutSet=qwertz,AsciiCapable,SupportTouchPositionCorrection,EmojiCapable"
android:isAsciiCapable="true"
/>
<subtype android:icon="@drawable/ic_ime_switcher"
android:label="@string/subtype_generic"
android:subtypeId="0xdf43fc1d"
android:imeSubtypeLocale="cv"
android:languageTag="cv"
android:imeSubtypeMode="keyboard"
android:imeSubtypeExtraValue="KeyboardLayoutSet=chuvash,EmojiCapable"
android:isAsciiCapable="false"
/>
<subtype android:icon="@drawable/ic_ime_switcher"
android:label="@string/subtype_generic"
android:subtypeId="0x2df4605d"
Expand Down

0 comments on commit 6a9156f

Please sign in to comment.