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
This commit is contained in:
Adrian Roos 2020-08-12 13:06:32 +02:00
parent b01f678ca8
commit 444da56414
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@
# should not be considered a typo, but that should never be suggested # 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' # 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 # 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. # replacement.
# #
# Each word may or may not have any number of shortcut target lines # Each word may or may not have any number of shortcut target lines

View file

@ -222,7 +222,7 @@ public class RichInputMethodSubtype {
return noLanguageSubtype; return noLanguageSubtype;
} }
Log.w(TAG, "Can't find any language with QWERTY subtype"); 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); + PLACEHOLDER_NO_LANGUAGE_SUBTYPE);
return PLACEHOLDER_NO_LANGUAGE_SUBTYPE; return PLACEHOLDER_NO_LANGUAGE_SUBTYPE;
} }
@ -243,7 +243,7 @@ public class RichInputMethodSubtype {
return emojiSubtype; return emojiSubtype;
} }
Log.w(TAG, "Can't find emoji subtype"); 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); + PLACEHOLDER_EMOJI_SUBTYPE);
return PLACEHOLDER_EMOJI_SUBTYPE; return PLACEHOLDER_EMOJI_SUBTYPE;
} }