Add a Hebrew 1452-2 layout (#1288)

This commit is contained in:
Eran Leshem 2025-01-14 00:13:06 +02:00 committed by GitHub
parent df37e3589e
commit 8931f79b62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 98 additions and 0 deletions

View file

@ -0,0 +1,85 @@
[
[
{ "label": "ץ", "popup": {
"relevant": [
{ "label": "ש\u05c2" }
]
} },
{ "label": "ן", "popup": {
"relevant": [
{ "label": "ש\u05c1" }
]
} },
{ "label": "ק", "popup": {
"relevant": [
{ "label": "\u05b8" },
{ "label": "\u05bb" }
]
} },
{ "label": "ר", "popup": {
"relevant": [
{ "label": "\u05b3" }
]
} },
{ "label": "א" },
{ "label": "ט" },
{ "label": "ו", "popup": {
"relevant": [
{ "label": "\u05b9" }
]
} },
{ "label": "ת" },
{ "label": "ם" },
{ "label": "פ", "popup": {
"relevant": [
{ "label": "\u05b2" },
{ "label": "\u05b7" }
]
} }
],
[
{ "label": "ש", "popup": {
"relevant": [
{ "label": "\u05b0" }
]
} },
{ "label": "ד", "popup": {
"relevant": [
{ "label": "\u05bc" }
]
} },
{ "label": "ג" },
{ "label": "כ" },
{ "label": "ע" },
{ "label": "י" },
{ "label": "ח", "popup": {
"relevant": [
{ "label": "\u05b4" }
]
} },
{ "label": "ל" },
{ "label": "ך" },
{ "label": "ף" }
],
[
{ "label": "ז" },
{ "label": "ס", "popup": {
"relevant": [
{ "label": "\u05b6" }
]
} },
{ "label": "ב", "popup": {
"relevant": [
{ "label": "\u05b1" }
]
} },
{ "label": "ה" },
{ "label": "נ" },
{ "label": "מ" },
{ "label": "צ", "popup": {
"relevant": [
{ "label": "\u05b5" }
]
} }
]
]

View file

@ -86,6 +86,9 @@
<!-- Description for Arabic (PC) subtype. --> <!-- Description for Arabic (PC) subtype. -->
<string name="subtype_arabic_pc" translatable="false">%s (PC)</string> <string name="subtype_arabic_pc" translatable="false">%s (PC)</string>
<!-- Description for Hebrew 2 subtype. -->
<string name="subtype_hebrew_1452_2" translatable="false">%s (1452-2)</string>
<!-- App slogan--> <!-- App slogan-->
<string name="app_slogan" translatable="false">100% FOSS keyboard, based on AOSP.</string> <string name="app_slogan" translatable="false">100% FOSS keyboard, based on AOSP.</string>
<!-- default value for auto-day/night setting --> <!-- default value for auto-day/night setting -->

View file

@ -61,6 +61,7 @@
it: Italian/qwerty it: Italian/qwerty
it_CH: Italian (Switzerland)/qwertz+ it_CH: Italian (Switzerland)/qwertz+
iw: Hebrew/hebrew # "he" is the official language code of Hebrew. iw: Hebrew/hebrew # "he" is the official language code of Hebrew.
iw: Hebrew/hebrew_1452_2 # "he" is the official language code of Hebrew.
ka_GE: Georgian (Georgia)/georgian ka_GE: Georgian (Georgia)/georgian
kab: Kabyle (Algeria)/azerty # This is a preliminary keyboard layout. kab: Kabyle (Algeria)/azerty # This is a preliminary keyboard layout.
kk: Kazakh/russian kk: Kazakh/russian
@ -578,6 +579,15 @@
android:imeSubtypeExtraValue="KeyboardLayoutSet=hebrew,NoShiftKey,SupportTouchPositionCorrection,EmojiCapable" android:imeSubtypeExtraValue="KeyboardLayoutSet=hebrew,NoShiftKey,SupportTouchPositionCorrection,EmojiCapable"
android:isAsciiCapable="false" android:isAsciiCapable="false"
/> />
<subtype android:icon="@drawable/ic_ime_switcher"
android:label="@string/subtype_hebrew_1452_2"
android:subtypeId="0x66fb18be"
android:imeSubtypeLocale="iw"
android:languageTag="he"
android:imeSubtypeMode="keyboard"
android:imeSubtypeExtraValue="KeyboardLayoutSet=hebrew_1452_2,NoShiftKey,SupportTouchPositionCorrection,EmojiCapable"
android:isAsciiCapable="false"
/>
<subtype android:icon="@drawable/ic_ime_switcher" <subtype android:icon="@drawable/ic_ime_switcher"
android:label="@string/subtype_generic" android:label="@string/subtype_generic"
android:subtypeId="0x2d5e7a1f" android:subtypeId="0x2d5e7a1f"