gtk: interface GTK4, préférences, versions, traductions, licence MIT

- interface gtkmm-4 : véhicules, ajout par VIN, mises à jour, dossier,
  téléchargement avec reprise et arrêt, choix de la clé, confirmation,
  écriture avec progression, fin avec guide d'installation ; travail
  dans un thread, résultats renvoyés via Glib::Dispatcher
- préférences : dossier de téléchargement, langue (système par défaut),
  recherche automatique de nouvelle version d'OpenPU
- recherche de nouvelle version (releases GitHub, format tags Gitea
  accepté) avec ouverture de la page dans le navigateur ;
  openpu-cli app-update
- versions : project(VERSION) + git describe régénéré à chaque build,
  openpu-cli --version, À propos, User-Agent, CHANGELOG, tools/release.sh
  (étiquette annotée, push vers tous les remotes, release GitHub)
- traductions gettext : textes anglais, fr.po complet (96 chaînes),
  extracteur de secours sans xgettext
- core : module job (téléchargement licence/fw/carte), liens des guides
  PDF, ordre des véhicules conservé (ordered_json)
- licence MIT (LICENSE, en-têtes SPDX) ; dépôt principal sur GitHub
- validé dans WSLg : parcours complet jusqu'à l'écriture d'une clé loop
  (FAT32 propre, fichiers téléchargés supprimés)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
This commit is contained in:
yann64andClaude Opus 5.5 committed 2026-11-28 19:54:04 +01:00
1 parent 6a7a2f1ee9
commit 384aaf78c6
62 files changed
+3029 -20

No files matched your search

+401
View File
@@ -0,0 +1,401 @@
msgid ""
msgstr ""
"Project-Id-Version: openpu\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: src\ui-gtk\main_window.cpp:54
msgid "Crony (navigation)"
msgstr ""
#: src\ui-gtk\main_window.cpp:55
msgid "Crony (no navigation)"
msgstr ""
#: src\ui-gtk\main_window.cpp:58
msgid "unknown head unit"
msgstr ""
#: src\ui-gtk\main_window.cpp:63
#, qt-format
msgid "version %1, %2"
msgstr ""
#: src\ui-gtk\main_window.cpp:70
msgid "The update server cannot be reached. Check your Internet connection."
msgstr ""
#: src\ui-gtk\main_window.cpp:73
msgid "The update server returned an error. Try again later."
msgstr ""
#: src\ui-gtk\main_window.cpp:75
msgid "This VIN is not valid."
msgstr ""
#: src\ui-gtk\main_window.cpp:104
msgid "Your saved data cannot be read"
msgstr ""
#: src\ui-gtk\main_window.cpp:109
msgid "Back"
msgstr ""
#: src\ui-gtk\main_window.cpp:113 src\ui-gtk\main_window.cpp:219
msgid "Preferences"
msgstr ""
#: src\ui-gtk\main_window.cpp:114
msgid "Check for a new version of OpenPU"
msgstr ""
#: src\ui-gtk\main_window.cpp:115
msgid "About OpenPU"
msgstr ""
#: src\ui-gtk\main_window.cpp:118
msgid "Menu"
msgstr ""
#: src\ui-gtk\main_window.cpp:181
msgid "OpenPU is up to date"
msgstr ""
#: src\ui-gtk\main_window.cpp:182
#, qt-format
msgid "Version %1 is the latest version."
msgstr ""
#: src\ui-gtk\main_window.cpp:185
msgid "Cannot check for a new version"
msgstr ""
#: src\ui-gtk\main_window.cpp:195
#, qt-format
msgid "OpenPU %1 is available"
msgstr ""
#: src\ui-gtk\main_window.cpp:197
#, qt-format
msgid "You are using version %1. Do you want to download the new version?"
msgstr ""
#: src\ui-gtk\main_window.cpp:201
msgid "Later"
msgstr ""
#: src\ui-gtk\main_window.cpp:201 src\ui-gtk\main_window.cpp:625
msgid "Download"
msgstr ""
#: src\ui-gtk\main_window.cpp:231 src\ui-gtk\main_window.cpp:705
msgid "Download folder"
msgstr ""
#: src\ui-gtk\main_window.cpp:238 src\ui-gtk\main_window.cpp:608
msgid "Change…"
msgstr ""
#: src\ui-gtk\main_window.cpp:247
msgid "Language"
msgstr ""
#: src\ui-gtk\main_window.cpp:252
msgid "System language"
msgstr ""
#: src\ui-gtk\main_window.cpp:258
msgid "The new language is used the next time OpenPU starts."
msgstr ""
#: src\ui-gtk\main_window.cpp:271 src\ui-gtk\main_window.cpp:286 src\ui-gtk\main_window.cpp:718
msgid "Cannot save the settings"
msgstr ""
#: src\ui-gtk\main_window.cpp:279
msgid "Check for a new version of OpenPU at startup"
msgstr ""
#: src\ui-gtk\main_window.cpp:338
msgid "Download Peugeot head unit updates (system and navigation map) and prepare the USB stick, on Linux and Haiku.\n\nIndependent project, not affiliated with Stellantis or Peugeot."
msgstr ""
#: src\ui-gtk\main_window.cpp:344
msgid "Source code"
msgstr ""
#: src\ui-gtk\main_window.cpp:356
msgid "Cannot save the vehicle list"
msgstr ""
#: src\ui-gtk\main_window.cpp:370
msgid "My vehicles"
msgstr ""
#: src\ui-gtk\main_window.cpp:372
msgid "Add your vehicle with its VIN (17 characters, on the registration document, field E)."
msgstr ""
#: src\ui-gtk\main_window.cpp:392 src\ui-gtk\main_window.cpp:486
msgid "Add a vehicle"
msgstr ""
#: src\ui-gtk\main_window.cpp:393 src\ui-gtk\main_window.cpp:457
msgid "Remove"
msgstr ""
#: src\ui-gtk\main_window.cpp:394
msgid "Check for updates"
msgstr ""
#: src\ui-gtk\main_window.cpp:425
msgid "download not finished"
msgstr ""
#: src\ui-gtk\main_window.cpp:455
#, qt-format
msgid "Remove %1?"
msgstr ""
#: src\ui-gtk\main_window.cpp:456
msgid "Downloaded files that were not written to a USB stick yet are deleted too."
msgstr ""
#: src\ui-gtk\main_window.cpp:457 src\ui-gtk\main_window.cpp:741 src\ui-gtk\main_window.cpp:982
msgid "Cancel"
msgstr ""
#: src\ui-gtk\main_window.cpp:488
msgid "The VIN (vehicle identification number) is written in field E of the registration document and at the bottom of the windscreen."
msgstr ""
#: src\ui-gtk\main_window.cpp:496
msgid "VIN"
msgstr ""
#: src\ui-gtk\main_window.cpp:498
msgid "Name"
msgstr ""
#: src\ui-gtk\main_window.cpp:503
msgid "e.g. 208 or Family car"
msgstr ""
#: src\ui-gtk\main_window.cpp:517
msgid "Add"
msgstr ""
#: src\ui-gtk\main_window.cpp:535
msgid "A VIN has 17 characters and starts with VF3 or VR3."
msgstr ""
#: src\ui-gtk\main_window.cpp:541
msgid "Checking the vehicle…"
msgstr ""
#: src\ui-gtk\main_window.cpp:558
msgid "This vehicle is unknown to the update service."
msgstr ""
#: src\ui-gtk\main_window.cpp:562
msgid "This vehicle has no head unit that can be updated with a USB stick."
msgstr ""
#: src\ui-gtk\main_window.cpp:604
msgid "Download folder:"
msgstr ""
#: src\ui-gtk\main_window.cpp:617 src\ui-gtk\main_window.cpp:1118
msgid "Installation guide"
msgstr ""
#: src\ui-gtk\main_window.cpp:651
msgid "Looking for updates…"
msgstr ""
#: src\ui-gtk\main_window.cpp:685
msgid "No update is available: your head unit is up to date."
msgstr ""
#: src\ui-gtk\main_window.cpp:688
msgid "Select the updates to download:"
msgstr ""
#: src\ui-gtk\main_window.cpp:690 src\ui-gtk\main_window.cpp:803
msgid "System (firmware)"
msgstr ""
#: src\ui-gtk\main_window.cpp:695 src\ui-gtk\main_window.cpp:807
msgid "Navigation map"
msgstr ""
#: src\ui-gtk\main_window.cpp:736
msgid "Not enough free space"
msgstr ""
#: src\ui-gtk\main_window.cpp:738
#, qt-format
msgid "%1 are needed in %2 but only %3 are free. If a previous download of these files is already in this folder, it will be resumed and may fit."
msgstr ""
#: src\ui-gtk\main_window.cpp:741
msgid "Download anyway"
msgstr ""
#: src\ui-gtk\main_window.cpp:763
msgid "Downloading"
msgstr ""
#: src\ui-gtk\main_window.cpp:765
msgid "You can close the application: the download will resume where it stopped next time."
msgstr ""
#: src\ui-gtk\main_window.cpp:786 src\ui-gtk\main_window.cpp:1014
msgid "Stop"
msgstr ""
#: src\ui-gtk\main_window.cpp:799 src\ui-gtk\main_window.cpp:849
msgid "License"
msgstr ""
#: src\ui-gtk\main_window.cpp:799
msgid "waiting"
msgstr ""
#: src\ui-gtk\main_window.cpp:812
msgid "Connecting…"
msgstr ""
#: src\ui-gtk\main_window.cpp:829
#, qt-format
msgid "Cannot write the file: %1"
msgstr ""
#: src\ui-gtk\main_window.cpp:830
#, qt-format
msgid "The download failed: %1"
msgstr ""
#: src\ui-gtk\main_window.cpp:839
msgid "Download interrupted"
msgstr ""
#: src\ui-gtk\main_window.cpp:840
msgid "The files already downloaded are kept; start again to resume."
msgstr ""
#: src\ui-gtk\main_window.cpp:849
msgid "done"
msgstr ""
#: src\ui-gtk\main_window.cpp:859
#, qt-format
msgid "Time left: %1"
msgstr ""
#: src\ui-gtk\main_window.cpp:861
#, qt-format
msgid "(connection lost, attempt %1)"
msgstr ""
#: src\ui-gtk\main_window.cpp:886
msgid "Prepare the USB stick"
msgstr ""
#: src\ui-gtk\main_window.cpp:897 src\ui-gtk\main_window.cpp:970
msgid "This USB stick is too small."
msgstr ""
#: src\ui-gtk\main_window.cpp:901
msgid "Refresh"
msgstr ""
#: src\ui-gtk\main_window.cpp:910 src\ui-gtk\main_window.cpp:982
msgid "Erase and write"
msgstr ""
#: src\ui-gtk\main_window.cpp:920
msgid "Computing the required size…"
msgstr ""
#: src\ui-gtk\main_window.cpp:934 src\ui-gtk\main_window.cpp:1055
msgid "A downloaded file is damaged"
msgstr ""
#: src\ui-gtk\main_window.cpp:934 src\ui-gtk\main_window.cpp:1055
msgid "Download the update again."
msgstr ""
#: src\ui-gtk\main_window.cpp:941
#, qt-format
msgid "Plug in a USB stick of at least %1. It will be completely erased and formatted (FAT32)."
msgstr ""
#: src\ui-gtk\main_window.cpp:956
msgid "USB drives cannot be listed: "
msgstr ""
#: src\ui-gtk\main_window.cpp:961
msgid "too small"
msgstr ""
#: src\ui-gtk\main_window.cpp:964
msgid "No USB stick found. Plug one in, then refresh."
msgstr ""
#: src\ui-gtk\main_window.cpp:980
#, qt-format
msgid "Erase %1?"
msgstr ""
#: src\ui-gtk\main_window.cpp:981
msgid "Everything on this USB stick will be lost."
msgstr ""
#: src\ui-gtk\main_window.cpp:1000
msgid "Writing the USB stick"
msgstr ""
#: src\ui-gtk\main_window.cpp:1001
msgid "Do not unplug the USB stick."
msgstr ""
#: src\ui-gtk\main_window.cpp:1026 src\ui-gtk\main_window.cpp:1072
msgid "Checking the downloaded files…"
msgstr ""
#: src\ui-gtk\main_window.cpp:1046
msgid "Permission to format the USB stick was refused."
msgstr ""
#: src\ui-gtk\main_window.cpp:1061
msgid "The USB stick could not be prepared"
msgstr ""
#: src\ui-gtk\main_window.cpp:1074
msgid "Formatting the USB stick…"
msgstr ""
#: src\ui-gtk\main_window.cpp:1077
msgid "Copying the license…"
msgstr ""
#: src\ui-gtk\main_window.cpp:1078
msgid "Copying the update…"
msgstr ""
#: src\ui-gtk\main_window.cpp:1080
msgid "Ejecting the USB stick…"
msgstr ""
#: src\ui-gtk\main_window.cpp:1111
msgid "The USB stick is ready"
msgstr ""
#: src\ui-gtk\main_window.cpp:1113
msgid "You can unplug the USB stick. With the engine running, plug it into the vehicle and follow the instructions on the screen. The installation can take a long time: do not stop the engine."
msgstr ""
#: src\ui-gtk\main_window.cpp:1126
msgid "Finish"
msgstr ""