Untranslated strings, from Qt
Reported version
2.1
Type
Wording/Translation
Severity
S4 - Minor
Status
closed
Regression
No
Workaround
No
Project
In the color dialog (you get there via Inspecte/Element/Color) there is an untranslated (and untranslatable) string "Pick Screen Color":
This string is not in MuseScore's code, it seems to stem directly from Qt, but is not in any of the qt*.ts files we distribute.
A quick search in my Qt installation seems to indicate that this string is in qtbase_*.{ts,qm},
The other string, "Select Color" is found in our code, translatable and even translated into German, I just wasn't using the latest translation when producing the image...
Attachment | Size |
---|---|
colorpicker.png | 83.11 KB |
Comments
It would be helpful to compare the qt_XX.ts file from Qt 5.4 and 5.9 and the one we have on github in term of number of languages and translation completion. In case the Qt ones are better, let's remove the ts from MuseScore code base and deploy the Qt ones on install.
The install package of Qt only has the .qm files (on Windows at least), so we'd need to get to the sources, to check on the qt_XX.ts, qtbase_XX.ts and possibly more files
Looking at Qt 5.9.1 source: To replace our current qt_XX.{ts,qm} (36 languages), we'd need to grab and deploy all the {qt,qtbase,qtmultimedia,qtquick1,qtscript,qtxmlpatterns}_XX.{ts,qm} files, (26 languages, 117 *.qm files currently, in Qt 5.9.1, 25 languages, 81 files in Qt 5.4), preferably using wildcards, to benefit from futur additions.
So we'd lose 10 languages (el, eu, id, nb, nl, nl_BE, pt_BR, ro, tr, vi) in master, 11 in 2.x (+bg, although we don't deploy it in master either), but gain not having to deal with Qt translations anymore.
We could also just keep those 10 qt_XX.{ts,qm} files only we have (and/or send them upstream for Qt to include them?), and maybe even update them from from the Qt sources
In a README I found:
See http://wiki.qt.io/Qt_Localization for information on how to contribute translations.
See https://github.com/musescore/MuseScore/pull/3272
Fixed in branch master, commit 41b7906b2b
Fix #243516: Untranslated strings, from Qt
Remove all Qt translations from the MuseScore repository
that are also part of Qt 5.4 and later, and deploy Qt's instead.
Also , as a side effect, deploy our Bulgarian translation for Qt
(seems a day one ommision and not needed for Qt-5.9.1 and later)
Simplify the whole process for adding languages and running lupdate
Should be good for master and 2.2
Fixed in branch master, commit 69c376f4fa
Merge pull request #3272 from Jojo-Schmitz/qt-translations
Fix #243516: Untranslated strings, from Qt
Fixed in branch 2.2, commit d1b606e03c
Fix #243516: Untranslated strings, from Qt
Remove all Qt translations from the MuseScore repository
that are also part of Qt 5.4 and later, and deploy Qt's instead.
Also , as a side effect, deploy our Bulgarian translation for Qt
(seems a day one ommision and not needed for Qt-5.9.1 and later)
Simplify the whole process for adding languages and running lupdate
Should be good for master and 2.2
See https://musescore.org/en/node/245221 and https://github.com/musescore/MuseScore/pull/3278
Fixed in branch master, commit 8a880d96ce
Fix #243516: Switch languages doesn't work, languages.xml missing from build
see https://musescore.org/en/node/245221
Fixed in branch 2.2, commit 9375addc36
Fix #243516: Switch languages doesn't work, languages.xml missing from build
see https://musescore.org/en/node/245221
Automatically closed -- issue fixed for 2 weeks with no activity.
commit has been reverted for the 2.2 branch
Commit reverted from 2.2 branch indeed. So the original bug is not solved. See https://musescore.org/en/node/267555 for why.
In reply to Commit reverted from 2.2… by [DELETED] 5
After an home made compilation, MS 2.2 68c1238 is running on my PC.
QT strings in French are restored.
But yes, the original issue, the string "Pick screen color" is unstranslated, nor in French, nor in German...
No more fixes for 2.x and it is fixed in master and therefore in 3.0
Automatically closed -- issue fixed for 2 weeks with no activity.