diff options
author | tnagel@chromium.org <tnagel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-27 15:32:23 +0000 |
---|---|---|
committer | tnagel@chromium.org <tnagel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-27 15:32:23 +0000 |
commit | b6cc963b3efa562cfe51b44a733471d0369b52ed (patch) | |
tree | da0f4d214f172625620975a29b3ec665dc92b72b /ui/ui.gyp | |
parent | 817fed527b0862a1154d876e15ccafab7f23f389 (diff) | |
download | chromium_src-b6cc963b3efa562cfe51b44a733471d0369b52ed.zip chromium_src-b6cc963b3efa562cfe51b44a733471d0369b52ed.tar.gz chromium_src-b6cc963b3efa562cfe51b44a733471d0369b52ed.tar.bz2 |
Add support for localized time strings with two units, eg. "2 hours 17 minutes"
At that occasion, replace five existing formatting functions for one-unit time strings by a single consistent interface with the aim to make time formatting functions easier to use by highlighting the availability of different formatting options.
Also at that occasion, rename IDS_TIME_DURATION_LONG* to IDS_TIME_LONG* to be more consistent with other IDS_TIME* ids.
BUG=339835
TEST=full unit test coverage
TBR=oshima@chromium.org (for resolution_notification_controller.cc)
TBR=jennyz@chromium.org (for ash/system)
TBR=asanka@chromium.org (for download_item_model.cc)
TBR=tim@chromium.org (for profile_sync_service.cc)
TBR=xiyuan@chromium.org (for imageburner_ui.cc)
TBR=estade@chromium.org (for foreign_session_handler.cc, policy_ui.cc)
Review URL: https://codereview.chromium.org/147443007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui.gyp')
-rw-r--r-- | ui/ui.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -188,6 +188,8 @@ 'base/gtk/scoped_region.cc', 'base/gtk/scoped_region.h', 'base/hit_test.h', + 'base/l10n/formatter.cc', + 'base/l10n/formatter.h', 'base/l10n/l10n_font_util.cc', 'base/l10n/l10n_font_util.h', 'base/l10n/l10n_util.cc', |