| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 webapp_locale_dir = "$root_gen_dir/remoting/webapp/_locales" | 5 webapp_locale_dir = "$root_gen_dir/remoting/webapp/_locales" |
| 6 | 6 |
| 7 # See also remoting_locales_with_underscores below. | 7 # See also remoting_locales_with_underscores below. |
| 8 remoting_locales = [ | 8 remoting_locales = [ |
| 9 "am", | 9 "am", |
| 10 "ar", | 10 "ar", |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 "en_GB", | 85 "en_GB", |
| 86 "es_419", | 86 "es_419", |
| 87 | 87 |
| 88 "fake_bidi", | 88 "fake_bidi", |
| 89 "pt_BR", | 89 "pt_BR", |
| 90 "pt_PT", | 90 "pt_PT", |
| 91 "zh_CN", | 91 "zh_CN", |
| 92 "zh_TW", | 92 "zh_TW", |
| 93 ] | 93 ] |
| 94 | 94 |
| 95 if (is_chromeos) { | 95 if (is_chromeos_ui) { |
| 96 remoting_locales += [ "en-US" ] | 96 remoting_locales += [ "en-US" ] |
| 97 remoting_locales_with_underscores += [ "en_US" ] | 97 remoting_locales_with_underscores += [ "en_US" ] |
| 98 } | 98 } |
| 99 | 99 |
| 100 messages_locales = remoting_locales_with_underscores | 100 messages_locales = remoting_locales_with_underscores |
| 101 if (!is_chromeos) { | 101 if (!is_chromeos_ui) { |
| 102 # The messages output includes a separate one for en-US that the pak ones | 102 # The messages output includes a separate one for en-US that the pak ones |
| 103 # don't have. We don't need to do this on ChromeOS since en_US is in the | 103 # don't have. We don't need to do this on ChromeOS since en_US is in the |
| 104 # locales list be default there. | 104 # locales list be default there. |
| 105 messages_locales += [ "en_US" ] | 105 messages_locales += [ "en_US" ] |
| 106 } | 106 } |
| 107 | 107 |
| 108 # The list of .json files generated by remoting_strings.grd. | 108 # The list of .json files generated by remoting_strings.grd. |
| 109 remoting_webapp_locale_files = | 109 remoting_webapp_locale_files = |
| 110 process_file_template( | 110 process_file_template( |
| 111 messages_locales, | 111 messages_locales, |
| 112 [ "remoting/webapp/_locales/{{source_name_part}}/messages.json" ]) | 112 [ "remoting/webapp/_locales/{{source_name_part}}/messages.json" ]) |
| OLD | NEW |