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

Unified Diff: ui/base/strings/ui_strings.grd

Issue 150573011: Use "second" instead of "sec" in TimeRemainingLong() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/l10n/time_format_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/strings/ui_strings.grd
diff --git a/ui/base/strings/ui_strings.grd b/ui/base/strings/ui_strings.grd
index 31413635cee4b70930145d680b0dd3dd051f79b8..b5898b393b4a5a42dd081c24c3a9a071a8476b97 100644
--- a/ui/base/strings/ui_strings.grd
+++ b/ui/base/strings/ui_strings.grd
@@ -567,6 +567,77 @@ need to be translated for each locale.-->
</if>
+ <message name="IDS_TIME_REMAINING_LONG_SECS_DEFAULT"
+ desc="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_DEFAULT is 11 .. 19.">
+ <ph name="NUMBER_DEFAULT"><ex>37</ex>#</ph> seconds left
+ </message>
+
+ <if expr="lang not in ['zh-CN', 'zh-TW', 'ko', 'ja', 'vi', 'tr', 'kn']">
+ <message name="IDS_TIME_REMAINING_LONG_SEC_SINGULAR"
+ desc="NUMBER_ONE 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">
bartfab (slow) 2014/02/05 17:48:19 Nit 1: s/one-like numbers/a one-like number/ Nit
+ <ph name="NUMBER_ONE"><ex>1</ex>#</ph> second left
+ </message>
+ </if>
+ <if expr="lang in ['zh-CN', 'zh-TW', 'ko', 'ja', 'vi', 'tr', 'kn']">
+ <message translateable="false" name="IDS_TIME_REMAINING_SEC_SINGULAR"
+ desc="">
+ NA
+ </message>
+ </if>
+
+ <if expr="lang in ['ar', 'ro', 'lv']">
+ <message name="IDS_TIME_REMAINING_LONG_SECS_ZERO"
+ desc="NUMBER_ZERO is 0 (Arabic, Latvian) or 0, 2..19, 101..119, ... (Romanian). For other languages, do NOT translate.">
+ <ph name="NUMBER_ZERO"><ex>0</ex>#</ph> seconds left
+ </message>
+ </if>
+ <if expr="lang not in ['ar', 'ro', 'lv']">
+ <message translateable="false" name="IDS_TIME_REMAINING_LONG_SECS_ZERO"
+ desc="">
+ NA
+ </message>
+ </if>
+
+ <if expr="lang in ['ga', 'sl', 'ar']">
+ <message name="IDS_TIME_REMAINING_LONG_SECS_TWO"
+ desc="NUMBER_TWO is two or two-like/dual numbers : 2 (Arabic and Irish) or 2, 102, 202 ... (Slovenian). For other languages, do NOT translated.">
bartfab (slow) 2014/02/05 17:48:19 Nit 1: s/or 2/or 2/ Nit 2: s/translated/translate
+ <ph name="NUMBER_TWO"><ex>2</ex>#</ph> seconds left
+ </message>
+ </if>
+ <if expr="lang not in ['ga', 'sl', 'ar']">
+ <message translateable="false" name="IDS_TIME_REMAINING_LONG_SECS_TWO"
+ desc="">
+ NA
+ </message>
+ </if>
+
+ <if expr="lang in ['ru', 'lt', 'hr', 'uk', 'cs', 'sk', 'pl', 'sl', 'ar']">
+ <message name="IDS_TIME_REMAINING_LONG_SECS_FEW"
+ desc="NUMBER_FEW is few or few-like numbers in Arabic, Russian, Polish, Croatian, Serbian, Ukrainian, Czech, Slovak, Slovenian, Latvian. For other languages, do NOT translate.">
+ <ph name="NUMBER_FEW"><ex>3</ex>#</ph> seconds left
+ </message>
+ </if>
+ <if expr="lang not in ['ru', 'lt', 'hr', 'uk', 'cs', 'sk', 'pl', 'sl', 'ar']">
+ <message translateable="false" name="IDS_TIME_REMAINING_LONG_SECS_FEW"
+ desc="">
+ NA
+ </message>
+ </if>
+
+ <if expr="lang == 'ar'">
+ <message name="IDS_TIME_REMAINING_LONG_SECS_MANY"
+ desc="NUMBER_MANY is 11 through 99 in Arabic. For all other languages, do NOT translate.">
+ <ph name="NUMBER_MANY"><ex>23</ex>#</ph> seconds left
+ </message>
+ </if>
+ <if expr="lang != 'ar'">
+ <message translateable="false" name="IDS_TIME_REMAINING_LONG_SECS_MANY"
+ desc="">
+ NA
+ </message>
+ </if>
+
+
<message name="IDS_TIME_REMAINING_MINS_DEFAULT"
desc="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_DEFAULT is 11 .. 19.">
<ph name="NUMBER_DEFAULT"><ex>37</ex>#</ph> mins left
« no previous file with comments | « ui/base/l10n/time_format_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698