»checkbox-qt-service«, »Show this message again«, »No«, »Yes« appear untranslated (Qt language pack related?)

Bug #983271 reported by Dennis Baudys
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox (Legacy)
Won't Fix
Medium
Unassigned
Ubuntu Translations
Triaged
Medium
Unassigned

Bug Description

In the current checkbox for Ubuntu Precise (running in VirtualBox) there are some messages, that can't be translated – or at least I don't find them in the German translation template in Launchpad.

The messages are
  »checkbox-qt-service«
and
  »Show this message again«

They appear in the same dialog, that opens if you unselect some test component. Please see the attached screenshot.

Thanks in advance for fixing these untranslatables or pointing out where to find these strings, if they are translatable.

Dennis

Revision history for this message
Dennis Baudys (thecondordb) wrote :
description: updated
Revision history for this message
Dennis Baudys (thecondordb) wrote :

I just found another untranslatable string (or a string that does not appear in the German translation template of checkbox).

If you click on the button/tab »Ergebnisse« (Results), you can read
  »Please enter the e-mail address associated with your Launchpad account (if applicable) and click the Submit Results button to submit these test results to Ubuntu Friendly.«

Please see attached screenshot.

summary: - i18n: »checkbox-qt-service« and »Show this message again« not
- translatable
+ i18n: »checkbox-qt-service«, »Show this message again« & »Please enter
+ the e-mail …« not translatable?
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!

Changed in checkbox:
importance: Undecided → Medium
status: New → Triaged
milestone: none → 0.14.x
Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Dennis,

the "please enter e-mail address" string is in the .ui files, which should be fully translatable. I'll look at that issue too.

Thanks!

Revision history for this message
Dennis Baudys (thecondordb) wrote :

Hi Daniel.

Thanks for looking into this issue.

I don't know anything about .ui files – but I just checked the .pot file inside …
https://launchpad.net/checkbox/trunk/0.10.4/+download/checkbox_0.10.4.tar.gz
… and there is no string like …

»Please enter the e-mail address associated with your Launchpad account (if applicable) and click the Submit Results button to submit these test results to Ubuntu Friendly.«

That might be the reason for it not be translatable in Launchpad.

Regards,

Dennis

Revision history for this message
Gabor Kelemen (kelemeng) wrote :

This should be translated with the latest language pack (0417):

https://translations.launchpad.net/ubuntu/precise/+source/checkbox/+pots/checkbox/de/+translate?batch=10&show=all&search=please+enter

I saw this translated for Hungarian. The other from checkbox-qt-service is not translated for me either.

Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Dennis Baudys (thecondordb) wrote :

Thanks for the information.

I've just updated Precise in VirtualBox and the string »Please enter the e-mail address associated with …« now appears translated to me and I could also find it in the Checkbox translation template, thanks Gabor.

Regarding the untranslated appearing strings from Qt …
  »checkbox-qt-service«
  »Show this message again«
… I could find (at least) another two strings, that might be related to that …
  »Yes«
  »No«
… please see attached screenshot.

Therefore I'll edit the title of the bug accordingly now.

summary: - i18n: »checkbox-qt-service«, »Show this message again« & »Please enter
- the e-mail …« not translatable?
+ »checkbox-qt-service«, »Show this message again«, »No«, »Yes« appear
+ untranslated (Qt language pack related?)
Daniel Manrique (roadmr)
tags: added: checkbox-ui
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Thanks for reporting this but I don't think we'll be fixing those. We've reimplemented the user interface so if you find more untranslatable strings in the checkbox-gui project (current checkbox package in Ubuntu trusty) please report those and we will be addressing each problem.

affects: checkbox → checkbox-legacy
Changed in checkbox-legacy:
milestone: 0.14.x → none
Zygmunt Krynicki (zyga)
Changed in checkbox-legacy:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.