Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(610)

Unified Diff: remoting/remoting_locales.gni

Issue 2824173004: Fix packing localized strings for //remoting. (Closed)
Patch Set: Fix fat builds. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/resources/BUILD.gn » ('j') | remoting/resources/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/remoting_locales.gni
diff --git a/remoting/remoting_locales.gni b/remoting/remoting_locales.gni
index a9702de66ef8688e85f12308268e3b4848b0dc80..12834ab993ec10936231b9e2895b8bd0142664aa 100644
--- a/remoting/remoting_locales.gni
+++ b/remoting/remoting_locales.gni
@@ -92,19 +92,33 @@ remoting_locales_with_underscores += [
"zh_TW",
]
-if (is_chromeos) {
+if (is_chromeos || is_ios) {
Wez 2017/04/18 18:05:26 nit: Let's make sure to retain comments that expla
sdefresne 2017/04/19 08:59:03 Done. BTW, do you know why remoting uses "en-GB",
Wez 2017/04/20 03:41:21 No, I'm afraid you will need to ask jamiewalch@ or
remoting_locales += [ "en-US" ]
remoting_locales_with_underscores += [ "en_US" ]
}
-messages_locales = remoting_locales_with_underscores
-if (!is_chromeos) {
- # The messages output includes a separate one for en-US that the pak ones
- # don't have. We don't need to do this on ChromeOS since en_US is in the
- # locales list be default there.
- messages_locales += [ "en_US" ]
+if (is_ios) {
Wez 2017/04/18 18:05:26 nit: This might be more readable as an if...else w
sdefresne 2017/04/19 08:59:03 Done.
+ remoting_locales -= [
+ "pt-BR",
+ "es-419",
+ ]
+ remoting_locales += [
+ "pt",
+ "es-MX",
+ ]
+
+ remoting_locales_with_underscores -= [
+ "pt_BR",
+ "es_419",
+ ]
+ remoting_locales_with_underscores += [
+ "pt",
+ "es_MX",
+ ]
}
+messages_locales = remoting_locales_with_underscores
+
remoting_android_locales = [
"am",
"ar",
« no previous file with comments | « no previous file | remoting/resources/BUILD.gn » ('j') | remoting/resources/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698