← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 983271] 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

** Changed in: checkbox
       Status: New => Triaged

** Changed in: checkbox
    Milestone: None => 0.14.x

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/983271

Title:
  i18n: »checkbox-qt-service«, »Show this message again« & »Please enter
  the e-mail …« not translatable?

Status in Checkbox System Testing:
  Triaged
Status in Ubuntu Translations:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/checkbox/+bug/983271/+subscriptions