power-manager not loads correct .mo file

Bug #105439 reported by Ilya Petrov
2
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kde-guidance-powermanager

guidance-power-manager does not load correct .mo file:

14595 access("/home/muromec/.kde/share/locale/en_US/LC_MESSAGES/guidance.mo", R_OK) = -1 ENOENT (No such file or directory)
14595 access("/usr/share/locale/en_US/LC_MESSAGES/guidance.mo", R_OK) = -1 ENOENT (No such file or directory)
14595 access("/usr/share/locale-langpack/en_US/LC_MESSAGES/guidance.mo", R_OK) = -1 ENOENT (No such file or directory)

my locale is ru_UA.UTF-8, not us_US.
Instead of loading guidance.mo it tryes to load power-manager.mo:

14595 access("/home/muromec/.kde/share/locale/ru_UA.UTF-8/LC_MESSAGES/power-manager.mo", R_OK) = -1 ENOENT (No such file or directory)
14595 access("/usr/share/locale/ru_UA.UTF-8/LC_MESSAGES/power-manager.mo", R_OK) = -1 ENOENT (No such file or directory)
14595 access("/usr/share/locale-langpack/ru_UA.UTF-8/LC_MESSAGES/power-manager.mo", R_OK) = -1 ENOENT (No such file or directory)
14595 access("/home/muromec/.kde/share/locale/ru/LC_MESSAGES/power-manager.mo", R_OK) = -1 ENOENT (No such file or directory)
14595 access("/usr/share/locale/ru/LC_MESSAGES/power-manager.mo", R_OK) = -1 ENOENT (No such file or directory)
14595 access("/usr/share/locale-langpack/ru/LC_MESSAGES/power-manager.mo", R_OK) = -1 ENOENT (No such file or directory)

So the russian translation made in rosetta does not loads into program and it still works with english interface.

Revision history for this message
Anthony Mercatante (tonio) wrote :

Last upload to hardy fixes the issue.
By the way, there was a second bug so that *.py generated files where not using i18n.
Also Fixed

Changed in kde-guidance:
status: New → 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.