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

Unified Diff: ash/ash_chromeos_strings.grdp

Issue 1951493002: Fix i18n number formats in tray power displays (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use MessageFormatter in power_status_view.cc Created 4 years, 7 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: ash/ash_chromeos_strings.grdp
diff --git a/ash/ash_chromeos_strings.grdp b/ash/ash_chromeos_strings.grdp
index e157049be81002285b0a180a8c89fc6c8998f31b..a7c1ae9570b77146744205bfd0f78653a0f0f8ef 100644
--- a/ash/ash_chromeos_strings.grdp
+++ b/ash/ash_chromeos_strings.grdp
@@ -374,10 +374,10 @@ Press Shift + Alt to switch.
Calculating...
</message>
<message name="IDS_ASH_STATUS_TRAY_BATTERY_TIME_LEFT_SHORT" desc="The label in the tray bubble settings row to show a time estimate until the battery is empty.">
- <ph name="hour">$1<ex>2</ex></ph>:<ph name="minute">$2<ex>53</ex></ph> left
+ <ph name="hour">{0,number,integer}<ex>2</ex></ph>:<ph name="minute">{1,number,*0##}<ex>53</ex></ph> left
</message>
<message name="IDS_ASH_STATUS_TRAY_BATTERY_TIME_UNTIL_FULL_SHORT" desc="The label in the tray bubble settings row to show a time estimate until the battery is fully charged.">
- <ph name="hour">$1<ex>2</ex></ph>:<ph name="minute">$2<ex>53</ex></ph> until full
+ <ph name="hour">{0,number,integer}<ex>2</ex></ph>:<ph name="minute">{1,number,*0##}<ex>53</ex></ph> until full
</message>
<message name="IDS_ASH_STATUS_TRAY_BATTERY_CHARGING_UNRELIABLE" desc="The label in the tray dialog to indicate that battery charging is unreliable.">
Low-power charger
« no previous file with comments | « no previous file | ash/system/chromeos/power/battery_notification.cc » ('j') | ash/system/chromeos/power/power_status_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698