Skip to content

Commit

Permalink
add Russian (Students) layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Zolax9 committed Apr 4, 2024
1 parent 99d03db commit a67eb47
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
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" (Students) keyboard subtype [CHAR LIMIT=25]
(Students) can be an abbreviation to fit in the CHAR LIMIT. -->
<string name="subtype_generic_students"><xliff:g id="LANGUAGE_NAME" example="Russian">%s</xliff:g> (Students)</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 (Students)/russian_students
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_students"
android:subtypeId="0x763a8752"
android:imeSubtypeLocale="ru"
android:languageTag="ru"
android:imeSubtypeMode="keyboard"
android:imeSubtypeExtraValue="KeyboardLayoutSet=russian_students,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 a67eb47

Please sign in to comment.