mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-02 12:52:15 +00:00
enable hinglish subtype
This commit is contained in:
parent
f137a32a28
commit
f7bbefff98
2 changed files with 4 additions and 5 deletions
|
@ -86,8 +86,8 @@ class LanguageSettingsFragment : SubScreenFragment() {
|
||||||
}
|
}
|
||||||
// special treatment for the known languages with _ZZ types
|
// special treatment for the known languages with _ZZ types
|
||||||
// todo: later: make it a bit less weird... and probably faster
|
// todo: later: make it a bit less weird... and probably faster
|
||||||
// consider that more _ZZ languages might be added (e.g. hinglish)
|
// consider that more _ZZ languages might be added
|
||||||
if (!added && locale.language == "sr") {
|
if (!added && (locale.language == "sr" || locale.language == "hi")) {
|
||||||
val languageString = locale.language
|
val languageString = locale.language
|
||||||
val iter = allSubtypes.iterator()
|
val iter = allSubtypes.iterator()
|
||||||
while (iter.hasNext()) {
|
while (iter.hasNext()) {
|
||||||
|
|
|
@ -416,8 +416,8 @@
|
||||||
android:isAsciiCapable="false"
|
android:isAsciiCapable="false"
|
||||||
/>
|
/>
|
||||||
<!-- TODO: This Hinglish keyboard is a preliminary layout.
|
<!-- TODO: This Hinglish keyboard is a preliminary layout.
|
||||||
This isn't based on the final specification. -->
|
This isn't based on the final specification.
|
||||||
<!-- Disabled because there is no LM yet, and this layout does not offer anything different.
|
Was disabled because there is no LM yet, and this layout does not offer anything different. -->
|
||||||
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
||||||
android:label="@string/subtype_hi_ZZ"
|
android:label="@string/subtype_hi_ZZ"
|
||||||
android:subtypeId="0x352eb37c"
|
android:subtypeId="0x352eb37c"
|
||||||
|
@ -426,7 +426,6 @@
|
||||||
android:imeSubtypeExtraValue="AsciiCapable,KeyboardLayoutSet=qwerty,EmojiCapable"
|
android:imeSubtypeExtraValue="AsciiCapable,KeyboardLayoutSet=qwerty,EmojiCapable"
|
||||||
android:isAsciiCapable="true"
|
android:isAsciiCapable="true"
|
||||||
/>
|
/>
|
||||||
-->
|
|
||||||
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
<subtype android:icon="@drawable/ic_ime_switcher_dark"
|
||||||
android:label="@string/subtype_generic"
|
android:label="@string/subtype_generic"
|
||||||
android:subtypeId="0x35b7526a"
|
android:subtypeId="0x35b7526a"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue