QT UI: strings in generated _ui.py are no longer marked for translation

Bug #938626 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Control Panel
Status tracked in Trunk
Stable-3-0
Fix Released
Undecided
Unassigned
Trunk
Fix Released
High
Natalia Bidart
Ubuntu Single Sign On Client
Status tracked in Trunk
Stable-3-0
Fix Released
Undecided
Unassigned
Trunk
Fix Released
High
Natalia Bidart
Ubuntu Translations
Fix Released
High
Unassigned
ubuntu-sso-client (Ubuntu)
Fix Released
Undecided
Unassigned
ubuntuone-control-panel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Given that we're now installing the gettext translation with gettext.install (so we can use the flag unicode=True), we need to set all the strings programatically, instead of setting some from the Qt4 designer generated files.

Related branches

Changed in ubuntuone-control-panel (Ubuntu):
milestone: none → ubuntu-12.04-beta-1
Changed in ubuntu-sso-client (Ubuntu):
milestone: none → ubuntu-12.04-beta-1
Changed in ubuntuone-control-panel:
assignee: nobody → Natalia Bidart (nataliabidart)
importance: Undecided → High
status: New → Fix Committed
Changed in ubuntu-sso-client:
assignee: nobody → Natalia Bidart (nataliabidart)
importance: Undecided → High
status: New → In Progress
Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-sso-client - 2.99.5-0ubuntu1

---------------
ubuntu-sso-client (2.99.5-0ubuntu1) precise; urgency=low

  * New upstream release:
    - Captcha loading is no longer failing for the Qt UI (LP: #933679).
    - Added stylesheets for the Qt UI.
    - Fixed: Qt UI: must call the backend passing reply_handler
      and error_handler (LP: #931452).
    - Make gettext return unicode strings. Also, transform arguments passed
      to the GLib spawnner to bytes (LP: #933632).
    - Try to load the qt main/ implementation when possible, if not default
      to the glib (LP: #933534).
    - Make the bin_dir discoverable when running from the system installation
      (LP: #933039).
    - Implement (so far dummy) timeout_func for the Qt frontend (LP: #933758).
  * debian/control:
    - adding missing dependency on gnome-keyring for python-ubuntu-sso-client
      (LP: #938693).
  * debian/patches/fix-938626.patch:
    - No more strings coming up from the Designer ui files so we ensure that
      those are marked for translation (LP: #938626).
  * debian/watch: updated milestone to 2.99.5.
 -- Natalia Bidart (nessita) <email address hidden> Wed, 22 Feb 2012 16:53:51 -0300

Changed in ubuntu-sso-client (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-control-panel - 2.99.5-0ubuntu1

---------------
ubuntuone-control-panel (2.99.5-0ubuntu1) precise; urgency=low

  * New upstream release:
    - Control Panel shows quota in red with more accuracy depending on the
      free space (LP: #901314).
    - The Qt UI will make the file sync button inactive while a (re-) connection
      is in progress (LP: #878867).
    - Center the Qt UI main window when openning it (LP: #934173).
  * debian/control:
    - added a new binary package ubuntuone-control-panel-common providing
      common files and images for the frontend packages.
    - ubuntuone-control-panel-qt and ubuntuone-control-panel-gtk now depend on
      ubuntuone-control-panel-common.
    - bumping dependencies on ubuntu-sso-client to 2.99.5 and on
      ubuntuone-client to 2.99.4.
  * debian/patches/fix-937809-938626.patch:
    - Make gettext return unicode so we can format strings with unicode
      variables (LP: #937809).
    - No more strings coming up from the Designer ui files to ensure those get
      listed for translation (LP: #938626).
  * debian/ubuntuone-control-panel-common.install: new binary package listing
    files used by both the Qt and the GTK+ UIs.
  * debian/watch: updated milestone to 2.99.5.
 -- Natalia Bidart (nessita) <email address hidden> Wed, 22 Feb 2012 17:29:31 -0300

Changed in ubuntuone-control-panel (Ubuntu):
status: New → Fix Released
Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
status: Triaged → Fix Released
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.