Chromium Code Reviews| Index: third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp |
| diff --git a/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp b/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp |
| index b40b1cbe464ed40f218d28f553fef1945f41bf09..f980e919bc3d1ca932ffcffc36dbcb3903546506 100644 |
| --- a/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp |
| +++ b/third_party/WebKit/Source/platform/text/hyphenation/HyphenationMinikin.cpp |
| @@ -135,19 +135,23 @@ static LocaleMap createLocaleFallbackMap() |
| // https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/text/Hyphenator.java |
| using LocaleFallback = const char*[2]; |
| static LocaleFallback localeFallbackData[] = { |
| - { "en-AS", "en-US" }, // English (American Samoa) |
| - { "en-GU", "en-US" }, // English (Guam) |
| - { "en-MH", "en-US" }, // English (Marshall Islands) |
| - { "en-MP", "en-US" }, // English (Northern Mariana Islands) |
| - { "en-PR", "en-US" }, // English (Puerto Rico) |
| - { "en-UM", "en-US" }, // English (United States Minor Outlying Islands) |
| - { "en-VI", "en-US" }, // English (Virgin Islands) |
| + { "en-AS", "en-us" }, // English (American Samoa) |
| + { "en-GU", "en-us" }, // English (Guam) |
| + { "en-MH", "en-us" }, // English (Marshall Islands) |
| + { "en-MP", "en-us" }, // English (Northern Mariana Islands) |
| + { "en-PR", "en-us" }, // English (Puerto Rico) |
| + { "en-UM", "en-us" }, // English (United States Minor Outlying Islands) |
| + { "en-VI", "en-us" }, // English (Virgin Islands) |
| + { "en", "en-gb" }, |
|
eae
2016/07/19 15:13:53
Could you add descriptions to three new lines too
|
| + { "de", "de-1996" }, |
| + { "de-LI-1901", "de-ch-1901" }, |
| { "no", "nb" }, |
| - { "am", "und-Ethi" }, // Amharic |
| - { "byn", "und-Ethi" }, // Blin |
| - { "gez", "und-Ethi" }, // Geʻez |
| - { "ti", "und-Ethi" }, // Tigrinya |
| - { "wal", "und-Ethi" }, // Wolaytta |
| + { "mn", "mn-cyrl" }, // Mongolian |
| + { "am", "und-ethi" }, // Amharic |
| + { "byn", "und-ethi" }, // Blin |
| + { "gez", "und-ethi" }, // Geʻez |
| + { "ti", "und-ethi" }, // Tigrinya |
| + { "wal", "und-ethi" }, // Wolaytta |
| }; |
| LocaleMap map; |
| for (const auto& it : localeFallbackData) |