gnome-shell/js/ui/status
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
..
accessibility.js cleanup: Use consistent 4-space indent 2023-08-09 15:10:37 +00:00
autoRotate.js js: Port to modules 2023-08-06 13:02:49 +02:00
backgroundApps.js status/backgroundApps: Filter out unknown apps 2023-09-05 16:06:24 +00:00
backlight.js js: Port to modules 2023-08-06 13:02:49 +02:00
bluetooth.js status/bluetooth: Show immediate feedback on toggle 2023-09-01 11:37:04 +00:00
brightness.js js: Port to modules 2023-08-06 13:02:49 +02:00
camera.js js: Port to modules 2023-08-06 13:02:49 +02:00
darkMode.js js: Port to modules 2023-08-06 13:02:49 +02:00
dwellClick.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
keyboard.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
location.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
network.js status/network: Don't show OWE networks as secure 2023-08-31 11:54:51 +00:00
nightLight.js js: Port to modules 2023-08-06 13:02:49 +02:00
powerProfiles.js js: Port to modules 2023-08-06 13:02:49 +02:00
remoteAccess.js cleanup: Remove spaces in object literals 2023-08-09 15:10:37 +00:00
rfkill.js js: Port to modules 2023-08-06 13:02:49 +02:00
system.js status/system: Use Intl to format battery percentage 2023-09-22 17:03:17 +00:00
thunderbolt.js cleanup: Use consistent 4-space indent 2023-08-09 15:10:37 +00:00
volume.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00