Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update translations for 2.2 release #1946

Merged
merged 8 commits into from
Dec 17, 2018
Merged

Update translations for 2.2 release #1946

merged 8 commits into from
Dec 17, 2018

Conversation

esbrandt
Copy link
Contributor

@esbrandt esbrandt commented Dec 16, 2018

Incorporate the most recent translations for application and windows installer in the wake of the 2.2 release. Also fixes some continuity errors with the [WIX] template.

This PR appears to be huge, but it is mostly just changes in line numbers in *.tsfiles. (We could do away with the line numbers, but the price is the loss of context informations - bad for translators)

``lupdate src -recursive -noobsolete -extensions cpp,h,ui -ts res/translations/mixxx.ts``
Scanning directory 'src'...
Updating 'res/translations/mixxx.ts'...
Found 2392 source text(s) (3 new and 2389 already existing)
Removed 1 obsolete entries
``./wxl2pot.py -l Language mixxx_en-us.wxl po/mixxx.pot`
In ZSH:
``for i in po/*.po; do destfile=${i#po/}; ./po2wxl.py -l Language -f -p 1 $i mixxx_${destfile%.po}.wxl; done`
In ZSH:
``for XX in res/translations/mixxx_*.ts; do lrelease -nounfinished $XX -qm res/translations/${$(basename $XX)%.*}.qm; done`
…illing strings from translations memory. They were lost in a previous commit 343246a

``tx pull -r mixxxdj-windows-installer.mixxxpot -a --minimum-perc=1``

The template and the translations became out-of-sync, since a manual push to TF following mixxxdj#1899
I do not exactly know what the issue was, probably it does not work well that strings in the language files were manually changed, but not the timestamp.

Anyway, now the template and the translations are n-sync again. Back to normal. In the future , we should NOT accept manual edits to translation files.
Either use the TF online editor or one of the many available text translation softwares, see https://mixxx.org/wiki/doku.php/internationalization#offline_translation_software
In ZSH:
``for i in po/*.po; do destfile=${i#po/}; ./po2wxl.py -l Language -f -p 1 $i mixxx_${destfile%.po}.wxl; done`
@esbrandt esbrandt mentioned this pull request Dec 16, 2018
3 tasks
@Be-ing
Copy link
Contributor

Be-ing commented Dec 17, 2018

Thanks. We should really automate this now. @esbrandt do you have permission to create/configure jobs on Jenkins?

@Be-ing Be-ing merged commit 63fcfc5 into mixxxdj:2.2 Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants