From 270bd39af44c4f6e1056d591c12a6a017125e5d4 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Thu, 20 Mar 2014 11:45:53 +0900 Subject: [PATCH] Remove Latin comma from Arabic/Persian keyboard Bug: 12807701 Change-Id: Icca63586d561a57b2c15cbfbae0de98dfcc137a3 --- java/res/xml/key_f1.xml | 3 +- java/res/xml/keys_comma_period_symbols.xml | 3 +- .../keyboard/internal/KeyboardTextsTable.java | 182 +++++++++--------- .../inputmethod/keyboard/layout/Arabic.java | 6 +- .../inputmethod/keyboard/layout/Farsi.java | 6 +- .../values-ar/donottranslate-more-keys.xml | 1 - .../values-fa/donottranslate-more-keys.xml | 1 - .../res/values/donottranslate-more-keys.xml | 1 - 8 files changed, 97 insertions(+), 106 deletions(-) diff --git a/java/res/xml/key_f1.xml b/java/res/xml/key_f1.xml index d3a753948..0a89fe3fb 100644 --- a/java/res/xml/key_f1.xml +++ b/java/res/xml/key_f1.xml @@ -42,7 +42,6 @@ @@ -57,7 +56,7 @@ diff --git a/java/res/xml/keys_comma_period_symbols.xml b/java/res/xml/keys_comma_period_symbols.xml index 5221d34e3..53c3343da 100644 --- a/java/res/xml/keys_comma_period_symbols.xml +++ b/java/res/xml/keys_comma_period_symbols.xml @@ -22,8 +22,7 @@ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" > + latin:keySpec="!text/keylabel_for_comma" /> 0,٫,٬ ، - "\\," ّ !text/more_keys_for_arabic_diacritics diff --git a/tools/make-keyboard-text/res/values-fa/donottranslate-more-keys.xml b/tools/make-keyboard-text/res/values-fa/donottranslate-more-keys.xml index 56993be97..afdb02ab7 100644 --- a/tools/make-keyboard-text/res/values-fa/donottranslate-more-keys.xml +++ b/tools/make-keyboard-text/res/values-fa/donottranslate-more-keys.xml @@ -64,7 +64,6 @@ 0,٫,٬ ، - "\\," ً !text/more_keys_for_arabic_diacritics diff --git a/tools/make-keyboard-text/res/values/donottranslate-more-keys.xml b/tools/make-keyboard-text/res/values/donottranslate-more-keys.xml index 1ea301810..e54ee7a1c 100644 --- a/tools/make-keyboard-text/res/values/donottranslate-more-keys.xml +++ b/tools/make-keyboard-text/res/values/donottranslate-more-keys.xml @@ -177,7 +177,6 @@ , - ,