Comment 3 for bug 983271

Revision history for this message
Daniel Manrique (roadmr) wrote : Re: i18n: »checkbox-qt-service«, »Show this message again« & »Please enter the e-mail …« not translatable?

Hi Dennis,

Thanks so much for your bug report.

The "show this message again" string is provided by Qt's default QErrorMessage class, and thus you won't find the string as part of Checkbox.

I think the problem is that Qt-handled strings are not being translated. I'll have to take a look at whether Qt language packs are installed and we're initializing Qt's i18n layer properly.

Also, the dialog's title contains checkbox-qt-service; this is the actual executable's name and thus it wouldn't be good to translate it (you wouldn't translate "firefox" to the literal german translation, would you?). But one thing I can look into is giving the dialog a friendlier title, that can then be translated as usual.

Work to do:

1- Investigate what is needed for a Qt app to properly pick up translations, be it installing a language pack, initializing something in the code, or both.
2- Validate that Checkbox-qt actually does this; if not, fix it.
3- Modify the call to QErrorMessage.showDialog in qt/frontend/treemodel.cpp (line 13) to set a more sensible/friendlier title for the dialog.

I'll set as triaged based on the above.

Thanks again!