gnome-shell/js
Florian Müllner 6f7f0f369b status/system: Use Intl to format battery percentage
The exact way of formatting a percentage value is locale specific:
https://en.wikipedia.org/wiki/Percent_sign#Correct_style.

We account for that by marking the string for translations, but then
get it wrong for the default US locale (go us!).

But given that the javascript engine itself provides us with a way
of formatting a percentage in a locale-specific way, that seems the
better option than putting the burden on our own developers and
translators.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7005
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2966>
2023-09-22 17:03:17 +00:00
..
dbusServices cleanup: Fixup wrong JSDoc comments 2023-08-09 15:10:38 +00:00
extensions extensions: Fix ngettext convenience 2023-09-15 21:41:30 +00:00
gdm cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
misc ibusManager: Add missing environment variables required to launch ibus-daemon 2023-09-14 16:02:29 +00:00
portalHelper js: Port Config to ESM 2023-08-10 17:42:23 +00:00
ui status/system: Use Intl to format battery percentage 2023-09-22 17:03:17 +00:00
js-resources.gresource.xml components: Change component loading to be asynchronous 2023-08-05 22:16:23 +02:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml js/portal-resources: Add missing fileUtils to js path 2022-11-03 18:02:27 +00:00