New issue
Advanced search Search tips

Issue 612181 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue 475351



Sign in to add a comment

Native (locale-specific) digits are NOT used in battery power display and warnings in SysTray

Project Member Reported by glevin@chromium.org, May 16 2016

Issue description

Version: 52.0.2724.0

What steps will reproduce the problem?
(1) Set language to one with non-Arabic numerals (e.g., Bengali, Marathi, Persian)
(2) Open system tray menu
(3) (optional) Run down battery to cause a low power alert

What is the expected output?  What do you see instead?
The numbers in the time ("left" or "until full") and battery percentage should use language-specific glyphs.  Instead, numbers are always in Arabic.  See attached screenshot: clock uses localized numbers, but battery time and percent do not.

This is being spun off of Issue 475351, which originally reported this issue, but is now being used to track all related i18n number problems.  Note that  Issue 126770  addresses related RTL issues with battery display.
 
i18n_battery_numbers.png
12.8 KB View Download

Comment 1 by js...@chromium.org, May 18 2016

Summary: Native (locale-specific) digits are NOT used in battery power display and warnings in SysTray (was: No i18n of numeric glyphs in battery power display and warnings in SysTray )

Comment 3 by glevin@chromium.org, May 23 2016

Labels: -M-53 M-52
Status: Fixed (was: Started)
See  Issue 618105  for related pluralization issue.
Status: Verified (was: Fixed)
Verified on ChromeOS 8481.0.0, 53.0.2773.0
Project Member

Comment 6 by bugdroid1@chromium.org, Aug 30 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a32e6d4c2800569bb486287fdbd17e6918d1d2d0

commit a32e6d4c2800569bb486287fdbd17e6918d1d2d0
Author: glevin <glevin@chromium.org>
Date: Tue Aug 30 05:01:04 2016

Use FormatPercent() in PowerStatusView

BUG= 612181 
TEST=Should be no difference in battery percent display in SysTray menu

Small cleanup from prior i18n work

Review-Url: https://codereview.chromium.org/2286353002
Cr-Commit-Position: refs/heads/master@{#415129}

[modify] https://crrev.com/a32e6d4c2800569bb486287fdbd17e6918d1d2d0/ash/common/system/chromeos/power/power_status_view.cc

Sign in to add a comment