am 4b94d094: Merge "Fix Arabic keyboard text and test comments"
* commit '4b94d09444e1a88155cf60e72fd23580478a9d0f': Fix Arabic keyboard text and test commentsmain
commit
802dfd4087
|
@ -525,10 +525,10 @@ public final class KeyboardTextsTable {
|
|||
null, null, null, null, null, null, null, null, null, null,
|
||||
/* ~ more_keys_for_n */
|
||||
// Label for "switch to alphabetic" key.
|
||||
// U+0623: "ا" ARABIC LETTER ALEF
|
||||
// U+0623: "أ" ARABIC LETTER ALEF WITH HAMZA ABOVE
|
||||
// U+200C: ZERO WIDTH NON-JOINER
|
||||
// U+0628: "ب" ARABIC LETTER BEH
|
||||
// U+062C: "پ" ARABIC LETTER PEH
|
||||
// U+062C: "ج" ARABIC LETTER JEEM
|
||||
/* label_to_alpha_key */ "\u0623\u200C\u0628\u200C\u062C",
|
||||
/* more_keys_for_y ~ */
|
||||
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
|
|
|
@ -95,10 +95,10 @@ public final class Arabic extends LayoutBase {
|
|||
return ARABIC_DIACRITICS;
|
||||
}
|
||||
|
||||
// U+0623: "ا" ARABIC LETTER ALEF
|
||||
// U+0623: "أ" ARABIC LETTER ALEF WITH HAMZA ABOVE
|
||||
// U+200C: ZERO WIDTH NON-JOINER
|
||||
// U+0628: "ب" ARABIC LETTER BEH
|
||||
// U+062C: "پ" ARABIC LETTER PEH
|
||||
// U+062C: "ج" ARABIC LETTER JEEM
|
||||
private static final ExpectedKey ARABIC_ALPHABET_KEY = key(
|
||||
"\u0623\u200C\u0628\u200C\u062C", Constants.CODE_SWITCH_ALPHA_SYMBOL);
|
||||
// U+0663: "٣" ARABIC-INDIC DIGIT THREE
|
||||
|
@ -107,10 +107,6 @@ public final class Arabic extends LayoutBase {
|
|||
// U+061F: "؟" ARABIC QUESTION MARK
|
||||
private static final ExpectedKey ARABIC_SYMBOLS_KEY = key(
|
||||
"\u0663\u0662\u0661\u061F", Constants.CODE_SWITCH_ALPHA_SYMBOL);
|
||||
// U+0663: "٣" ARABIC-INDIC DIGIT THREE
|
||||
// U+0662: "٢" ARABIC-INDIC DIGIT TWO
|
||||
// U+0661: "١" ARABIC-INDIC DIGIT ONE
|
||||
// U+061F: "؟" ARABIC QUESTION MARK
|
||||
private static final ExpectedKey ARABIC_BACK_TO_SYMBOLS_KEY = key(
|
||||
"\u0663\u0662\u0661\u061F", Constants.CODE_SHIFT);
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import com.android.inputmethod.keyboard.layout.LayoutBase;
|
|||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* ar: TestsArabic/arabic
|
||||
* ar: Arabic/arabic
|
||||
*/
|
||||
@SmallTest
|
||||
public class TestsArabic extends LayoutTestsBase {
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Label for "switch to alphabetic" key.
|
||||
U+0623: "ا" ARABIC LETTER ALEF
|
||||
U+0623: "أ" ARABIC LETTER ALEF WITH HAMZA ABOVE
|
||||
U+200C: ZERO WIDTH NON-JOINER
|
||||
U+0628: "ب" ARABIC LETTER BEH
|
||||
U+062C: "پ" ARABIC LETTER PEH -->
|
||||
U+062C: "ج" ARABIC LETTER JEEM -->
|
||||
<string name="label_to_alpha_key">أ‌ب‌ج</string>
|
||||
<!-- U+0661: "١" ARABIC-INDIC DIGIT ONE -->
|
||||
<string name="keylabel_for_symbols_1">١</string>
|
||||
|
|
Loading…
Reference in New Issue