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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570948
Title:
[Alarm] "Now" not localized in indicator datetime
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1570948/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs