← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1259540] Re: Translations aren't always loaded

 

This bug was fixed in the package ubuntu-ui-toolkit -
0.1.46+14.04.20140301-0ubuntu1

---------------
ubuntu-ui-toolkit (0.1.46+14.04.20140301-0ubuntu1) trusty; urgency=low

  [ Zsombor Egri ]
  * StateSaver does no longer save the component states upon
    destruction. State is saved when the application is deactivated
    (looses focus) and cleaned once the application gets re-activated
    (gains focus). Discards saved states when the application closes
    properly. Ignores state saving when the app is launched thru content
    pickers. (LP: #1276174)

  [ Ugo Riboni ]
  * Allow appending query strings (which are then ignored) to the image
    id to allow a workaround for QT's inability to selectively clean the
    image cache.

  [ Leo Arias ]
  * Add a common autopilot test to try load pages in gallery (LP:
    #1231265)

  [ Michael Zanetti ]
  * Introduce the almighty UbuntuListView. So far not /that/ mighty tho.
    Can only deal with Expandables. (LP: #1169258)

  [ CI bot ]
  * On the autopilot listview emulator, scroll to the bottom to try to
    find elements not yet created. (LP: #1270200)

  [ tpeeters ]
  * Always use the ubuntu-mobile icon theme in UITK apps. (LP: #1284218)
  * Fix autopilot and unit tests for TabBar.

  [ Christian Dywan ]
  * Look for locale folder in the same prefix as the app data (LP:
    #1259540)
  * Remove activeFocus hack for OSK from QuickUtils (LP: #1259476)
  * Add a common autopilot test to try load pages in gallery (LP:
    #1231265)
  * Use PIPESTATUS to avoid getting the wrong return value (LP:
    #1284699)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Sat, 01 Mar 2014 12:53:03 +0000

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1259540

Title:
  Translations aren't always loaded

Status in Ubuntu UI Toolkit:
  Confirmed
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Fix Released

Bug description:
  In

    https://code.launchpad.net/~kalikiana/ubuntu-ui-
  toolkit/xdglocale/+merge/188359

  i18n::setDomain() was updated to call bindtextdomain on the first of
  the XDG data directories that it finds has a "locale" subdirectory.

  This happens regardless of whether the translations are actually
  installed there and, if they are not, causes gettext to not find them.

  To reproduce:

    1. Have no translations for your UITK-using-and-translated application in /usr/local/share/locale
    2. Make sure that directory exists
    3. Set LC_MESSAGES=<some locale that should work, eg de_DE.UTF-8>
    4. Launch the application
    5. It isn't translated

  Then remove /usr/local/share/locale and note that the application is
  now translated.

  The UITK needs to either replicate the algorithm that gettext uses to
  find .mo files before calling bindtextdomain() on a directory, or it
  needs to not call bindtextdomain() by default. If it's not called then
  gettext will use the system location, which is usually right. App
  authors will need to override it themselves if necessary (already
  possible). Crucially, you have to not call it unless you /know/ that
  the translations are there.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qtdeclarative5-ubuntu-ui-toolkit-plugin 0.1.46+14.04.20131129-0ubuntu1
  ProcVersionSignature: Ubuntu 3.12.0-5.13-generic 3.12.2
  Uname: Linux 3.12.0-5-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.7-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Dec 10 13:03:51 2013
  InstallationDate: Installed on 2012-10-07 (428 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121007)
  SourcePackage: ubuntu-ui-toolkit
  UpgradeStatus: Upgraded to trusty on 2013-05-07 (217 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1259540/+subscriptions


References