Skip to content

Commit

Permalink
Add Eastern Mari layout (#755)
Browse files Browse the repository at this point in the history
Co-authored-by: Helium314 <[email protected]>
  • Loading branch information
ViZiD and Helium314 authored May 1, 2024
1 parent 2fc5286 commit 5440a3e
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 1 deletion.
8 changes: 8 additions & 0 deletions app/src/main/assets/language_key_texts/mhr.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[popup_keys]
" « » „ “ ”
н ҥ
о ӧ
у ӱ

[labels]
alphabet: АБВ
44 changes: 44 additions & 0 deletions app/src/main/assets/layouts/mari.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", "cv" -> SCRIPT_CYRILLIC
"sr", "mk", "ru", "uk", "mn", "be", "kk", "ky", "bg", "xdq", "cv", "mhr" -> 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 @@ -67,6 +67,7 @@
lo_LA: Lao (Laos)/lao
lt: Lithuanian/qwerty
lv: Latvian/qwerty
mhr: Mari (Eastern)
mk: Macedonian/macedonian
ml_IN: Malayalam (India)/malayalam
mn_MN: Mongolian (Mongolia)/mongolian
Expand Down Expand Up @@ -679,6 +680,15 @@
android:imeSubtypeMode="keyboard"
android:imeSubtypeExtraValue="AsciiCapable,EmojiCapable"
android:isAsciiCapable="true"
/>
<subtype android:icon="@drawable/ic_ime_switcher"
android:label="@string/subtype_generic"
android:subtypeId="0xb84023bf"
android:imeSubtypeLocale="mhr"
android:languageTag="mhr"
android:imeSubtypeMode="keyboard"
android:imeSubtypeExtraValue="KeyboardLayoutSet=mari,SupportTouchPositionCorrection,EmojiCapable"
android:isAsciiCapable="false"
/>
<subtype android:icon="@drawable/ic_ime_switcher"
android:label="@string/subtype_generic"
Expand Down

0 comments on commit 5440a3e

Please sign in to comment.