-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use Intl for battery percentage
Follow GNOME Shell in using `Intl.NumberFormat` for the battery percentage label.
- Loading branch information
1 parent
e9814ff
commit 9ecbdd1
Showing
5 changed files
with
44 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ msgstr "" | |
"Project-Id-Version: gnome-shell-extension-valent\n" | ||
"Report-Msgid-Bugs-To: https://github.com/andyholmes/gnome-shell-extension-" | ||
"valent/issues\n" | ||
"POT-Creation-Date: 2023-06-21 09:44-0700\n" | ||
"POT-Creation-Date: 2023-09-23 11:13-0700\n" | ||
"PO-Revision-Date: 2023-03-04 17:43+0100\n" | ||
"Last-Translator: Valérie Roux <[email protected]>\n" | ||
"Language-Team: French <[email protected]>\n" | ||
|
@@ -21,48 +21,43 @@ msgstr "" | |
"X-Generator: Gtranslator 42.0\n" | ||
|
||
#. TRANSLATORS: A notification button to show the quick-reply entry | ||
#: src/notification.js:59 | ||
#: src/notification.js:71 | ||
msgid "Reply" | ||
msgstr "Répondre" | ||
|
||
#. TRANSLATORS: A reply entry in a notification | ||
#: src/notification.js:69 | ||
#: src/notification.js:81 | ||
msgid "Type a message" | ||
msgstr "Entrez un message" | ||
|
||
#: src/status.js:153 | ||
#, javascript-format | ||
msgid "%d %%" | ||
msgstr "" | ||
|
||
#: src/status.js:252 src/status.js:436 | ||
#: src/status.js:260 src/status.js:445 | ||
msgid "Devices" | ||
msgstr "" | ||
|
||
#: src/status.js:277 src/status.js:398 src/status.js:402 | ||
#: src/status.js:285 src/status.js:405 src/status.js:409 | ||
msgid "All Devices" | ||
msgstr "Tous les appareils" | ||
|
||
#. TRANSLATORS: This is the number of connected devices | ||
#: src/status.js:375 | ||
#: src/status.js:384 | ||
#, javascript-format | ||
msgid "%d Connected" | ||
msgid_plural "%d Connected" | ||
msgstr[0] "%d connecté" | ||
msgstr[1] "%d connectés" | ||
|
||
#: src/status.js:392 | ||
#: src/status.js:399 | ||
msgid "Valent must be installed to connect and sync devices" | ||
msgstr "" | ||
|
||
#: src/status.js:393 | ||
#: src/status.js:400 | ||
msgid "Help" | ||
msgstr "" | ||
|
||
#: src/status.js:397 | ||
#: src/status.js:404 | ||
msgid "No available or connected devices" | ||
msgstr "" | ||
|
||
#: src/status.js:401 | ||
#: src/status.js:408 | ||
msgid "Turn on to connect to devices" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ msgstr "" | |
"Project-Id-Version: gnome-shell-extension-valent\n" | ||
"Report-Msgid-Bugs-To: https://github.com/andyholmes/gnome-shell-extension-" | ||
"valent/issues\n" | ||
"POT-Creation-Date: 2023-06-21 09:44-0700\n" | ||
"POT-Creation-Date: 2023-09-23 11:13-0700\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -20,48 +20,43 @@ msgstr "" | |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | ||
|
||
#. TRANSLATORS: A notification button to show the quick-reply entry | ||
#: src/notification.js:59 | ||
#: src/notification.js:71 | ||
msgid "Reply" | ||
msgstr "" | ||
|
||
#. TRANSLATORS: A reply entry in a notification | ||
#: src/notification.js:69 | ||
#: src/notification.js:81 | ||
msgid "Type a message" | ||
msgstr "" | ||
|
||
#: src/status.js:153 | ||
#, javascript-format | ||
msgid "%d %%" | ||
msgstr "" | ||
|
||
#: src/status.js:252 src/status.js:436 | ||
#: src/status.js:260 src/status.js:445 | ||
msgid "Devices" | ||
msgstr "" | ||
|
||
#: src/status.js:277 src/status.js:398 src/status.js:402 | ||
#: src/status.js:285 src/status.js:405 src/status.js:409 | ||
msgid "All Devices" | ||
msgstr "" | ||
|
||
#. TRANSLATORS: This is the number of connected devices | ||
#: src/status.js:375 | ||
#: src/status.js:384 | ||
#, javascript-format | ||
msgid "%d Connected" | ||
msgid_plural "%d Connected" | ||
msgstr[0] "" | ||
msgstr[1] "" | ||
|
||
#: src/status.js:392 | ||
#: src/status.js:399 | ||
msgid "Valent must be installed to connect and sync devices" | ||
msgstr "" | ||
|
||
#: src/status.js:393 | ||
#: src/status.js:400 | ||
msgid "Help" | ||
msgstr "" | ||
|
||
#: src/status.js:397 | ||
#: src/status.js:404 | ||
msgid "No available or connected devices" | ||
msgstr "" | ||
|
||
#: src/status.js:401 | ||
#: src/status.js:408 | ||
msgid "Turn on to connect to devices" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgstr "" | |
"Project-Id-Version: gnome-shell-extension-valent\n" | ||
"Report-Msgid-Bugs-To: https://github.com/andyholmes/gnome-shell-extension-" | ||
"valent/issues\n" | ||
"POT-Creation-Date: 2023-06-21 09:44-0700\n" | ||
"POT-Creation-Date: 2023-09-23 11:13-0700\n" | ||
"PO-Revision-Date: 2022-09-12 20:01+0200\n" | ||
"Last-Translator: Heimen Stoffels <[email protected]>\n" | ||
"Language-Team: Dutch\n" | ||
|
@@ -19,48 +19,43 @@ msgstr "" | |
"X-Generator: Lokalize 22.08.1\n" | ||
|
||
#. TRANSLATORS: A notification button to show the quick-reply entry | ||
#: src/notification.js:59 | ||
#: src/notification.js:71 | ||
msgid "Reply" | ||
msgstr "Beantwoorden" | ||
|
||
#. TRANSLATORS: A reply entry in a notification | ||
#: src/notification.js:69 | ||
#: src/notification.js:81 | ||
msgid "Type a message" | ||
msgstr "Voer een bericht in…" | ||
|
||
#: src/status.js:153 | ||
#, javascript-format | ||
msgid "%d %%" | ||
msgstr "" | ||
|
||
#: src/status.js:252 src/status.js:436 | ||
#: src/status.js:260 src/status.js:445 | ||
msgid "Devices" | ||
msgstr "" | ||
|
||
#: src/status.js:277 src/status.js:398 src/status.js:402 | ||
#: src/status.js:285 src/status.js:405 src/status.js:409 | ||
msgid "All Devices" | ||
msgstr "Alle apparaten" | ||
|
||
#. TRANSLATORS: This is the number of connected devices | ||
#: src/status.js:375 | ||
#: src/status.js:384 | ||
#, javascript-format | ||
msgid "%d Connected" | ||
msgid_plural "%d Connected" | ||
msgstr[0] "%d verbonden apparaat" | ||
msgstr[1] "%d verbonden apparaten" | ||
|
||
#: src/status.js:392 | ||
#: src/status.js:399 | ||
msgid "Valent must be installed to connect and sync devices" | ||
msgstr "" | ||
|
||
#: src/status.js:393 | ||
#: src/status.js:400 | ||
msgid "Help" | ||
msgstr "" | ||
|
||
#: src/status.js:397 | ||
#: src/status.js:404 | ||
msgid "No available or connected devices" | ||
msgstr "" | ||
|
||
#: src/status.js:401 | ||
#: src/status.js:408 | ||
msgid "Turn on to connect to devices" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters