41ba04eed97bf05fb29ec7f50976cd8b4b9750e1 |
07-Feb-2015 |
Elliott Hughes <enh@google.com> |
Remove obsolete 'numeric_date_template'. The only caller was removed in f91f06a5991451e4af3cf99eba791cb3009810d2. Bug: 18388178 Bug: 18322220 Change-Id: I222363186ad1b9e25c8d8bf0f3928e42cf9bd275
onottranslate-cldr.xml
|
6139e64cd6f86c4e3983de976cb0aa976b0d313c |
24-Jul-2013 |
Elliott Hughes <enh@google.com> |
Switch DateUtils.formatDateRange over to an icu4c-based implementation. Bug: 7289514 Change-Id: Ia382f49aa23737bde91b7891d95545da084ec57c
onottranslate-cldr.xml
|
5ad2451f9fcce650b018af4bb3eb3252606d9150 |
16-Jun-2013 |
howardb <android@howardb.com> |
Correct Date format for el_GR, sv_SE and tr_TR locales Amend DateFormat.getDateFormat to CLDR data from icu4c instead of locale specific resource entries which are incorrect for several locales. No CTS tests are added as they require changing the locale which is not currently possible. Bug: https://code.google.com/p/android/issues/detail?id=56385 Change-Id: Ibd11c7fd9b595e19a3e2bf508e1585aa50067e03 Signed-off-by: howardb <android@howardb.com>
onottranslate-cldr.xml
|
4caba61ea0433099fc94e61221d02542c34e9e3a |
15-Jan-2013 |
Elliott Hughes <enh@google.com> |
Switch over to getting 12-/24-hour time formats from CLDR via icu4c. I removed the duplication in DateTimeView rather than fix that copy of the code. Bug: 7924970 Change-Id: I60c205d06ad3b50fd2f5d5fc432e4eb186f9c0e7
onottranslate-cldr.xml
|
c3ff72f5bd5896ad2584e0cc0582cbd2ad8191f2 |
15-Aug-2012 |
Elliott Hughes <enh@google.com> |
Use icu4c for CLDR "yesterday", "today", and "tomorrow" strings. (cherry-pick of 47a0539ecaf7d7a15008704bd89f748aebf85d47.) Conflicts: core/res/res/values/public.xml Bug: 6811501 Change-Id: Ifb2e030a9fda85a7f664feac812b63e67780e68f
onottranslate-cldr.xml
|
08153ee01e6aa67061f628bc3fed66c6400dfd1c |
07-Aug-2012 |
Elliott Hughes <enh@google.com> |
Switch DateUtils and Time over to using the CLDR for all week and month names. (cherry-pick of 99c406e42ba154584070ca7ec100e8be7ff8a800.) Conflicts: core/res/res/values-fa/donottranslate-cldr.xml core/res/res/values/public.xml Bug: 6811501 Change-Id: I2ad9608ae34804e02c6b0271197e96611df12b0a
onottranslate-cldr.xml
|
4af85345e798c37ab026e93a1ae250d8bca4fc40 |
26-Jul-2012 |
Elliott Hughes <enh@google.com> |
Use ICU's CLDR data for "AM" and "PM" strings. This brings DateUtils and Time in sync with bionic, icu, WebKit, DateFormatSymbols, Formatter, and SimpleDateFormat. And specifically means that DateUtils now knows how to say "AM" and "PM" in Japanese. Bug: 6719054 (cherry-pick of b12b61a88a029730b1f2b006ff914c9c719f3942.) Conflicts: core/res/res/values/public.xml Change-Id: Ic1a811621a0ec338abd77458ac2046577f87c1e4
onottranslate-cldr.xml
|
e10333fdcc3d010e343be5c8b6b0fb24062b3e2b |
17-Mar-2012 |
Eric Fischer <enf@google.com> |
Move map center resources out of arrays.xml. Having them in the same file means that the translation importer will in some cases try to override the files that were manually added for each locale. Change-Id: Ie34106d08aacdbddb0c1005fb511f2018db93800
rrays.xml
onottranslate-maps.xml
|
c57bfa4a4bf4c810b5c663df17443463d8192e8f |
16-Nov-2011 |
Jim Miller <jaggies@google.com> |
Fix 5581164: Add abbreviated localized date strings Change-Id: I041eef02a67980d3b5c2f2fa12eae717c26e35be
onottranslate-cldr.xml
|
66668524d452ae536a32d15ffd0dcb096de665df |
13-Nov-2009 |
Eric Fischer <enf@google.com> |
Fix the full-weekday date format strings to actually use the full weekday. Also fix the abbreviated weekday/month/day/year strings to use a 4-digit year. Approver: jerryw
onottranslate-cldr.xml
|
66cf237a5738ceddddf64b73d88bd7bdfb7a07ee |
12-Nov-2009 |
Eric Fischer <enf@google.com> |
Add new date formats for the lock screen. One is the fully-spelled out weekday/day/month with no year. The other is abbreviated weekday/month/day/year. Bug 2247356 Approver: jerryw
onottranslate-cldr.xml
|
ce4ba52c63d479c2e71bb4f3d0033c97b0d46dea |
23-Jul-2009 |
Eric Fischer <enf@google.com> |
Make the date formats as close as possible to what the translators wanted. Remove all the country-specific files that are exactly the same as the language files, and several unverified country-specific files.
onottranslate-cldr.xml
|
651e2dc0d2e51c3172f529fd8b0f52ce138b7cf8 |
22-Jun-2009 |
Eric Fischer <enf@google.com> |
Yet another round of trying to get the date formats right. The change this time is to prefer a format derived from an interval format to one that is inherited from the root locale. Only a few locales don't define any interval formats at all and are still have to get anything from the root locale.
onottranslate-cldr.xml
|
5669ce59aad19f17e1e89913e7483fb93b8aa0cf |
18-Jun-2009 |
Eric Fischer <enf@google.com> |
Work around the Czech lack of abbreviated month names. Make the date formats that want abbreviated month names use either the full name or a numeric format.
onottranslate-cldr.xml
|
328769582328192f8f361dcb56f2ad67ad00ae2c |
12-Jun-2009 |
Eric Fischer <enf@google.com> |
Make the date format preference work again. It is only used for numeric dates -- spelled-out dates have such a complex variety of formats that they can only be meaningfully formatted from locale strings. In addition, the preference is left null when initializing, on the assumption that the locale will still specify a more useful numeric format than we can guess as part of a build-wide configuration. But if the user has specified a format, the date will be formatted in the order they asked for, with locale-appropriate punctuation substituted in.
onottranslate-cldr.xml
|
af0e7a7394bf1e2596c46f81c3b0302a56daab96 |
11-Jun-2009 |
Eric Fischer <enf@google.com> |
Hook the 12- or 24-hour time format checkbox back up. The format strings are newly generated from CLDR. The code is once again the same as in cupcake: do the natural thing for the locale if the user has never specified, but follow the checkbox if the user has ever set it.
onottranslate-cldr.xml
|
84c863d9af1270a2ccd2ccd2b8c1a753826dfe6d |
10-Jun-2009 |
Eric Fischer <enf@google.com> |
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.
onottranslate-cldr.xml
|
c110ec0ab685c4bc7e8db04859631b69aa592cd5 |
10-Jun-2009 |
Eric Fischer <enf@google.com> |
Get the FormatDateRange tests passing again. This fixes a few places that were accidentally using the wrong numbered parameter in the format call. It also makes other adjustments so that the formats for English are exactly the same as they were in Cupcake.
onottranslate-cldr.xml
|
137c45036699eeceb061a47ab14d9a7eb860674d |
09-Jun-2009 |
Eric Fischer <enf@google.com> |
Regenerate all the date and time interval formats from CLDR data.
onottranslate-cldr.xml
|
5bd644caf73e76750feef1a82b8817d32f5367fc |
13-May-2009 |
Eric Fischer <enf@google.com> |
Start using CLDR for some date-and-time strings and formats. Use java.text.DateFormat where possible, since that is already using the CLDR data for the things it supports. Remove an unused date format object from DatePickerDialog. Add a new method for getting the standalone month names from applications, although @hidden for now because it is an API change. Pass the standalone month names down to native code in Time so that tztime's strftime() can use them. And then the bulk of the change: replace all the names for the months and the days of the week, and AM and PM, and yesterday, today, and tomorrow, with strings from CLDR. And replace several of the date format strings with ones derived from CLDR, but reformatted to use strftime() style instead of SimpleDateFormat style. All these resource changes go into new donottranslate-cldr.xml files and are removed from strings.xml so that they aren't part of the normal translation process and the translators don't have to bother with them (and risk messing them up).
onottranslate-cldr.xml
|
8c785269f836e8845085565b1611be89fcc9170b |
25-Mar-2009 |
Robert Greenwalt <> |
Automated import from //branches/donutburger/...@141259,141259
rrays.xml
|