diff --git a/check_layout.output b/check_layout.output index ff13983..6b2e685 100644 --- a/check_layout.output +++ b/check_layout.output @@ -8,6 +8,9 @@ Layout includes some ASCII punctuation but not all, missing: !, ', +, ;, ?, \, | # arab_pc_ckb Layout includes some ASCII punctuation but not all, missing: ", %, ', +, ,, ., :, ;, <, =, >, ?, `, |, ~ 1 warnings +# arab_pc_hindu +Layout includes some ASCII punctuation but not all, missing: !, ', +, ;, ?, \, | +1 warnings # arab_pc_ir Layout includes some ASCII punctuation but not all, missing: ", %, ', ,, /, ;, <, =, >, ?, [, \, ], `, {, |, } 1 warnings diff --git a/res/values/layouts.xml b/res/values/layouts.xml index eac29b1..14c1c32 100644 --- a/res/values/layouts.xml +++ b/res/values/layouts.xml @@ -9,6 +9,7 @@ arab_alt arab_pc arab_pc_ckb + arab_pc_hindu arab_pc_ir armenian_ph_am beng_national @@ -56,6 +57,7 @@ Arabic Alt Arabic PC Kurdish (کوردی) + Arabic PC (Hindu numerals) Persian PC Armenian বাংলা (জাতীয়) @@ -103,6 +105,7 @@ @xml/arab_alt @xml/arab_pc @xml/arab_pc_ckb + @xml/arab_pc_hindu @xml/arab_pc_ir @xml/armenian_ph_am @xml/beng_national diff --git a/res/xml/arab_alt.xml b/res/xml/arab_alt.xml index f594f92..380d206 100644 --- a/res/xml/arab_alt.xml +++ b/res/xml/arab_alt.xml @@ -1,5 +1,5 @@ - + diff --git a/res/xml/arab_pc.xml b/res/xml/arab_pc.xml index 66a8fbd..62b086d 100644 --- a/res/xml/arab_pc.xml +++ b/res/xml/arab_pc.xml @@ -1,16 +1,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/res/xml/arab_pc_ckb.xml b/res/xml/arab_pc_ckb.xml index 363e25f..0e9bd4f 100644 --- a/res/xml/arab_pc_ckb.xml +++ b/res/xml/arab_pc_ckb.xml @@ -1,5 +1,5 @@ - + diff --git a/res/xml/arab_pc_tn.xml b/res/xml/arab_pc_hindu.xml similarity index 61% rename from res/xml/arab_pc_tn.xml rename to res/xml/arab_pc_hindu.xml index 8441614..b25eed1 100644 --- a/res/xml/arab_pc_tn.xml +++ b/res/xml/arab_pc_hindu.xml @@ -1,16 +1,16 @@ - + - - - - - - - - - - + + + + + + + + + + diff --git a/res/xml/method.xml b/res/xml/method.xml index 08b4570..8afbaad 100644 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -1,7 +1,7 @@ - - + + diff --git a/srcs/juloo.keyboard2/KeyModifier.java b/srcs/juloo.keyboard2/KeyModifier.java index ba3af2e..c1ed4e3 100644 --- a/srcs/juloo.keyboard2/KeyModifier.java +++ b/srcs/juloo.keyboard2/KeyModifier.java @@ -89,7 +89,7 @@ class KeyModifier return map_char_none; switch (numpad_script) { - case "arabic": return map_char_numpad_arabic; + case "hindu-arabic": return map_char_numpad_hindu; case "bengali": return map_char_numpad_bengali; case "devanagari": return map_char_numpad_devanagari; case "persian": return map_char_numpad_persian; @@ -997,7 +997,7 @@ class KeyModifier } }; - private static final Map_char map_char_numpad_arabic = + private static final Map_char map_char_numpad_hindu = new Map_char() { public String apply(char c) {