diff options
author | 2020-07-22 20:56:25 -0700 | |
---|---|---|
committer | 2020-07-31 11:28:59 -0700 | |
commit | 0c549e742426431ba9fdcca57d0724224bf13ae2 (patch) | |
tree | 37982b235622b3fb46257f1d910fb01bf3b914f8 /tools | |
parent | 9490b1b92f06c83d9d596833ef4d38de10b8ef4b (diff) | |
download | latinime-0c549e742426431ba9fdcca57d0724224bf13ae2.tar.gz latinime-0c549e742426431ba9fdcca57d0724224bf13ae2.tar.xz latinime-0c549e742426431ba9fdcca57d0724224bf13ae2.zip |
Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Test: tapas LatinIME && m
Change-Id: Ic06f948c023a091e1532db826a78dd01031d7205
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dicttool/src/com/android/inputmethod/latin/dicttool/Info.java | 6 | ||||
-rw-r--r-- | tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/KeyboardTextsTable.tmpl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/dicttool/src/com/android/inputmethod/latin/dicttool/Info.java b/tools/dicttool/src/com/android/inputmethod/latin/dicttool/Info.java index d516d60c3..8f8c968c1 100644 --- a/tools/dicttool/src/com/android/inputmethod/latin/dicttool/Info.java +++ b/tools/dicttool/src/com/android/inputmethod/latin/dicttool/Info.java @@ -42,7 +42,7 @@ public class Info extends Dicttool.Command { int wordCount = 0; int bigramCount = 0; int shortcutCount = 0; - int whitelistCount = 0; + int allowlistCount = 0; for (final WordProperty wordProperty : dict) { ++wordCount; if (wordProperty.mHasNgrams) { @@ -51,8 +51,8 @@ public class Info extends Dicttool.Command { } System.out.println("Words in the dictionary : " + wordCount); System.out.println("Bigram count : " + bigramCount); - System.out.println("Shortcuts : " + shortcutCount + " (out of which " + whitelistCount - + " whitelist entries)"); + System.out.println("Shortcuts : " + shortcutCount + " (out of which " + allowlistCount + + " allowlist entries)"); } private static void showWordInfo(final FusionDictionary dict, final String word) { diff --git a/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/KeyboardTextsTable.tmpl b/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/KeyboardTextsTable.tmpl index 6a7469ccb..5855129c5 100644 --- a/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/KeyboardTextsTable.tmpl +++ b/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/KeyboardTextsTable.tmpl @@ -60,7 +60,7 @@ public final class KeyboardTextsTable { if (text != null) { return text; } - // Sanity check. + // Validity check. if (index >= 0 && index < TEXTS_DEFAULT.length) { return TEXTS_DEFAULT[index]; } |