dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #38421
[Bug 1570948] Re: [Alarm] "Now" not localized in indicator datetime
indicator-datetime intentionally doesn't format that string. Instead, it
sends a time_t to unity so that unity can update the string periodically
without indicator-datetime generating more bus traffic.
The time_t is pulled in by alarmMenu and appointmentMenu in
qml/Panel/Indicators/MenuItemFactory.qml, which then formats the string
using i18n.relativeDateTime() which is implemented in ubunut-ui-toolkit
at src/Ubuntu/Components/plugin/i18n.cpp's
UbuntuI18n::relativeDateTime(), though it appears to be marked for
translation there:
> case DATE_PROXIMITY_NOW:
> /* TRANSLATORS: Time based "this is happening/happened now" */
> return dtr("ubuntu-ui-toolkit", "Now");
** Also affects: unity8 (Ubuntu)
Importance: Undecided
Status: New
** Also affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
** Changed in: indicator-datetime (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-datetime in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1570948
Title:
[Alarm] "Now" not localized in indicator datetime
Status in Canonical System Image:
New
Status in indicator-datetime package in Ubuntu:
Invalid
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Status in unity8 package in Ubuntu:
New
Bug description:
Test case.
- Switch the phone to Spanish.
- Open clock app.
- Create an alarm for the next minute.
- Open indicator time.
Expected result.
- "Alarm: Now" must be translated to Spanish.
Actual result.
- "Now" is not localized.
I can't find the string in Launchpad.
current build number: 306
device name: arale
channel: ubuntu-touch/rc-proposed/meizu.en
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1570948/+subscriptions