Skip to content

Commit

Permalink
add Russian (Student) layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Zolax9 committed Apr 5, 2024
1 parent 99d03db commit 574b98a
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
33 changes: 33 additions & 0 deletions app/src/main/assets/layouts/russian_student.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
я
ш
е
р
т
ы
y
и
о
п
э

а
с
д
ф
г
ч
й
к
л
ж
щ

з
х
ц
в
б
н
м
ь
ю
3 changes: 3 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@
<!-- Description for "LANGUAGE_NAME" (Sebeolsik Final) keyboard subtype [CHAR LIMIT=25]
(Sebeolsik Final) can be an abbreviation to fit in the CHAR LIMIT. -->
<string name="subtype_generic_sebeolsik_final"><xliff:g id="LANGUAGE_NAME" example="Korean">%s</xliff:g> (Sebeolsik Final)</string>
<!-- Description for "LANGUAGE_NAME" (Student) keyboard subtype [CHAR LIMIT=25]
(Student) can be an abbreviation to fit in the CHAR LIMIT. -->
<string name="subtype_generic_student"><xliff:g id="LANGUAGE_NAME" example="Russian">%s</xliff:g> (Student)</string>
<!-- This string is displayed in a language list that allows to choose a language for
suggestions in a software keyboard. This setting won't give suggestions in any particular
language, hence "No language".
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 @@ -81,6 +81,7 @@
pt_PT: Portuguese (Portugal)/qwerty
ro: Romanian/qwerty
ru: Russian/russian
ru: Russian (Student)/russian_student
si_LK: Sinhala (Sri Lanka)/sinhala # This is a preliminary keyboard layout.
sk: Slovak/qwerty
sl: Slovenian/qwerty
Expand Down Expand Up @@ -803,6 +804,15 @@
android:imeSubtypeExtraValue="KeyboardLayoutSet=russian,SupportTouchPositionCorrection,EmojiCapable"
android:isAsciiCapable="false"
/>
<subtype android:icon="@drawable/ic_ime_switcher"
android:label="@string/subtype_generic_student"
android:subtypeId="0x1bc335d0"
android:imeSubtypeLocale="ru"
android:languageTag="ru"
android:imeSubtypeMode="keyboard"
android:imeSubtypeExtraValue="KeyboardLayoutSet=russian_student,SupportTouchPositionCorrection,EmojiCapable"
android:isAsciiCapable="false"
/>
<!-- TODO: This Sinhala keyboard is a preliminary layout.
This isn't based on the final specification. -->
<!-- si_LK is currently disabled due to lack of combination rules. -->
Expand Down

0 comments on commit 574b98a

Please sign in to comment.