aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/CapsModeUtils.java
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2020-07-22 14:08:35 -0700
committerSeigo Nonaka <nona@google.com>2020-07-22 14:08:35 -0700
commitf53e034a174b473519c0a4755fb9440dc9ecbfcf (patch)
treeae3905d1c9f88100c160e6f8800d272adebfdd41 /java/src/com/android/inputmethod/latin/utils/CapsModeUtils.java
parentdaadf71015bf37651ed81a2d5877b480736db5cd (diff)
downloadlatinime-f53e034a174b473519c0a4755fb9440dc9ecbfcf.tar.gz
latinime-f53e034a174b473519c0a4755fb9440dc9ecbfcf.tar.xz
latinime-f53e034a174b473519c0a4755fb9440dc9ecbfcf.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: I2ffb39ff70f61e579b62761d3da526a545dead1f
Diffstat (limited to 'java/src/com/android/inputmethod/latin/utils/CapsModeUtils.java')
-rw-r--r--java/src/com/android/inputmethod/latin/utils/CapsModeUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/utils/CapsModeUtils.java b/java/src/com/android/inputmethod/latin/utils/CapsModeUtils.java
index 0dbc7c858..47f65499d 100644
--- a/java/src/com/android/inputmethod/latin/utils/CapsModeUtils.java
+++ b/java/src/com/android/inputmethod/latin/utils/CapsModeUtils.java
@@ -194,10 +194,10 @@ public final class CapsModeUtils {
// English is a special case in that "American typography" rules, which are the most common
// in English, state that a sentence terminator immediately following a quotation mark
// should be swapped with it and de-duplicated (included in the quotation mark),
- // e.g. <<Did he say, "let's go home?">>
+ // e.g. <<Did they say, "let's go home?">>
// No other language has such a rule as far as I know, instead putting inside the quotation
// mark as the exact thing quoted and handling the surrounding punctuation independently,
- // e.g. <<Did he say, "let's go home"?>>
+ // e.g. <<Did they say, "let's go home"?>>
if (spacingAndPunctuations.mUsesAmericanTypography) {
for (; j > 0; j--) {
// Here we look to go over any closing punctuation. This is because in dominant