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

Side by Side Diff: chrome/app/resources/locale_settings.grd

Issue 1679283002: Componentize Chrome terms of service, Accept-Languages & default encoding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase && use a qualified include for the new file Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/app/resources/locale_settings_am.xtb » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <grit latest_public_release="0" current_release="1"> 2 <grit latest_public_release="0" current_release="1">
3 <outputs> 3 <outputs>
4 <output filename="grit/locale_settings.h" type="rc_header"> 4 <output filename="grit/locale_settings.h" type="rc_header">
5 <emit emit_type='prepend'></emit> 5 <emit emit_type='prepend'></emit>
6 </output> 6 </output>
7 <output filename="locale_settings_am.pak" type="data_package" lang="am" /> 7 <output filename="locale_settings_am.pak" type="data_package" lang="am" />
8 <output filename="locale_settings_ar.pak" type="data_package" lang="ar" /> 8 <output filename="locale_settings_ar.pak" type="data_package" lang="ar" />
9 <output filename="locale_settings_bg.pak" type="data_package" lang="bg" /> 9 <output filename="locale_settings_bg.pak" type="data_package" lang="bg" />
10 <output filename="locale_settings_bn.pak" type="data_package" lang="bn" /> 10 <output filename="locale_settings_bn.pak" type="data_package" lang="bn" />
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 <file path="locale_settings_te.xtb" lang="te" /> 122 <file path="locale_settings_te.xtb" lang="te" />
123 <file path="locale_settings_th.xtb" lang="th" /> 123 <file path="locale_settings_th.xtb" lang="th" />
124 <file path="locale_settings_tr.xtb" lang="tr" /> 124 <file path="locale_settings_tr.xtb" lang="tr" />
125 <file path="locale_settings_uk.xtb" lang="uk" /> 125 <file path="locale_settings_uk.xtb" lang="uk" />
126 <file path="locale_settings_vi.xtb" lang="vi" /> 126 <file path="locale_settings_vi.xtb" lang="vi" />
127 <file path="locale_settings_zh-CN.xtb" lang="zh-CN" /> 127 <file path="locale_settings_zh-CN.xtb" lang="zh-CN" />
128 <file path="locale_settings_zh-TW.xtb" lang="zh-TW" /> 128 <file path="locale_settings_zh-TW.xtb" lang="zh-TW" />
129 <file path="locale_settings_fake-bidi.xtb" lang="fake-bidi" /> 129 <file path="locale_settings_fake-bidi.xtb" lang="fake-bidi" />
130 </translations> 130 </translations>
131 <release seq="1" allow_pseudo="false"> 131 <release seq="1" allow_pseudo="false">
132 <includes>
133 <!-- The HTML for the about:terms page -->
134 <if expr="chromeos and _google_chrome">
135 <include name="IDS_TERMS_HTML" file="terms\chromeos\terms_en.html" type= "BINDATA" />
136 </if>
137 <if expr="chromeos and not _google_chrome">
138 <include name="IDS_TERMS_HTML" file="terms\terms_chromium.html" type="BI NDATA" />
139 </if>
140
141 <if expr="not chromeos and not is_android and _google_chrome">
142 <if expr="'am' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_am.html" type="BINDATA" /></if>
143 <if expr="'ar' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_ar.html" type="BINDATA" /></if>
144 <if expr="'bg' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_bg.html" type="BINDATA" /></if>
145 <if expr="'bn' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_bn.html" type="BINDATA" /></if>
146 <if expr="'ca' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_ca.html" type="BINDATA" /></if>
147 <if expr="'cs' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_cs.html" type="BINDATA" /></if>
148 <if expr="'da' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_da.html" type="BINDATA" /></if>
149 <if expr="'de' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_de.html" type="BINDATA" /></if>
150 <if expr="'el' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_el.html" type="BINDATA" /></if>
151 <if expr="'en-GB' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_en-GB.html" type="BINDATA" /></if>
152 <if expr="'en' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_en.html" type="BINDATA" /></if>
153 <if expr="'es' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_es.html" type="BINDATA" /></if>
154 <if expr="'es-419' == lang"><include name="IDS_TERMS_HTML" file="terms\t erms_es-419.html" type="BINDATA" /></if>
155 <if expr="'et' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_et.html" type="BINDATA" /></if>
156 <if expr="'fa' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_fa.html" type="BINDATA" /></if>
157 <if expr="'fi' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_fi.html" type="BINDATA" /></if>
158 <if expr="'fil' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_fil.html" type="BINDATA" /></if>
159 <if expr="'fr' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_fr.html" type="BINDATA" /></if>
160 <if expr="'gu' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_gu.html" type="BINDATA" /></if>
161 <if expr="'he' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_he.html" type="BINDATA" /></if>
162 <if expr="'hi' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_hi.html" type="BINDATA" /></if>
163 <if expr="'hr' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_hr.html" type="BINDATA" /></if>
164 <if expr="'hu' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_hu.html" type="BINDATA" /></if>
165 <if expr="'id' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_id.html" type="BINDATA" /></if>
166 <if expr="'it' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_it.html" type="BINDATA" /></if>
167 <if expr="'ja' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_ja.html" type="BINDATA" /></if>
168 <if expr="'kn' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_kn.html" type="BINDATA" /></if>
169 <if expr="'ko' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_ko.html" type="BINDATA" /></if>
170 <if expr="'lt' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_lt.html" type="BINDATA" /></if>
171 <if expr="'lv' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_lv.html" type="BINDATA" /></if>
172 <if expr="'ml' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_ml.html" type="BINDATA" /></if>
173 <if expr="'mr' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_mr.html" type="BINDATA" /></if>
174 <if expr="'nl' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_nl.html" type="BINDATA" /></if>
175 <if expr="'no' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_nb.html" type="BINDATA" /></if>
176 <if expr="'pl' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_pl.html" type="BINDATA" /></if>
177 <if expr="'pt-BR' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_pt-BR.html" type="BINDATA" /></if>
178 <if expr="'pt-PT' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_pt-PT.html" type="BINDATA" /></if>
179 <if expr="'ro' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_ro.html" type="BINDATA" /></if>
180 <if expr="'ru' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_ru.html" type="BINDATA" /></if>
181 <if expr="'sk' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_sk.html" type="BINDATA" /></if>
182 <if expr="'sl' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_sl.html" type="BINDATA" /></if>
183 <if expr="'sr' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_sr.html" type="BINDATA" /></if>
184 <if expr="'sv' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_sv.html" type="BINDATA" /></if>
185 <if expr="'sw' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_sw.html" type="BINDATA" /></if>
186 <if expr="'ta' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_ta.html" type="BINDATA" /></if>
187 <if expr="'te' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_te.html" type="BINDATA" /></if>
188 <if expr="'th' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_th.html" type="BINDATA" /></if>
189 <if expr="'tr' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_tr.html" type="BINDATA" /></if>
190 <if expr="'uk' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_uk.html" type="BINDATA" /></if>
191 <if expr="'vi' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_vi.html" type="BINDATA" /></if>
192 <if expr="'zh-CN' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_zh-CN.html" type="BINDATA" /></if>
193 <if expr="'zh-TW' == lang"> <include name="IDS_TERMS_HTML" file="terms\t erms_zh-TW.html" type="BINDATA" /></if>
194 </if>
195
196 <if expr="not chromeos and not is_android and not _google_chrome">
197 <include name="IDS_TERMS_HTML" file="terms\terms_chromium.html" type="BI NDATA" />
198 </if>
199 </includes>
200 <messages fallback_to_english="true"> 132 <messages fallback_to_english="true">
201 133
202 <!-- The default value for HTTP Accept-Language header. -->
203 <message name="IDS_ACCEPT_LANGUAGES" use_name_for_id="true">
204 en-US,en
205 </message>
206
207 <!-- The default value for |WebPreference::default_encoding|. -->
208 <message name="IDS_DEFAULT_ENCODING" use_name_for_id="true">
209 windows-1252
210 </message>
211
212 <!-- The default value for |WebPreference::uses_universal_detector|. --> 134 <!-- The default value for |WebPreference::uses_universal_detector|. -->
213 <message name="IDS_USES_UNIVERSAL_DETECTOR" use_name_for_id="true"> 135 <message name="IDS_USES_UNIVERSAL_DETECTOR" use_name_for_id="true">
214 false 136 false
215 </message> 137 </message>
216 138
217 <!-- The file name of the spellchecking dictionary without the extension ( case-sensitive). --> 139 <!-- The file name of the spellchecking dictionary without the extension ( case-sensitive). -->
218 <message name="IDS_SPELLCHECK_DICTIONARY" use_name_for_id="true"> 140 <message name="IDS_SPELLCHECK_DICTIONARY" use_name_for_id="true">
219 en-US 141 en-US
220 </message> 142 </message>
221 143
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 500 310 500
389 </message> 311 </message>
390 312
391 <message name="IDS_FACTORY_RESET_HELP_URL" translateable="false"> 313 <message name="IDS_FACTORY_RESET_HELP_URL" translateable="false">
392 https://support.google.com/chromebook/answer/183084?hl=[GRITLANGCODE] 314 https://support.google.com/chromebook/answer/183084?hl=[GRITLANGCODE]
393 </message> 315 </message>
394 </if> 316 </if>
395 </messages> 317 </messages>
396 </release> 318 </release>
397 </grit> 319 </grit>
OLDNEW
« no previous file with comments | « no previous file | chrome/app/resources/locale_settings_am.xtb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698