aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2020-08-12 13:06:32 +0200
committerAdrian Roos <roosa@google.com>2020-08-12 13:07:02 +0200
commit444da5641464a34fc64ab9d35ae29d3c792b8012 (patch)
treebef73dce460ec01f75d4d90fbca414368e877a5d
parentb01f678ca850d970f1bd47fd7e4a6aeacd72f3af (diff)
downloadlatinime-444da5641464a34fc64ab9d35ae29d3c792b8012.tar.gz
latinime-444da5641464a34fc64ab9d35ae29d3c792b8012.tar.xz
latinime-444da5641464a34fc64ab9d35ae29d3c792b8012.zip
Update LatinIME to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 162536543 Change-Id: I5df9e60ec6caa2e1e3253532c2b59b74adfc1749
-rw-r--r--dictionaries/sample.combined2
-rw-r--r--java/src/com/android/inputmethod/latin/RichInputMethodSubtype.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/dictionaries/sample.combined b/dictionaries/sample.combined
index 4fa595e1e..9cbdd2a8a 100644
--- a/dictionaries/sample.combined
+++ b/dictionaries/sample.combined
@@ -14,7 +14,7 @@
# should not be considered a typo, but that should never be suggested
# explicitly. An entry may be made not a word by adding a `not_a_word'
# field with a value of `true'. The main reason for putting such entries
-# into the dictionary is to add shortcut targets and maybe a whitelist
+# into the dictionary is to add shortcut targets and maybe an allowlist
# replacement.
#
# Each word may or may not have any number of shortcut target lines
diff --git a/java/src/com/android/inputmethod/latin/RichInputMethodSubtype.java b/java/src/com/android/inputmethod/latin/RichInputMethodSubtype.java
index b40866cc2..941149895 100644
--- a/java/src/com/android/inputmethod/latin/RichInputMethodSubtype.java
+++ b/java/src/com/android/inputmethod/latin/RichInputMethodSubtype.java
@@ -222,7 +222,7 @@ public class RichInputMethodSubtype {
return noLanguageSubtype;
}
Log.w(TAG, "Can't find any language with QWERTY subtype");
- Log.w(TAG, "No input method subtype found; returning dummy subtype: "
+ Log.w(TAG, "No input method subtype found; returning placeholder subtype: "
+ PLACEHOLDER_NO_LANGUAGE_SUBTYPE);
return PLACEHOLDER_NO_LANGUAGE_SUBTYPE;
}
@@ -243,7 +243,7 @@ public class RichInputMethodSubtype {
return emojiSubtype;
}
Log.w(TAG, "Can't find emoji subtype");
- Log.w(TAG, "No input method subtype found; returning dummy subtype: "
+ Log.w(TAG, "No input method subtype found; returning placeholder subtype: "
+ PLACEHOLDER_EMOJI_SUBTYPE);
return PLACEHOLDER_EMOJI_SUBTYPE;
}