Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| doc:translation [25/01/2023 16:13] – [What should be translated?] scorpio810 | doc:translation [13/09/2026 08:46] (Version actuelle) – [New Qt6 version] scorpio810 | ||
|---|---|---|---|
| Ligne 7: | Ligne 7: | ||
| * the strings in the program itself: '' | * the strings in the program itself: '' | ||
| * In '' | * In '' | ||
| - | * The strings in the Qt toolkit: generally: '' | ||
| * The names in the elements collection: .elmt and qet_directory files in the '' | * The names in the elements collection: .elmt and qet_directory files in the '' | ||
| * The shortcut to QElectroTech in the menus: file '' | * The shortcut to QElectroTech in the menus: file '' | ||
| Ligne 17: | Ligne 16: | ||
| * [[http:// | * [[http:// | ||
| * [[https:// | * [[https:// | ||
| - | * [[https:// | + | * [[https:// |
| ===== And after ? ===== | ===== And after ? ===== | ||
| * Maintenance of translations by regular monitoring of changes in the Git or Github repository; | * Maintenance of translations by regular monitoring of changes in the Git or Github repository; | ||
| Ligne 54: | Ligne 53: | ||
| </ | </ | ||
| - | Ou | + | |
| + | < | ||
| + | QT_QPA_PLATFORMTHEME=generic qelectrotech | ||
| + | </ | ||
| < | < | ||
| Ligne 63: | Ligne 65: | ||
| Download this script to put in your git copy | Download this script to put in your git copy | ||
| - | < | + | < |
| Make it executable | Make it executable | ||
| Ligne 96: | Ligne 98: | ||
| Note: *.ts are generally updated by the developer when he considers that the character strings to be translated are viable or by translators. | Note: *.ts are generally updated by the developer when he considers that the character strings to be translated are viable or by translators. | ||
| * Édit qelectrotech.pro file: Comment out the lines starting with '' | * Édit qelectrotech.pro file: Comment out the lines starting with '' | ||
| - | * Run the following command: < | + | * Run the following command: < |
| * Restore missing references to source files : < | * Restore missing references to source files : < | ||
| * Restore file qelectrotech.pro: | * Restore file qelectrotech.pro: | ||
| * Generate translation binaries: < | * Generate translation binaries: < | ||
| + | ==== New Qt6 version ==== | ||
| + | |||
| + | < | ||
| + | < | ||
| + | cmake -B build | ||
| + | cmake --build build --target update_translations | ||
| + | </ | ||
| + | or | ||
| + | < | ||
| + | cd build | ||
| + | cmake .. | ||
| + | make update_translations | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | </ | ||
| ===== translation status ===== | ===== translation status ===== | ||