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

Side by Side Diff: extensions/extensions_strings.grd

Issue 294903007: Changed host and NPAPI extension permission strings (access -> read and modify), updated unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Syntax error fix, specific test now passes Created 6 years, 7 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 | « extensions/common/permissions/permissions_data_unittest.cc ('k') | no next file » | 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 2
3 <!-- 3 <!--
4 Strings for the extensions module. Used mostly for low-level error messages. 4 Strings for the extensions module. Used mostly for low-level error messages.
5 Where possible new strings should be kept in Chrome and the extensions module 5 Where possible new strings should be kept in Chrome and the extensions module
6 should return an error code, message flag, etc. 6 should return an error code, message flag, etc.
7 --> 7 -->
8 8
9 <grit latest_public_release="0" current_release="1" 9 <grit latest_public_release="0" current_release="1"
10 source_lang_id="en" enc_check="möl"> 10 source_lang_id="en" enc_check="möl">
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 </message> 192 </message>
193 <message name="IDS_EXTENSION_MANIFEST_UNREADABLE" desc=""> 193 <message name="IDS_EXTENSION_MANIFEST_UNREADABLE" desc="">
194 Manifest file is missing or unreadable. 194 Manifest file is missing or unreadable.
195 </message> 195 </message>
196 <message name="IDS_EXTENSION_MANIFEST_INVALID" desc=""> 196 <message name="IDS_EXTENSION_MANIFEST_INVALID" desc="">
197 Manifest file is invalid. 197 Manifest file is invalid.
198 </message> 198 </message>
199 199
200 <!-- Host access permissions. Please keep alphabetized. --> 200 <!-- Host access permissions. Please keep alphabetized. -->
201 <message name="IDS_EXTENSION_PROMPT_WARNING_1_HOST" desc="Permission strin g for access to data on one website."> 201 <message name="IDS_EXTENSION_PROMPT_WARNING_1_HOST" desc="Permission strin g for access to data on one website.">
202 Access your data on <ph name="WEBSITE_1">$1<ex>www.google.com</ex></ph> 202 Read and modify your data on <ph name="WEBSITE_1">$1<ex>www.google.com</ ex></ph>
203 </message> 203 </message>
204 <message name="IDS_EXTENSION_PROMPT_WARNING_2_HOSTS" desc="Permission stri ng for access to data on two websites."> 204 <message name="IDS_EXTENSION_PROMPT_WARNING_2_HOSTS" desc="Permission stri ng for access to data on two websites.">
205 Access your data on <ph name="WEBSITE_1">$1<ex>www.google.com</ex></ph> and <ph name="WEBSITE_2">$2<ex>www.reddit.com</ex></ph> 205 Read and modify your data on <ph name="WEBSITE_1">$1<ex>www.google.com</ ex></ph> and <ph name="WEBSITE_2">$2<ex>www.reddit.com</ex></ph>
206 </message> 206 </message>
207 <message name="IDS_EXTENSION_PROMPT_WARNING_3_HOSTS" desc="Permission stri ng for access to data on three websites."> 207 <message name="IDS_EXTENSION_PROMPT_WARNING_3_HOSTS" desc="Permission stri ng for access to data on three websites.">
208 Access your data on <ph name="WEBSITE_1">$1<ex>www.google.com</ex></ph>, <ph name="WEBSITE_2">$2<ex>www.reddit.com</ex></ph>, and <ph name="WEBSITE_3">$ 3<ex>news.ycombinator.com</ex></ph> 208 Read and modify your data on <ph name="WEBSITE_1">$1<ex>www.google.com</ ex></ph>, <ph name="WEBSITE_2">$2<ex>www.reddit.com</ex></ph>, and <ph name="WEB SITE_3">$3<ex>news.ycombinator.com</ex></ph>
209 </message> 209 </message>
210 <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_DEFAULT" desc="Permissio n string for access to data on four or more websites. This is necessary for ever y language. This is the default for all the numbers NOT covered by special cases (singular, dual/two, few, many) some languages need. For CJK, Vietnamese, Turki sh and Kannada, this is the only string necessary. For languages with singular-p lural distinction, this is the generic plural. For Lithuanian, NUMBER_OF_WEBSITE S is 11 .. 19."> 210 <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_DEFAULT" desc="Permissio n string for access to data on four or more websites. This is necessary for ever y language. This is the default for all the numbers NOT covered by special cases (singular, dual/two, few, many) some languages need. For CJK, Vietnamese, Turki sh and Kannada, this is the only string necessary. For languages with singular-p lural distinction, this is the generic plural. For Lithuanian, NUMBER_OF_WEBSITE S is 11 .. 19.">
211 Access your data on <ph name="NUMBER_OF_WEBSITES">#<ex>5</ex></ph> websi tes 211 Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>5</ex></ ph> websites
212 </message> 212 </message>
213 213
214 <if expr="lang not in ['zh-CN', 'zh-TW', 'ko', 'ja', 'vi', 'tr', 'kn']"> 214 <if expr="lang not in ['zh-CN', 'zh-TW', 'ko', 'ja', 'vi', 'tr', 'kn']">
215 <message name="IDS_EXTENSION_PROMPT_WARNING_HOST_SINGULAR" desc="Permissio n string for access to data on four or more websites. NUMBER_OF_WEBSITES is one or one-like numbers : 1 (many European and most Indian languages), 1 and 0 (Fren ch, Brazilian Portuguese and Hindi), 1,21,31, .. (Russian, Ukrainian, Croatian, Serbian, Latvian, Lithuanian), or 1, 101, 201, .. (Slovenian). Do NOT translate this for CJK, Vietnamese, Turkish and Kannada"> 215 <message name="IDS_EXTENSION_PROMPT_WARNING_HOST_SINGULAR" desc="Permissio n string for access to data on four or more websites. NUMBER_OF_WEBSITES is one or one-like numbers : 1 (many European and most Indian languages), 1 and 0 (Fren ch, Brazilian Portuguese and Hindi), 1,21,31, .. (Russian, Ukrainian, Croatian, Serbian, Latvian, Lithuanian), or 1, 101, 201, .. (Slovenian). Do NOT translate this for CJK, Vietnamese, Turkish and Kannada">
216 Access your data on <ph name="NUMBER_OF_WEBSITES">#<ex>1</ex></ph> websi tes 216 Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>1</ex></ ph> websites
217 </message> 217 </message>
218 </if> 218 </if>
219 <if expr="lang in ['zh-CN', 'zh-TW', 'ko', 'ja', 'vi', 'tr', 'kn']"> 219 <if expr="lang in ['zh-CN', 'zh-TW', 'ko', 'ja', 'vi', 'tr', 'kn']">
220 <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOST_SIN GULAR" desc=""> 220 <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOST_SIN GULAR" desc="">
221 NA 221 NA
222 </message> 222 </message>
223 </if> 223 </if>
224 224
225 <if expr="lang in ['ar', 'ro', 'lv']"> 225 <if expr="lang in ['ar', 'ro', 'lv']">
226 <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_ZERO" desc="Permission s tring for access to data on four or more websites. NUMBER_OF_WEBSITES is 0 (Arab ic, Latvian) or 0, 2..19, 101..119, ... (Romanian). For other languages, do NOT translate."> 226 <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_ZERO" desc="Permission s tring for access to data on four or more websites. NUMBER_OF_WEBSITES is 0 (Arab ic, Latvian) or 0, 2..19, 101..119, ... (Romanian). For other languages, do NOT translate.">
227 Access your data on <ph name="NUMBER_OF_WEBSITES">#<ex>0</ex></ph> websi tes 227 Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>0</ex></ ph> websites
228 </message> 228 </message>
229 </if> 229 </if>
230 <if expr="lang not in ['ar', 'ro', 'lv']"> 230 <if expr="lang not in ['ar', 'ro', 'lv']">
231 <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_ZE RO" desc=""> 231 <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_ZE RO" desc="">
232 NA 232 NA
233 </message> 233 </message>
234 </if> 234 </if>
235 235
236 <if expr="lang in ['ga', 'sl', 'ar']"> 236 <if expr="lang in ['ga', 'sl', 'ar']">
237 <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_TWO" desc="Permission st ring for access to data on four or more websites. NUMBER_OF_WEBSITES is two or t wo-like/dual numbers : 2 (Arabic and Irish) or 2, 102, 202 ... (Slovenian). Fo r other languages, do NOT translated."> 237 <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_TWO" desc="Permission st ring for access to data on four or more websites. NUMBER_OF_WEBSITES is two or t wo-like/dual numbers : 2 (Arabic and Irish) or 2, 102, 202 ... (Slovenian). Fo r other languages, do NOT translated.">
238 Access your data on <ph name="NUMBER_OF_WEBSITES">#<ex>2</ex></ph> websi tes 238 Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>2</ex></ ph> websites
239 </message> 239 </message>
240 </if> 240 </if>
241 <if expr="lang not in ['ga', 'sl', 'ar']"> 241 <if expr="lang not in ['ga', 'sl', 'ar']">
242 <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_TW O" desc=""> 242 <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_TW O" desc="">
243 NA 243 NA
244 </message> 244 </message>
245 </if> 245 </if>
246 246
247 <if expr="lang in ['ru', 'lt', 'hr', 'uk', 'cs', 'sk', 'pl', 'sl', 'ar']" > 247 <if expr="lang in ['ru', 'lt', 'hr', 'uk', 'cs', 'sk', 'pl', 'sl', 'ar']" >
248 <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_FEW" desc="Permission st ring for access to data on four or more websites. NUMBER_OF_WEBSITES is few or f ew-like numbers in Arabic, Russian, Polish, Croatian, Serbian, Ukrainian, Czech, Slovak, Slovenian, Latvian. For other languages, do NOT translate."> 248 <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_FEW" desc="Permission st ring for access to data on four or more websites. NUMBER_OF_WEBSITES is few or f ew-like numbers in Arabic, Russian, Polish, Croatian, Serbian, Ukrainian, Czech, Slovak, Slovenian, Latvian. For other languages, do NOT translate.">
249 Access your data on <ph name="NUMBER_OF_WEBSITES">#<ex>3</ex></ph> websi tes 249 Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>3</ex></ ph> websites
250 </message> 250 </message>
251 </if> 251 </if>
252 <if expr="lang not in ['ru', 'lt', 'hr', 'uk', 'cs', 'sk', 'pl', 'sl', 'ar ']"> 252 <if expr="lang not in ['ru', 'lt', 'hr', 'uk', 'cs', 'sk', 'pl', 'sl', 'ar ']">
253 <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_FE W" desc=""> 253 <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_FE W" desc="">
254 NA 254 NA
255 </message> 255 </message>
256 </if> 256 </if>
257 257
258 <if expr="lang == 'ar'"> 258 <if expr="lang == 'ar'">
259 <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_MANY" meaning="many" des c="Permission string for access to data on four or more websites. NUMBER_OF_WEBS ITES is 11 through 99 in Arabic. For all other languages, do NOT translate."> 259 <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_MANY" meaning="many" des c="Permission string for access to data on four or more websites. NUMBER_OF_WEBS ITES is 11 through 99 in Arabic. For all other languages, do NOT translate.">
260 Access your data on <ph name="NUMBER_OF_WEBSITES">#<ex>23</ex></ph> webs ites 260 Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>23</ex>< /ph> websites
261 </message> 261 </message>
262 </if> 262 </if>
263 <if expr="lang != 'ar'"> 263 <if expr="lang != 'ar'">
264 <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_MA NY" desc=""> 264 <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_MA NY" desc="">
265 NA 265 NA
266 </message> 266 </message>
267 </if> 267 </if>
268 <message name="IDS_EXTENSION_PROMPT_WARNING_HOST_LIST_ENTRY" desc="Single entry in a list of websites."> 268 <message name="IDS_EXTENSION_PROMPT_WARNING_HOST_LIST_ENTRY" desc="Single entry in a list of websites.">
269 - <ph name="WEBSITE_1">$1<ex>www.google.com</ex></ph> 269 - <ph name="WEBSITE_1">$1<ex>www.google.com</ex></ph>
270 </message> 270 </message>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 <message name="IDS_EXTENSION_PROMPT_WARNING_USB_DEVICE_MISSING_PRODUCT" de sc="Permission string for access to a specific USB device when a product name ca nnot be established for a USB device."> 323 <message name="IDS_EXTENSION_PROMPT_WARNING_USB_DEVICE_MISSING_PRODUCT" de sc="Permission string for access to a specific USB device when a product name ca nnot be established for a USB device.">
324 Access the USB device from <ph name="VENDOR_NAME">$1<ex>Griffin Technolo gy</ex></ph> 324 Access the USB device from <ph name="VENDOR_NAME">$1<ex>Griffin Technolo gy</ex></ph>
325 </message> 325 </message>
326 <message name="IDS_EXTENSION_PROMPT_WARNING_USB_DEVICE_MISSING_VENDOR" des c="Permission string for access to a specific USB device when a vendor name cann ot be established for a USB device."> 326 <message name="IDS_EXTENSION_PROMPT_WARNING_USB_DEVICE_MISSING_VENDOR" des c="Permission string for access to a specific USB device when a vendor name cann ot be established for a USB device.">
327 Access the USB device 327 Access the USB device
328 </message> 328 </message>
329 329
330 </messages> 330 </messages>
331 </release> 331 </release>
332 </grit> 332 </grit>
OLDNEW
« no previous file with comments | « extensions/common/permissions/permissions_data_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698