feat(gui): translate the Photos empty states

The empty timeline and empty favorites texts go through gettext and are
translated in every catalog.
This commit is contained in:
nvrl committed 2026-09-23 10:37:19 +02:00
1 parent 77b8fd65be
commit 9529f2124b
11 files changed
+295 -79

No files matched your search

+32 -8
View File
@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: proton-drive-linux 2.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
"POT-Creation-Date: 2026-09-23 08:01+0200\n"
"POT-Creation-Date: 2026-09-23 10:35+0200\n"
"PO-Revision-Date: 2026-09-23 12:00+0200\n"
"Last-Translator: Proton Drive for Linux contributors\n"
"Language-Team: French\n"
@@ -1424,7 +1424,7 @@ msgid "No files or folders match that search."
msgstr "Aucun fichier ni dossier ne correspond à cette recherche."
#: crates/pdfs-gui/src/app/pages/browser.rs:3139
#: crates/pdfs-gui/src/i18n.rs:198
#: crates/pdfs-gui/src/i18n.rs:216
#, rust-format
msgid "{n} file"
msgid_plural "{n} files"
@@ -2685,6 +2685,30 @@ msgstr "%d/%m/%Y %H:%M:%S"
msgid "Unknown Date"
msgstr "Date inconnue"
#: crates/pdfs-gui/src/app/pages/photos.rs:2241
msgid "No photos yet"
msgstr "Aucune photo pour l’instant"
#: crates/pdfs-gui/src/app/pages/photos.rs:2242
msgid "Photos you upload to Proton Drive appear here."
msgstr "Les photos que vous téléversez sur Proton Drive apparaissent ici."
#: crates/pdfs-gui/src/app/pages/photos.rs:2245
msgid "No favorites yet"
msgstr "Aucun favori pour l’instant"
#: crates/pdfs-gui/src/app/pages/photos.rs:2246
msgid "Star a photo in the viewer or from its menu to find it here."
msgstr "Ajoutez une photo aux favoris dans la visionneuse ou depuis son menu pour la retrouver ici."
#: crates/pdfs-gui/src/app/pages/photos.rs:2250
msgid "Turn off the favorites filter to see everything."
msgstr "Désactivez le filtre des favoris pour tout afficher."
#: crates/pdfs-gui/src/app/pages/photos.rs:2254
msgid "Try another filter or month."
msgstr "Essayez un autre filtre ou un autre mois."
#. Translators: a check item in a photo's menu, on while the photo is a favorite.
#: crates/pdfs-gui/src/app/pages/photos.rs:2482
msgctxt "state"
@@ -4359,40 +4383,40 @@ msgstr "(aucun fichier épinglé — tapez pour rechercher)"
msgid "(cannot resolve app dirs)"
msgstr "(impossible de déterminer les répertoires de l’application)"
#: crates/pdfs-gui/src/i18n.rs:140
#: crates/pdfs-gui/src/i18n.rs:158
#, rust-format
msgid "{n} upload queued"
msgid_plural "{n} uploads queued"
msgstr[0] "{n} téléversement en attente"
msgstr[1] "{n} téléversements en attente"
#: crates/pdfs-gui/src/i18n.rs:146
#: crates/pdfs-gui/src/i18n.rs:164
#, rust-format
msgid "{n} change queued"
msgid_plural "{n} changes queued"
msgstr[0] "{n} modification en attente"
msgstr[1] "{n} modifications en attente"
#: crates/pdfs-gui/src/i18n.rs:152
#: crates/pdfs-gui/src/i18n.rs:170
#, rust-format
msgid "{n} upload"
msgid_plural "{n} uploads"
msgstr[0] "{n} téléversement"
msgstr[1] "{n} téléversements"
#: crates/pdfs-gui/src/i18n.rs:153
#: crates/pdfs-gui/src/i18n.rs:171
#, rust-format
msgid "{n} change"
msgid_plural "{n} changes"
msgstr[0] "{n} modification"
msgstr[1] "{n} modifications"
#: crates/pdfs-gui/src/i18n.rs:156
#: crates/pdfs-gui/src/i18n.rs:174
#, rust-format
msgid "{uploads}, {changes} queued"
msgstr "{uploads} et {changes} en attente"
#: crates/pdfs-gui/src/i18n.rs:201
#: crates/pdfs-gui/src/i18n.rs:219
#, rust-format
msgid "{n} file in {dir}"
msgid_plural "{n} files in {dir}"