aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/CapsModeUtils.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-07-23 04:29:32 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-23 04:29:32 +0000
commita2695d0ca6d6fbe03aed87513cdf54ae440e08f0 (patch)
treeae3905d1c9f88100c160e6f8800d272adebfdd41 /java/src/com/android/inputmethod/latin/utils/CapsModeUtils.java
parentdaadf71015bf37651ed81a2d5877b480736db5cd (diff)
parent4eb192212f6605efaa0e5f3c6124e0942cf239c5 (diff)
downloadlatinime-a2695d0ca6d6fbe03aed87513cdf54ae440e08f0.tar.gz
latinime-a2695d0ca6d6fbe03aed87513cdf54ae440e08f0.tar.xz
latinime-a2695d0ca6d6fbe03aed87513cdf54ae440e08f0.zip
Merge "Update language to comply with Android’s inclusive language guidance" am: 4eb192212f
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1371236 Change-Id: Ie132872cad36f2fa2b28eec2be7b4bb148e55d7f
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