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

Unified Diff: extensions/extensions_strings.grd

Issue 410023002: Show read-only messages for non-interact non-desktop Automation extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 5 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
Index: extensions/extensions_strings.grd
diff --git a/extensions/extensions_strings.grd b/extensions/extensions_strings.grd
index 63840fc2603066c9b65aebf525e5b8b9b01512c1..aea204d79402ec8e96c9f75bb49ad3790363e46b 100644
--- a/extensions/extensions_strings.grd
+++ b/extensions/extensions_strings.grd
@@ -196,25 +196,40 @@
<message name="IDS_EXTENSION_MANIFEST_INVALID" desc="">
Manifest file is invalid.
</message>
-
+
<!-- Host access permissions. Please keep alphabetized. -->
<message name="IDS_EXTENSION_PROMPT_WARNING_1_HOST" desc="Permission string for access to data on one website.">
Read and modify your data on <ph name="WEBSITE_1">$1<ex>www.google.com</ex></ph>
</message>
+ <message name="IDS_EXTENSION_PROMPT_WARNING_1_HOST_READ_ONLY" desc="Permission string for read-only access to data on one website.">
+ Read your data on <ph name="WEBSITE_1">$1<ex>www.google.com</ex></ph>
+ </message>
<message name="IDS_EXTENSION_PROMPT_WARNING_2_HOSTS" desc="Permission string for access to data on two websites.">
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>
</message>
+ <message name="IDS_EXTENSION_PROMPT_WARNING_2_HOSTS_READ_ONLY" desc="Permission string for read-only access to data on two websites.">
+ Read 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>
+ </message>
<message name="IDS_EXTENSION_PROMPT_WARNING_3_HOSTS" desc="Permission string for access to data on three websites.">
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="WEBSITE_3">$3<ex>news.ycombinator.com</ex></ph>
</message>
+ <message name="IDS_EXTENSION_PROMPT_WARNING_3_HOSTS_READ_ONLY" desc="Permission string for access to data on three websites.">
+ Read 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>
+ </message>
<message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_DEFAULT" desc="Permission string for access to data on four or more websites. This is necessary for every 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, Turkish and Kannada, this is the only string necessary. For languages with singular-plural distinction, this is the generic plural. For Lithuanian, NUMBER_OF_WEBSITES is 11 .. 19.">
Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>5</ex></ph> websites
</message>
+ <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_DEFAULT_READ_ONLY" desc="Permission string for read-only access to data on four or more websites. This is necessary for every 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, Turkish and Kannada, this is the only string necessary. For languages with singular-plural distinction, this is the generic plural. For Lithuanian, NUMBER_OF_WEBSITES is 11 .. 19.">
+ Read your data on <ph name="NUMBER_OF_WEBSITES">#<ex>5</ex></ph> websites
+ </message>
<if expr="lang not in ['zh-CN', 'zh-TW', 'ko', 'ja', 'vi', 'tr', 'kn']">
<message name="IDS_EXTENSION_PROMPT_WARNING_HOST_SINGULAR" desc="Permission 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 (French, 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">
Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>1</ex></ph> websites
</message>
+ <message name="IDS_EXTENSION_PROMPT_WARNING_HOST_SINGULAR_READ_ONLY" desc="Permission string for read-only 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 (French, 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">
+ Read your data on <ph name="NUMBER_OF_WEBSITES">#<ex>1</ex></ph> websites
+ </message>
</if>
<if expr="lang in ['zh-CN', 'zh-TW', 'ko', 'ja', 'vi', 'tr', 'kn']">
<message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOST_SINGULAR" desc="">
@@ -226,44 +241,68 @@
<message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_ZERO" desc="Permission string for access to data on four or more websites. NUMBER_OF_WEBSITES is 0 (Arabic, Latvian) or 0, 2..19, 101..119, ... (Romanian). For other languages, do NOT translate.">
Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>0</ex></ph> websites
</message>
+ <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_ZERO_READ_ONLY" desc="Permission string for read-only access to data on four or more websites. NUMBER_OF_WEBSITES is 0 (Arabic, Latvian) or 0, 2..19, 101..119, ... (Romanian). For other languages, do NOT translate.">
+ Read your data on <ph name="NUMBER_OF_WEBSITES">#<ex>0</ex></ph> websites
+ </message>
</if>
<if expr="lang not in ['ar', 'ro', 'lv']">
<message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_ZERO" desc="">
NA
</message>
+ <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_ZERO_READ_ONLY" desc="">
+ NA
+ </message>
</if>
<if expr="lang in ['ga', 'sl', 'ar']">
<message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_TWO" desc="Permission string for access to data on four or more websites. NUMBER_OF_WEBSITES is two or two-like/dual numbers : 2 (Arabic and Irish) or 2, 102, 202 ... (Slovenian). For other languages, do NOT translated.">
Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>2</ex></ph> websites
</message>
+ <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_TWO_READ_ONLY" desc="Permission string for read-only access to data on four or more websites. NUMBER_OF_WEBSITES is two or two-like/dual numbers : 2 (Arabic and Irish) or 2, 102, 202 ... (Slovenian). For other languages, do NOT translated.">
+ Read your data on <ph name="NUMBER_OF_WEBSITES">#<ex>2</ex></ph> websites
+ </message>
</if>
<if expr="lang not in ['ga', 'sl', 'ar']">
<message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_TWO" desc="">
NA
</message>
+ <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_TWO_READ_ONLY" desc="">
+ NA
+ </message>
</if>
<if expr="lang in ['ru', 'lt', 'hr', 'uk', 'cs', 'sk', 'pl', 'sl', 'ar']">
<message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_FEW" desc="Permission string for access to data on four or more websites. NUMBER_OF_WEBSITES is few or few-like numbers in Arabic, Russian, Polish, Croatian, Serbian, Ukrainian, Czech, Slovak, Slovenian, Latvian. For other languages, do NOT translate.">
Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>3</ex></ph> websites
</message>
+ <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_FEW_READ_ONLY" desc="Permission string for read-only access to data on four or more websites. NUMBER_OF_WEBSITES is few or few-like numbers in Arabic, Russian, Polish, Croatian, Serbian, Ukrainian, Czech, Slovak, Slovenian, Latvian. For other languages, do NOT translate.">
+ Read your data on <ph name="NUMBER_OF_WEBSITES">#<ex>3</ex></ph> websites
+ </message>
</if>
<if expr="lang not in ['ru', 'lt', 'hr', 'uk', 'cs', 'sk', 'pl', 'sl', 'ar']">
<message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_FEW" desc="">
NA
</message>
+ <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_FEW_READ_ONLY" desc="">
+ NA
+ </message>
</if>
<if expr="lang == 'ar'">
<message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_MANY" meaning="many" desc="Permission string for access to data on four or more websites. NUMBER_OF_WEBSITES is 11 through 99 in Arabic. For all other languages, do NOT translate.">
Read and modify your data on <ph name="NUMBER_OF_WEBSITES">#<ex>23</ex></ph> websites
</message>
+ <message name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_MANY_READ_ONLY" meaning="many" desc="Permission string for read-only access to data on four or more websites. NUMBER_OF_WEBSITES is 11 through 99 in Arabic. For all other languages, do NOT translate.">
+ Read your data on <ph name="NUMBER_OF_WEBSITES">#<ex>23</ex></ph> websites
+ </message>
</if>
<if expr="lang != 'ar'">
<message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_MANY" desc="">
NA
</message>
+ <message translateable="false" name="IDS_EXTENSION_PROMPT_WARNING_HOSTS_MANY_READ_ONLY" desc="">
+ NA
+ </message>
</if>
<message name="IDS_EXTENSION_PROMPT_WARNING_HOST_LIST_ENTRY" desc="Single entry in a list of websites.">
- <ph name="WEBSITE_1">$1<ex>www.google.com</ex></ph>
@@ -312,7 +351,7 @@
<message name="IDS_EXTENSION_PROMPT_WARNING_SOCKET_SPECIFIC_HOSTS" desc="Permission string for access to multiple specific computers on the local network or internet.">
Exchange data with the computers named: <ph name="HOSTNAMES">$1<ex>foo.example.com bar.example.com</ex></ph>
</message>
-
+
<!-- USB API strings. Please keep alphabetized. -->
<message name="IDS_EXTENSION_PROMPT_WARNING_USB" desc="Permission string for access to USB devices.">
Access your USB devices

Powered by Google App Engine
This is Rietveld 408576698