Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
doc:translation [25/01/2023 16:14] – [What should be translated?] scorpio810doc:translation [28/03/2024 15:02] (Version actuelle) – [How to update .ts files from source files?] scorpio810
Ligne 16: Ligne 16:
   * [[http://l10n-files.qt.io/l10n-files/|Qt daily updated translation files]]   * [[http://l10n-files.qt.io/l10n-files/|Qt daily updated translation files]]
   * [[https://wiki.qt.io/Qt_Localization|wiki Qt_Localization ]]   * [[https://wiki.qt.io/Qt_Localization|wiki Qt_Localization ]]
-  * [[https://qelectrotech.org/forum/viewtopic.php?pid=16027#p16027|Qet_translate : Element translation tool]] [[https://download.tuxfamily.org/qet/builds/qet_translate/ |Download ]]+  * [[https://qelectrotech.org/forum/viewtopic.php?pid=16027#p16027|Qet_translate : Element translation tool]] [[https://download.qelectrotech.org/qet/builds/qet_translate/ |Download ]]
 ===== 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 62: Ligne 62:
  
 Download this script to put in your git copy Download this script to put in your git copy
-<code>wget http://download.tuxfamily.org/qet/scripts/detect_non_translated_elements.sh</code>+<code>wget https://download.qelectrotech.org/qet/scripts/detect_non_translated_elements.sh</code>
  
 Make it executable Make it executable
Ligne 95: Ligne 95:
 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 ''TRANSLATIONS += '' : <code bash>sed -i 's/^TRANSLATIONS/#TRANSLATIONS/g' qelectrotech.pro</code>   * Édit qelectrotech.pro file: Comment out the lines starting with ''TRANSLATIONS += '' : <code bash>sed -i 's/^TRANSLATIONS/#TRANSLATIONS/g' qelectrotech.pro</code>
-  * Run the following command: <code>lupdate -noobsolete qelectrotech.pro -ts lang/qet_{en,es,ru,pt,cs,pl,ca,de,ro,it,ar,sl,hr,el,nl,be,sl,zh,hu,pt_br,da,sr,fr,tr,sk,nb,mn,ja,cn,uk}.ts</code>+  * Run the following command: <code>lupdate -noobsolete qelectrotech.pro -ts lang/qet_{ar,be,ca,cs,da,de,el,en,es,fr,hr,hu,it,ja,mn,nb,nl,pl,pt,pt_BR,ro,ru,sk,sl,sr,tr,uk,zh}.ts</code>
   * Restore missing references to source files : <code>/usr/lib/x86_64-linux-gnu/qt5/bin/lupdate -locations absolute  qelectrotech.pro -ts lang/qet_br.ts</code>   * Restore missing references to source files : <code>/usr/lib/x86_64-linux-gnu/qt5/bin/lupdate -locations absolute  qelectrotech.pro -ts lang/qet_br.ts</code>
   * Restore file qelectrotech.pro: <code bash>sed -i 's/^#TRANSLATIONS/TRANSLATIONS/g' qelectrotech.pro</code>   * Restore file qelectrotech.pro: <code bash>sed -i 's/^#TRANSLATIONS/TRANSLATIONS/g' qelectrotech.pro</code>
Imprimer/exporter