Commit Graph

17 Commits

Author SHA1 Message Date
Lukáš Tinkl 068449c04c chore: update English TS files 2023-06-26 15:07:38 +02:00
Lukáš Tinkl 38b6bdbfd3 chore: split English TS files
- qml_base.ts is created as a reference point for translators
- qml_en.ts is a minimal overlay translation, providing just the needed
  plural forms
- adjust the script to generate the above TS files
- fixup some leftover qsTrId() calls and the qmake file
2022-10-19 10:48:08 +02:00
Lukáš Tinkl 639a70b611 fix(l10n): fix strings extraction
- handle `SOURCES` recursively, rather than spelling all the paths out;
most of them were outdated and some still missing
- let the Python script skip existing translations (in case we need to
manually add plurals)
- updated qml_en.ts as a result of these changes

Stats:
```
Updating '../../ui/i18n/qml_en.ts'...
    Found 1703 source text(s) (109 new and 1594 already existing)
    Kept 35 obsolete entries
    Same-text heuristic provided 35 translation(s)
```
2022-07-21 15:57:59 -04:00
Patryk Osmaczko 757a05900f chore(translations): update i18n docs
issue: #4544
2022-07-06 19:09:50 +02:00
Patryk Osmaczko 356f9c53db chore(translations): add update-en-ts.py 2022-07-06 19:09:50 +02:00
Sale Djenic 1acbc76cc9 chore(@desktop/general): run translation script
All untranslated properties are translated now using translation scripts.
2021-07-19 12:27:45 -04:00
Jonathan Rainville b277346490 chore: change translations to only translate complete languages 2021-02-18 15:23:58 -05:00
Pascal Precht 7fe2d8696f fix(scripts): i18n script shouldn't break because of multi contexts 2020-09-14 14:39:27 -04:00
Jonathan Rainville bdc625ea17 fix code review comments 2020-07-17 11:55:01 -04:00
Jonathan Rainville eb87259234 docs: update tldr for the translation scripts readme 2020-07-17 11:55:01 -04:00
Jonathan Rainville a8f1dd3eaa doc: update readme to show new commands 2020-07-17 11:55:01 -04:00
Jonathan Rainville ad8c1e455c chore: add translations for all languages 2020-07-17 11:55:01 -04:00
Jonathan Rainville 8860770356 feat: make the EN version just use the source translation 2020-07-17 11:55:01 -04:00
Jonathan Rainville 543123b5e7 feat: add basic xml translator 2020-07-17 11:55:01 -04:00
Jonathan Rainville 9c637fdd43 feat: show literal text instead of ids + script fixes 2020-07-08 12:37:41 -04:00
Jonathan Rainville 6967e0a537 feat: add readme on how to use the translation script 2020-07-08 12:37:41 -04:00
Jonathan Rainville ef6cbf9d70 feat: add translation script that transforms qstr to qstrid 2020-07-08 12:37:41 -04:00