From 84c863d9af1270a2ccd2ccd2b8c1a753826dfe6d Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Wed, 10 Jun 2009 12:10:22 -0700 Subject: [PATCH] Fix some 12- vs 24-hour problems in the FormatDateRange strings. Use a resource instead of a hardcoded string for the 24-hour format since it is not exactly the same in every locale. Make sure the 12-hour format is actually for a 12-hour clock, even in locales where this is not a normal thing to do. In the cap_ampm version, do not have it try to capitalize "am" and "pm" if these are non-ASCII strings, since strftime() doesn't know about Unicode and will mess it up. Add a comment so that people don't think the YEAR_IN_MILLIS constant is actually the length of any real year. --- core/java/android/text/format/DateUtils.java | 24 ++++++++++++++----- .../res/values-ar-rEG/donottranslate-cldr.xml | 3 ++- .../res/values-bg-rBG/donottranslate-cldr.xml | 5 ++-- .../res/values-ca-rES/donottranslate-cldr.xml | 5 ++-- .../res/values-cs-rCZ/donottranslate-cldr.xml | 5 ++-- .../res/res/values-cs/donottranslate-cldr.xml | 5 ++-- .../res/values-da-rDK/donottranslate-cldr.xml | 5 ++-- .../res/values-de-rAT/donottranslate-cldr.xml | 5 ++-- .../res/values-de-rCH/donottranslate-cldr.xml | 5 ++-- .../res/values-de-rDE/donottranslate-cldr.xml | 5 ++-- .../res/values-de-rLI/donottranslate-cldr.xml | 5 ++-- .../res/res/values-de/donottranslate-cldr.xml | 5 ++-- .../res/values-el-rGR/donottranslate-cldr.xml | 3 ++- .../res/values-en-rAU/donottranslate-cldr.xml | 1 + .../res/values-en-rCA/donottranslate-cldr.xml | 1 + .../res/values-en-rGB/donottranslate-cldr.xml | 5 ++-- .../res/values-en-rIE/donottranslate-cldr.xml | 5 ++-- .../res/values-en-rIN/donottranslate-cldr.xml | 1 + .../res/values-en-rNZ/donottranslate-cldr.xml | 1 + .../res/values-en-rSG/donottranslate-cldr.xml | 1 + .../res/values-en-rUS/donottranslate-cldr.xml | 1 + .../res/values-en-rZA/donottranslate-cldr.xml | 1 + .../res/values-es-rES/donottranslate-cldr.xml | 5 ++-- .../res/values-es-rUS/donottranslate-cldr.xml | 1 + .../res/res/values-es/donottranslate-cldr.xml | 5 ++-- .../res/values-fi-rFI/donottranslate-cldr.xml | 5 ++-- .../res/values-fr-rBE/donottranslate-cldr.xml | 5 ++-- .../res/values-fr-rCA/donottranslate-cldr.xml | 5 ++-- .../res/values-fr-rCH/donottranslate-cldr.xml | 5 ++-- .../res/values-fr-rFR/donottranslate-cldr.xml | 5 ++-- .../res/res/values-fr/donottranslate-cldr.xml | 5 ++-- .../res/values-he-rIL/donottranslate-cldr.xml | 5 ++-- .../res/values-hi-rIN/donottranslate-cldr.xml | 1 + .../res/values-hu-rHU/donottranslate-cldr.xml | 5 ++-- .../res/values-id-rID/donottranslate-cldr.xml | 5 ++-- .../res/values-it-rCH/donottranslate-cldr.xml | 5 ++-- .../res/values-it-rIT/donottranslate-cldr.xml | 5 ++-- .../res/res/values-it/donottranslate-cldr.xml | 5 ++-- .../res/values-ja-rJP/donottranslate-cldr.xml | 5 ++-- .../res/res/values-ja/donottranslate-cldr.xml | 5 ++-- .../res/values-ko-rKR/donottranslate-cldr.xml | 5 ++-- .../res/res/values-ko/donottranslate-cldr.xml | 5 ++-- .../res/values-lt-rLT/donottranslate-cldr.xml | 5 ++-- .../res/values-lv-rLV/donottranslate-cldr.xml | 5 ++-- .../res/res/values-nb/donottranslate-cldr.xml | 5 ++-- .../res/values-nl-rBE/donottranslate-cldr.xml | 5 ++-- .../res/values-nl-rNL/donottranslate-cldr.xml | 5 ++-- .../res/res/values-nl/donottranslate-cldr.xml | 5 ++-- .../res/values-pl-rPL/donottranslate-cldr.xml | 5 ++-- .../res/res/values-pl/donottranslate-cldr.xml | 5 ++-- .../res/values-pt-rBR/donottranslate-cldr.xml | 5 ++-- .../res/values-pt-rPT/donottranslate-cldr.xml | 5 ++-- .../res/values-ro-rRO/donottranslate-cldr.xml | 5 ++-- .../res/values-ru-rRU/donottranslate-cldr.xml | 5 ++-- .../res/res/values-ru/donottranslate-cldr.xml | 5 ++-- .../res/values-sk-rSK/donottranslate-cldr.xml | 5 ++-- .../res/values-sl-rSI/donottranslate-cldr.xml | 5 ++-- .../res/values-sr-rRS/donottranslate-cldr.xml | 5 ++-- .../res/values-sv-rSE/donottranslate-cldr.xml | 5 ++-- .../res/values-th-rTH/donottranslate-cldr.xml | 5 ++-- .../res/values-tr-rTR/donottranslate-cldr.xml | 5 ++-- .../res/values-uk-rUA/donottranslate-cldr.xml | 5 ++-- .../res/values-vi-rVN/donottranslate-cldr.xml | 5 ++-- .../res/values-zh-rCN/donottranslate-cldr.xml | 3 ++- .../res/values-zh-rTW/donottranslate-cldr.xml | 3 ++- core/res/res/values/donottranslate-cldr.xml | 1 + 66 files changed, 189 insertions(+), 112 deletions(-) diff --git a/core/java/android/text/format/DateUtils.java b/core/java/android/text/format/DateUtils.java index 9073d82ea41a4..bccb3a690ccac 100644 --- a/core/java/android/text/format/DateUtils.java +++ b/core/java/android/text/format/DateUtils.java @@ -147,6 +147,9 @@ public class DateUtils public static final long HOUR_IN_MILLIS = MINUTE_IN_MILLIS * 60; public static final long DAY_IN_MILLIS = HOUR_IN_MILLIS * 24; public static final long WEEK_IN_MILLIS = DAY_IN_MILLIS * 7; + /** + * This constant is actually the length of 364 days, not of a year! + */ public static final long YEAR_IN_MILLIS = WEEK_IN_MILLIS * 52; // The following FORMAT_* symbols are used for specifying the format of @@ -176,6 +179,9 @@ public class DateUtils // Date and time format strings that are constant and don't need to be // translated. + /** + * This is not actually the preferred 24-hour date format in all locales. + */ public static final String HOUR_MINUTE_24 = "%H:%M"; public static final String MONTH_FORMAT = "%B"; public static final String ABBREV_MONTH_FORMAT = "%b"; @@ -1106,7 +1112,9 @@ public class DateUtils * *

* If FORMAT_CAP_AMPM is set and 12-hour time is used, then the "AM" - * and "PM" are capitalized. + * and "PM" are capitalized. You should not use this flag + * because in some locales these terms cannot be capitalized, and in + * many others it doesn't make sense to do so even though it is possible. * *

* If FORMAT_NO_NOON is set and 12-hour time is used, then "12pm" is @@ -1114,15 +1122,19 @@ public class DateUtils * *

* If FORMAT_CAP_NOON is set and 12-hour time is used, then "Noon" is - * shown instead of "noon". + * shown instead of "noon". You should probably not use this flag + * because in many locales it will not make sense to capitalize + * the term. * *

* If FORMAT_NO_MIDNIGHT is set and 12-hour time is used, then "12am" is * shown instead of "midnight". * *

- * If FORMAT_CAP_NOON is set and 12-hour time is used, then "Midnight" is - * shown instead of "midnight". + * If FORMAT_CAP_MIDNIGHT is set and 12-hour time is used, then "Midnight" + * is shown instead of "midnight". You should probably not use this + * flag because in many locales it will not make sense to capitalize + * the term. * *

* If FORMAT_12HOUR is set and the time is shown, then the time is @@ -1264,8 +1276,8 @@ public class DateUtils use24Hour = DateFormat.is24HourFormat(context); } if (use24Hour) { - startTimeFormat = HOUR_MINUTE_24; - endTimeFormat = HOUR_MINUTE_24; + startTimeFormat = endTimeFormat = + res.getString(com.android.internal.R.string.hour_minute_24); } else { boolean abbrevTime = (flags & (FORMAT_ABBREV_TIME | FORMAT_ABBREV_ALL)) != 0; boolean capAMPM = (flags & FORMAT_CAP_AMPM) != 0; diff --git a/core/res/res/values-ar-rEG/donottranslate-cldr.xml b/core/res/res/values-ar-rEG/donottranslate-cldr.xml index 64f174eceed41..c88ab7fdd7507 100644 --- a/core/res/res/values-ar-rEG/donottranslate-cldr.xml +++ b/core/res/res/values-ar-rEG/donottranslate-cldr.xml @@ -91,8 +91,9 @@ اليوم غدًا + %-k:%M %-l:%M %p - %-l:%M %^p + %-l:%M %p %-e‏/%-m‏/%Y d‏/M‏/yyyy %-e %B، %Y diff --git a/core/res/res/values-bg-rBG/donottranslate-cldr.xml b/core/res/res/values-bg-rBG/donottranslate-cldr.xml index ae39696f35065..44b2cf92b9be8 100644 --- a/core/res/res/values-bg-rBG/donottranslate-cldr.xml +++ b/core/res/res/values-bg-rBG/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Днес Утре - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %p %d.%m.%Y dd.MM.yyyy %d %B %Y diff --git a/core/res/res/values-ca-rES/donottranslate-cldr.xml b/core/res/res/values-ca-rES/donottranslate-cldr.xml index 34ed19699f674..52341fe9b0537 100644 --- a/core/res/res/values-ca-rES/donottranslate-cldr.xml +++ b/core/res/res/values-ca-rES/donottranslate-cldr.xml @@ -91,8 +91,9 @@ avui demà - %-k:%M - %-k:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy %-e de %B de %Y diff --git a/core/res/res/values-cs-rCZ/donottranslate-cldr.xml b/core/res/res/values-cs-rCZ/donottranslate-cldr.xml index c735778d07735..48e0b2782ab65 100644 --- a/core/res/res/values-cs-rCZ/donottranslate-cldr.xml +++ b/core/res/res/values-cs-rCZ/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Dnes Zítra - %-k:%M - %-k:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %-e.%-m.%Y d.M.yyyy %-e. %B %Y diff --git a/core/res/res/values-cs/donottranslate-cldr.xml b/core/res/res/values-cs/donottranslate-cldr.xml index c735778d07735..48e0b2782ab65 100644 --- a/core/res/res/values-cs/donottranslate-cldr.xml +++ b/core/res/res/values-cs/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Dnes Zítra - %-k:%M - %-k:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %-e.%-m.%Y d.M.yyyy %-e. %B %Y diff --git a/core/res/res/values-da-rDK/donottranslate-cldr.xml b/core/res/res/values-da-rDK/donottranslate-cldr.xml index e0cc394f77a8b..4b4794c0b09bd 100644 --- a/core/res/res/values-da-rDK/donottranslate-cldr.xml +++ b/core/res/res/values-da-rDK/donottranslate-cldr.xml @@ -91,8 +91,9 @@ i dag i morgen - %H.%M - %H.%M + %H.%M + %-l.%M %p + %-l.%M %^p %d/%m/%Y dd/MM/yyyy %-e. %b %Y diff --git a/core/res/res/values-de-rAT/donottranslate-cldr.xml b/core/res/res/values-de-rAT/donottranslate-cldr.xml index 2399e69f00a36..24aa25c9a163f 100644 --- a/core/res/res/values-de-rAT/donottranslate-cldr.xml +++ b/core/res/res/values-de-rAT/donottranslate-cldr.xml @@ -58,8 +58,9 @@ Heute Morgen - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %d. %B %Y diff --git a/core/res/res/values-de-rCH/donottranslate-cldr.xml b/core/res/res/values-de-rCH/donottranslate-cldr.xml index 7081d028bd4f8..4a3d96cc42e84 100644 --- a/core/res/res/values-de-rCH/donottranslate-cldr.xml +++ b/core/res/res/values-de-rCH/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Heute Morgen - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %-e. %B %Y diff --git a/core/res/res/values-de-rDE/donottranslate-cldr.xml b/core/res/res/values-de-rDE/donottranslate-cldr.xml index 7081d028bd4f8..4a3d96cc42e84 100644 --- a/core/res/res/values-de-rDE/donottranslate-cldr.xml +++ b/core/res/res/values-de-rDE/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Heute Morgen - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %-e. %B %Y diff --git a/core/res/res/values-de-rLI/donottranslate-cldr.xml b/core/res/res/values-de-rLI/donottranslate-cldr.xml index 7081d028bd4f8..4a3d96cc42e84 100644 --- a/core/res/res/values-de-rLI/donottranslate-cldr.xml +++ b/core/res/res/values-de-rLI/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Heute Morgen - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %-e. %B %Y diff --git a/core/res/res/values-de/donottranslate-cldr.xml b/core/res/res/values-de/donottranslate-cldr.xml index 7081d028bd4f8..4a3d96cc42e84 100644 --- a/core/res/res/values-de/donottranslate-cldr.xml +++ b/core/res/res/values-de/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Heute Morgen - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %-e. %B %Y diff --git a/core/res/res/values-el-rGR/donottranslate-cldr.xml b/core/res/res/values-el-rGR/donottranslate-cldr.xml index d6a1010359eda..ccfa7945920e8 100644 --- a/core/res/res/values-el-rGR/donottranslate-cldr.xml +++ b/core/res/res/values-el-rGR/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Σήμερα Αύριο + %-k:%M %-l:%M %p - %-l:%M %^p + %-l:%M %p %d/%m/%Y dd/MM/yyyy %d %B %Y diff --git a/core/res/res/values-en-rAU/donottranslate-cldr.xml b/core/res/res/values-en-rAU/donottranslate-cldr.xml index 9e4b88e026a33..452d58639d669 100644 --- a/core/res/res/values-en-rAU/donottranslate-cldr.xml +++ b/core/res/res/values-en-rAU/donottranslate-cldr.xml @@ -91,6 +91,7 @@ Today Tomorrow + %H:%M %-l:%M%p %-l:%M%^p %-e/%m/%Y diff --git a/core/res/res/values-en-rCA/donottranslate-cldr.xml b/core/res/res/values-en-rCA/donottranslate-cldr.xml index 5340c29dd2fa7..ce7bbd016b6b6 100644 --- a/core/res/res/values-en-rCA/donottranslate-cldr.xml +++ b/core/res/res/values-en-rCA/donottranslate-cldr.xml @@ -91,6 +91,7 @@ Today Tomorrow + %H:%M %-l:%M%p %-l:%M%^p %Y-%m-%d diff --git a/core/res/res/values-en-rGB/donottranslate-cldr.xml b/core/res/res/values-en-rGB/donottranslate-cldr.xml index 226968a4c310c..36afbd3b80fdd 100644 --- a/core/res/res/values-en-rGB/donottranslate-cldr.xml +++ b/core/res/res/values-en-rGB/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Today Tomorrow - %H:%M - %H:%M + %H:%M + %-l:%M%p + %-l:%M%^p %d/%m/%Y dd/MM/yyyy %-e %B %Y diff --git a/core/res/res/values-en-rIE/donottranslate-cldr.xml b/core/res/res/values-en-rIE/donottranslate-cldr.xml index 2809bc0be4a41..dd8e73049ded8 100644 --- a/core/res/res/values-en-rIE/donottranslate-cldr.xml +++ b/core/res/res/values-en-rIE/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Today Tomorrow - %H:%M - %H:%M + %H:%M + %-l:%M%p + %-l:%M%^p %d/%m/%Y dd/MM/yyyy %-e %B %Y diff --git a/core/res/res/values-en-rIN/donottranslate-cldr.xml b/core/res/res/values-en-rIN/donottranslate-cldr.xml index 82fce91227c3a..df44b4af25f7d 100644 --- a/core/res/res/values-en-rIN/donottranslate-cldr.xml +++ b/core/res/res/values-en-rIN/donottranslate-cldr.xml @@ -91,6 +91,7 @@ Today Tomorrow + %H:%M %-l:%M%p %-l:%M%^p %d/%m/%Y diff --git a/core/res/res/values-en-rNZ/donottranslate-cldr.xml b/core/res/res/values-en-rNZ/donottranslate-cldr.xml index 10559816ce09a..1ed626e344be2 100644 --- a/core/res/res/values-en-rNZ/donottranslate-cldr.xml +++ b/core/res/res/values-en-rNZ/donottranslate-cldr.xml @@ -91,6 +91,7 @@ Today Tomorrow + %H:%M %-l:%M%p %-l:%M%^p %-e/%m/%Y diff --git a/core/res/res/values-en-rSG/donottranslate-cldr.xml b/core/res/res/values-en-rSG/donottranslate-cldr.xml index e3808a733371f..b13a986b5eda4 100644 --- a/core/res/res/values-en-rSG/donottranslate-cldr.xml +++ b/core/res/res/values-en-rSG/donottranslate-cldr.xml @@ -91,6 +91,7 @@ Today Tomorrow + %H:%M %-l:%M%p %-l:%M%^p %-m/%-e/%Y diff --git a/core/res/res/values-en-rUS/donottranslate-cldr.xml b/core/res/res/values-en-rUS/donottranslate-cldr.xml index e3808a733371f..b13a986b5eda4 100644 --- a/core/res/res/values-en-rUS/donottranslate-cldr.xml +++ b/core/res/res/values-en-rUS/donottranslate-cldr.xml @@ -91,6 +91,7 @@ Today Tomorrow + %H:%M %-l:%M%p %-l:%M%^p %-m/%-e/%Y diff --git a/core/res/res/values-en-rZA/donottranslate-cldr.xml b/core/res/res/values-en-rZA/donottranslate-cldr.xml index bfde8a39a8d1e..bc2083d65cf43 100644 --- a/core/res/res/values-en-rZA/donottranslate-cldr.xml +++ b/core/res/res/values-en-rZA/donottranslate-cldr.xml @@ -91,6 +91,7 @@ Today Tomorrow + %H:%M %-l:%M%p %-l:%M%^p %Y/%m/%d diff --git a/core/res/res/values-es-rES/donottranslate-cldr.xml b/core/res/res/values-es-rES/donottranslate-cldr.xml index aeb93ea902ecb..5c6f72132c6b9 100644 --- a/core/res/res/values-es-rES/donottranslate-cldr.xml +++ b/core/res/res/values-es-rES/donottranslate-cldr.xml @@ -91,8 +91,9 @@ hoy mañana - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy %-e de %B de %Y diff --git a/core/res/res/values-es-rUS/donottranslate-cldr.xml b/core/res/res/values-es-rUS/donottranslate-cldr.xml index 6bcdfd7477b4a..9ba828d3f1a2b 100644 --- a/core/res/res/values-es-rUS/donottranslate-cldr.xml +++ b/core/res/res/values-es-rUS/donottranslate-cldr.xml @@ -91,6 +91,7 @@ hoy mañana + %-k:%M %-l:%M %p %-l:%M %^p %-m/%-e/%Y diff --git a/core/res/res/values-es/donottranslate-cldr.xml b/core/res/res/values-es/donottranslate-cldr.xml index aeb93ea902ecb..5c6f72132c6b9 100644 --- a/core/res/res/values-es/donottranslate-cldr.xml +++ b/core/res/res/values-es/donottranslate-cldr.xml @@ -91,8 +91,9 @@ hoy mañana - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy %-e de %B de %Y diff --git a/core/res/res/values-fi-rFI/donottranslate-cldr.xml b/core/res/res/values-fi-rFI/donottranslate-cldr.xml index 96b5cd6af05cd..36dbd0475afde 100644 --- a/core/res/res/values-fi-rFI/donottranslate-cldr.xml +++ b/core/res/res/values-fi-rFI/donottranslate-cldr.xml @@ -91,8 +91,9 @@ tänään huomenna - %-k.%M - %-k.%M + %-k.%M + %-l.%M %p + %-l.%M %^p %-e.%-m.%Y d.M.yyyy %-e. %B %Y diff --git a/core/res/res/values-fr-rBE/donottranslate-cldr.xml b/core/res/res/values-fr-rBE/donottranslate-cldr.xml index 01f6c0cc6bab7..5a6f345c04e96 100644 --- a/core/res/res/values-fr-rBE/donottranslate-cldr.xml +++ b/core/res/res/values-fr-rBE/donottranslate-cldr.xml @@ -91,8 +91,9 @@ aujourd’hui demain - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %-e/%m/%Y d/MM/yyyy %-e %B %Y diff --git a/core/res/res/values-fr-rCA/donottranslate-cldr.xml b/core/res/res/values-fr-rCA/donottranslate-cldr.xml index 8039e273c7c33..68f659a453ffa 100644 --- a/core/res/res/values-fr-rCA/donottranslate-cldr.xml +++ b/core/res/res/values-fr-rCA/donottranslate-cldr.xml @@ -91,8 +91,9 @@ aujourd’hui demain - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %Y-%m-%d yyyy-MM-dd %-e %B %Y diff --git a/core/res/res/values-fr-rCH/donottranslate-cldr.xml b/core/res/res/values-fr-rCH/donottranslate-cldr.xml index 63c2d2bf7fe38..0ca15493f8aa6 100644 --- a/core/res/res/values-fr-rCH/donottranslate-cldr.xml +++ b/core/res/res/values-fr-rCH/donottranslate-cldr.xml @@ -91,8 +91,9 @@ aujourd’hui demain - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %-e %B %Y diff --git a/core/res/res/values-fr-rFR/donottranslate-cldr.xml b/core/res/res/values-fr-rFR/donottranslate-cldr.xml index ac168be74169c..c3fce4ce72a1c 100644 --- a/core/res/res/values-fr-rFR/donottranslate-cldr.xml +++ b/core/res/res/values-fr-rFR/donottranslate-cldr.xml @@ -91,8 +91,9 @@ aujourd’hui demain - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy %-e %B %Y diff --git a/core/res/res/values-fr/donottranslate-cldr.xml b/core/res/res/values-fr/donottranslate-cldr.xml index ac168be74169c..c3fce4ce72a1c 100644 --- a/core/res/res/values-fr/donottranslate-cldr.xml +++ b/core/res/res/values-fr/donottranslate-cldr.xml @@ -91,8 +91,9 @@ aujourd’hui demain - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy %-e %B %Y diff --git a/core/res/res/values-he-rIL/donottranslate-cldr.xml b/core/res/res/values-he-rIL/donottranslate-cldr.xml index 316db351fd271..11e820db6b80e 100644 --- a/core/res/res/values-he-rIL/donottranslate-cldr.xml +++ b/core/res/res/values-he-rIL/donottranslate-cldr.xml @@ -91,8 +91,9 @@ היום מחר - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %p %d/%m/%Y dd/MM/yyyy %-e ב%B %Y diff --git a/core/res/res/values-hi-rIN/donottranslate-cldr.xml b/core/res/res/values-hi-rIN/donottranslate-cldr.xml index 6e8b887df103f..44f29c0adce33 100644 --- a/core/res/res/values-hi-rIN/donottranslate-cldr.xml +++ b/core/res/res/values-hi-rIN/donottranslate-cldr.xml @@ -91,6 +91,7 @@ Today Tomorrow + %-k:%M %-l:%M %p %-l:%M %^p %-e-%-m-%Y diff --git a/core/res/res/values-hu-rHU/donottranslate-cldr.xml b/core/res/res/values-hu-rHU/donottranslate-cldr.xml index 18c680fa5a97b..a5493bbac2eb1 100644 --- a/core/res/res/values-hu-rHU/donottranslate-cldr.xml +++ b/core/res/res/values-hu-rHU/donottranslate-cldr.xml @@ -91,8 +91,9 @@ ma holnap - %-k:%M - %-k:%M + %H:%M + %-l:%M %p + %-l:%M %^p %Y.%m.%d. yyyy.MM.dd. %Y. %B %-e. diff --git a/core/res/res/values-id-rID/donottranslate-cldr.xml b/core/res/res/values-id-rID/donottranslate-cldr.xml index 6120a7b0543a6..a09be2549c5ce 100644 --- a/core/res/res/values-id-rID/donottranslate-cldr.xml +++ b/core/res/res/values-id-rID/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Today Tomorrow - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy %-e %B %Y diff --git a/core/res/res/values-it-rCH/donottranslate-cldr.xml b/core/res/res/values-it-rCH/donottranslate-cldr.xml index 8dc042d4da45f..48571a0e5c06c 100644 --- a/core/res/res/values-it-rCH/donottranslate-cldr.xml +++ b/core/res/res/values-it-rCH/donottranslate-cldr.xml @@ -86,8 +86,9 @@ oggi domani - %H.%M - %H.%M + %H:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %-e %B %Y diff --git a/core/res/res/values-it-rIT/donottranslate-cldr.xml b/core/res/res/values-it-rIT/donottranslate-cldr.xml index 93cda6e6b62dd..d20a63144229c 100644 --- a/core/res/res/values-it-rIT/donottranslate-cldr.xml +++ b/core/res/res/values-it-rIT/donottranslate-cldr.xml @@ -86,8 +86,9 @@ oggi domani - %H.%M - %H.%M + %H:%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy %d %B %Y diff --git a/core/res/res/values-it/donottranslate-cldr.xml b/core/res/res/values-it/donottranslate-cldr.xml index 93cda6e6b62dd..d20a63144229c 100644 --- a/core/res/res/values-it/donottranslate-cldr.xml +++ b/core/res/res/values-it/donottranslate-cldr.xml @@ -86,8 +86,9 @@ oggi domani - %H.%M - %H.%M + %H:%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy %d %B %Y diff --git a/core/res/res/values-ja-rJP/donottranslate-cldr.xml b/core/res/res/values-ja-rJP/donottranslate-cldr.xml index e2d1f2e684bbc..52c9313378756 100644 --- a/core/res/res/values-ja-rJP/donottranslate-cldr.xml +++ b/core/res/res/values-ja-rJP/donottranslate-cldr.xml @@ -91,8 +91,9 @@ 今日 明日 - %-k:%M - %-k:%M + %-k:%M + %p%-l:%M + %p%-l:%M %Y/%m/%d yyyy/MM/dd %Y年%-m月%-e日 diff --git a/core/res/res/values-ja/donottranslate-cldr.xml b/core/res/res/values-ja/donottranslate-cldr.xml index e2d1f2e684bbc..52c9313378756 100644 --- a/core/res/res/values-ja/donottranslate-cldr.xml +++ b/core/res/res/values-ja/donottranslate-cldr.xml @@ -91,8 +91,9 @@ 今日 明日 - %-k:%M - %-k:%M + %-k:%M + %p%-l:%M + %p%-l:%M %Y/%m/%d yyyy/MM/dd %Y年%-m月%-e日 diff --git a/core/res/res/values-ko-rKR/donottranslate-cldr.xml b/core/res/res/values-ko-rKR/donottranslate-cldr.xml index 61e82f83ce6ef..f641f65a88ef6 100644 --- a/core/res/res/values-ko-rKR/donottranslate-cldr.xml +++ b/core/res/res/values-ko-rKR/donottranslate-cldr.xml @@ -79,8 +79,9 @@ 오늘 내일 - %p %-l:%M - %^p %-l:%M + %-k:%M + %-l:%M %p + %-l:%M %p %Y. %-m. %-e. yyyy. M. d. %Y년 %-m월 %-e일 diff --git a/core/res/res/values-ko/donottranslate-cldr.xml b/core/res/res/values-ko/donottranslate-cldr.xml index 61e82f83ce6ef..f641f65a88ef6 100644 --- a/core/res/res/values-ko/donottranslate-cldr.xml +++ b/core/res/res/values-ko/donottranslate-cldr.xml @@ -79,8 +79,9 @@ 오늘 내일 - %p %-l:%M - %^p %-l:%M + %-k:%M + %-l:%M %p + %-l:%M %p %Y. %-m. %-e. yyyy. M. d. %Y년 %-m월 %-e일 diff --git a/core/res/res/values-lt-rLT/donottranslate-cldr.xml b/core/res/res/values-lt-rLT/donottranslate-cldr.xml index d004f7023c651..87d7aae5d18cf 100644 --- a/core/res/res/values-lt-rLT/donottranslate-cldr.xml +++ b/core/res/res/values-lt-rLT/donottranslate-cldr.xml @@ -91,8 +91,9 @@ šiandien rytoj - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %p %Y-%m-%d yyyy-MM-dd %Y m. %B %-e d. diff --git a/core/res/res/values-lv-rLV/donottranslate-cldr.xml b/core/res/res/values-lv-rLV/donottranslate-cldr.xml index d0751d08066c6..bfc2d3b087a32 100644 --- a/core/res/res/values-lv-rLV/donottranslate-cldr.xml +++ b/core/res/res/values-lv-rLV/donottranslate-cldr.xml @@ -91,8 +91,9 @@ šodien rīt - %H:%M - %H:%M + %H:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %Y. gada %-e. %B diff --git a/core/res/res/values-nb/donottranslate-cldr.xml b/core/res/res/values-nb/donottranslate-cldr.xml index 1aebf2e9b7c2e..61271ed383ab5 100644 --- a/core/res/res/values-nb/donottranslate-cldr.xml +++ b/core/res/res/values-nb/donottranslate-cldr.xml @@ -91,8 +91,9 @@ i dag i morgen - %H.%M - %H.%M + %H.%M + %-l.%M %p + %-l.%M %^p %d.%m.%Y dd.MM.yyyy %-e. %B %Y diff --git a/core/res/res/values-nl-rBE/donottranslate-cldr.xml b/core/res/res/values-nl-rBE/donottranslate-cldr.xml index 3ab87b09ab229..b29f0c0aac6d6 100644 --- a/core/res/res/values-nl-rBE/donottranslate-cldr.xml +++ b/core/res/res/values-nl-rBE/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Vandaag Morgen - %H:%M - %H:%M + %H:%M + %-l:%M %p + %-l:%M %^p %-e/%m/%Y d/MM/yyyy %-e %B %Y diff --git a/core/res/res/values-nl-rNL/donottranslate-cldr.xml b/core/res/res/values-nl-rNL/donottranslate-cldr.xml index accd0861b4cf6..a35d9e626f900 100644 --- a/core/res/res/values-nl-rNL/donottranslate-cldr.xml +++ b/core/res/res/values-nl-rNL/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Vandaag Morgen - %H:%M - %H:%M + %H:%M + %-l:%M %p + %-l:%M %^p %d-%m-%Y dd-MM-yyyy %-e %B %Y diff --git a/core/res/res/values-nl/donottranslate-cldr.xml b/core/res/res/values-nl/donottranslate-cldr.xml index accd0861b4cf6..a35d9e626f900 100644 --- a/core/res/res/values-nl/donottranslate-cldr.xml +++ b/core/res/res/values-nl/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Vandaag Morgen - %H:%M - %H:%M + %H:%M + %-l:%M %p + %-l:%M %^p %d-%m-%Y dd-MM-yyyy %-e %B %Y diff --git a/core/res/res/values-pl-rPL/donottranslate-cldr.xml b/core/res/res/values-pl-rPL/donottranslate-cldr.xml index 2d23d61dabf12..45376923365e7 100644 --- a/core/res/res/values-pl-rPL/donottranslate-cldr.xml +++ b/core/res/res/values-pl-rPL/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Dzisiaj Jutro - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d-%m-%Y dd-MM-yyyy %-e %B %Y diff --git a/core/res/res/values-pl/donottranslate-cldr.xml b/core/res/res/values-pl/donottranslate-cldr.xml index 2d23d61dabf12..45376923365e7 100644 --- a/core/res/res/values-pl/donottranslate-cldr.xml +++ b/core/res/res/values-pl/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Dzisiaj Jutro - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d-%m-%Y dd-MM-yyyy %-e %B %Y diff --git a/core/res/res/values-pt-rBR/donottranslate-cldr.xml b/core/res/res/values-pt-rBR/donottranslate-cldr.xml index 0976292ff3e17..493a3cb78a442 100644 --- a/core/res/res/values-pt-rBR/donottranslate-cldr.xml +++ b/core/res/res/values-pt-rBR/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Hoje Amanhã - %H:%M - %H:%M + %-kh%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy %-e de %B de %Y diff --git a/core/res/res/values-pt-rPT/donottranslate-cldr.xml b/core/res/res/values-pt-rPT/donottranslate-cldr.xml index bbb8c1b90dd21..e179c114c8328 100644 --- a/core/res/res/values-pt-rPT/donottranslate-cldr.xml +++ b/core/res/res/values-pt-rPT/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Hoje Amanhã - %H:%M - %H:%M + %-kh%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy %-e de %B de %Y diff --git a/core/res/res/values-ro-rRO/donottranslate-cldr.xml b/core/res/res/values-ro-rRO/donottranslate-cldr.xml index 10fc10e1beab0..1b3438fa21bab 100644 --- a/core/res/res/values-ro-rRO/donottranslate-cldr.xml +++ b/core/res/res/values-ro-rRO/donottranslate-cldr.xml @@ -91,8 +91,9 @@ azi mâine - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %-e %B %Y diff --git a/core/res/res/values-ru-rRU/donottranslate-cldr.xml b/core/res/res/values-ru-rRU/donottranslate-cldr.xml index c5b22b66d22fc..9197d12739cf6 100644 --- a/core/res/res/values-ru-rRU/donottranslate-cldr.xml +++ b/core/res/res/values-ru-rRU/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Сегодня Завтра - %-k:%M - %-k:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %-e %B %Y г. diff --git a/core/res/res/values-ru/donottranslate-cldr.xml b/core/res/res/values-ru/donottranslate-cldr.xml index c5b22b66d22fc..9197d12739cf6 100644 --- a/core/res/res/values-ru/donottranslate-cldr.xml +++ b/core/res/res/values-ru/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Сегодня Завтра - %-k:%M - %-k:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d.%m.%Y dd.MM.yyyy %-e %B %Y г. diff --git a/core/res/res/values-sk-rSK/donottranslate-cldr.xml b/core/res/res/values-sk-rSK/donottranslate-cldr.xml index 75352f7c23df9..5ebb0b2055881 100644 --- a/core/res/res/values-sk-rSK/donottranslate-cldr.xml +++ b/core/res/res/values-sk-rSK/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Dnes Zajtra - %-k:%M - %-k:%M + %H:%M + %-l:%M %p + %-l:%M %p %-e.%-m.%Y d.M.yyyy %-e. %B %Y diff --git a/core/res/res/values-sl-rSI/donottranslate-cldr.xml b/core/res/res/values-sl-rSI/donottranslate-cldr.xml index 8885a9f04722a..dc01c8cbc14b4 100644 --- a/core/res/res/values-sl-rSI/donottranslate-cldr.xml +++ b/core/res/res/values-sl-rSI/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Danes Jutri - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %-e. %m. %Y d. MM. yyyy %d. %B %Y diff --git a/core/res/res/values-sr-rRS/donottranslate-cldr.xml b/core/res/res/values-sr-rRS/donottranslate-cldr.xml index f97d6c67069e5..cf4f7cb2b23b8 100644 --- a/core/res/res/values-sr-rRS/donottranslate-cldr.xml +++ b/core/res/res/values-sr-rRS/donottranslate-cldr.xml @@ -91,8 +91,9 @@ данас сутра - %H.%M - %H.%M + %H.%M + %-l:%M %p + %-l:%M %p %-e.%-m.%Y. d.M.yyyy. %d. %B %Y. diff --git a/core/res/res/values-sv-rSE/donottranslate-cldr.xml b/core/res/res/values-sv-rSE/donottranslate-cldr.xml index eb7305f33b47f..39e1f85fdba4d 100644 --- a/core/res/res/values-sv-rSE/donottranslate-cldr.xml +++ b/core/res/res/values-sv-rSE/donottranslate-cldr.xml @@ -91,8 +91,9 @@ idag imorgon - %H:%M - %H:%M + %-k.%M + %-l:%M %p + %-l:%M %^p %Y-%m-%d yyyy-MM-dd %-e %B %Y diff --git a/core/res/res/values-th-rTH/donottranslate-cldr.xml b/core/res/res/values-th-rTH/donottranslate-cldr.xml index 0398b5612d131..fec840b33e71d 100644 --- a/core/res/res/values-th-rTH/donottranslate-cldr.xml +++ b/core/res/res/values-th-rTH/donottranslate-cldr.xml @@ -91,8 +91,9 @@ วันนี้ พรุ่งนี้ - %-k:%M - %-k:%M + %-k:%M + %-l:%M %p + %-l:%M %p %-e/%-m/%Y d/M/yyyy %-e %B %Y diff --git a/core/res/res/values-tr-rTR/donottranslate-cldr.xml b/core/res/res/values-tr-rTR/donottranslate-cldr.xml index 2de1359257168..28b2d59ca87c9 100644 --- a/core/res/res/values-tr-rTR/donottranslate-cldr.xml +++ b/core/res/res/values-tr-rTR/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Bugün Yarın - %H:%M - %H:%M + %H:%M + %-l:%M %p + %-l:%M %^p %d %m %Y dd MM yyyy %d %B %Y diff --git a/core/res/res/values-uk-rUA/donottranslate-cldr.xml b/core/res/res/values-uk-rUA/donottranslate-cldr.xml index 024a9b36fe419..5c3542d6200b1 100644 --- a/core/res/res/values-uk-rUA/donottranslate-cldr.xml +++ b/core/res/res/values-uk-rUA/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Сьогодні Завтра - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %p %d.%m.%Y dd.MM.yyyy %-e %B %Y р. diff --git a/core/res/res/values-vi-rVN/donottranslate-cldr.xml b/core/res/res/values-vi-rVN/donottranslate-cldr.xml index 674c37f411dc5..5f14fe0e59df2 100644 --- a/core/res/res/values-vi-rVN/donottranslate-cldr.xml +++ b/core/res/res/values-vi-rVN/donottranslate-cldr.xml @@ -91,8 +91,9 @@ Today Tomorrow - %H:%M - %H:%M + %-k:%M + %-l:%M %p + %-l:%M %^p %d/%m/%Y dd/MM/yyyy Ngày %d tháng %-m năm %Y diff --git a/core/res/res/values-zh-rCN/donottranslate-cldr.xml b/core/res/res/values-zh-rCN/donottranslate-cldr.xml index d18ce36aaba36..faf6fee4a2c12 100644 --- a/core/res/res/values-zh-rCN/donottranslate-cldr.xml +++ b/core/res/res/values-zh-rCN/donottranslate-cldr.xml @@ -91,8 +91,9 @@ 今天 明天 + %-k:%M %p%-l:%M - %^p%-l:%M + %p%-l:%M %Y-%-m-%-e yyyy-M-d %Y年%-m月%-e日 diff --git a/core/res/res/values-zh-rTW/donottranslate-cldr.xml b/core/res/res/values-zh-rTW/donottranslate-cldr.xml index d18ce36aaba36..faf6fee4a2c12 100644 --- a/core/res/res/values-zh-rTW/donottranslate-cldr.xml +++ b/core/res/res/values-zh-rTW/donottranslate-cldr.xml @@ -91,8 +91,9 @@ 今天 明天 + %-k:%M %p%-l:%M - %^p%-l:%M + %p%-l:%M %Y-%-m-%-e yyyy-M-d %Y年%-m月%-e日 diff --git a/core/res/res/values/donottranslate-cldr.xml b/core/res/res/values/donottranslate-cldr.xml index e3808a733371f..b13a986b5eda4 100644 --- a/core/res/res/values/donottranslate-cldr.xml +++ b/core/res/res/values/donottranslate-cldr.xml @@ -91,6 +91,7 @@ Today Tomorrow + %H:%M %-l:%M%p %-l:%M%^p %-m/%-e/%Y