Remap pt-BR to pt on iOS
iOS looks for Brazilian Portuguese under pt, not pt-BR. Remap the grd output from pt-BR to pt on iOS so that it ends up in the right place. BUG=None Review URL: https://chromiumcodereview.appspot.com/11276003 git-svn-id: http://src.chromium.org/svn/trunk/src/build@164312 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
8fb3f4d036
Коммит
94359ca145
|
@ -854,7 +854,7 @@
|
|||
'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB',
|
||||
'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he',
|
||||
'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv',
|
||||
'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru',
|
||||
'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-PT', 'ro', 'ru',
|
||||
'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk',
|
||||
'vi', 'zh-CN', 'zh-TW',
|
||||
],
|
||||
|
@ -1296,6 +1296,10 @@
|
|||
# iOS uses a whitelist to filter resources.
|
||||
'-w', '<(DEPTH)/build/ios/grit_whitelist.txt'
|
||||
],
|
||||
# iOS uses pt instead of pt-BR.
|
||||
'locales': ['pt'],
|
||||
}, { # OS != "ios"
|
||||
'locales': ['pt-BR'],
|
||||
}],
|
||||
['enable_extensions==1', {
|
||||
'grit_defines': ['-D', 'enable_extensions'],
|
||||
|
|
Загрузка…
Ссылка в новой задаче