-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When resolving the locale, use pt-PT for unsupported pt-**
This also maps "pt" -> "pt-BR", and "zh"->"zh-CN". Chrome has two .pak files for Portuguese: pt-PT and pt-BR. This is different from most locales in that there is no plain "pt.pak", which would be selected by normal locale resolving logic. The other exceptions are zh and en, both of which already have special-case fallback logic (with the exception of a bare "zh", which this CL addresses). This change adds equivalent fallback logic for pt-PT. BUG=691594 Review-Url: https://codereview.chromium.org/2733303002 Cr-Commit-Position: refs/heads/master@{#455326} (cherry picked from commit 6f16f90) Review-Url: https://codereview.chromium.org/2737553006 . Cr-Commit-Position: refs/branch-heads/3029@{#57} Cr-Branched-From: 939b32e-refs/heads/master@{#454471}
- Loading branch information
Showing
2 changed files
with
29 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters