[gnome-control-center] "Brightness and Lock" is translated to "锁屏" but it should be "亮度和锁屏"

Bug #1181091 reported by Yu Ning
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Undecided
Ubuntu Simplified Chinese Translators
language-pack-gnome-zh-hans-base (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Package: language-pack-gnome-zh-hans-base
Package Version: 1:12.04+20130128 (precise-updates)

$ export LANG="zh_CN.UTF-8"
$ gettext -e -s --domain=gnome-control-center-2.0 "Brightness and Lock"
锁屏

The output should be "亮度和锁屏"

(In my Ubuntu 12.04.2 box there is no builtin locale data in package gnome-control-center-data, this is weird, but it is another issue)

Revision history for this message
Yu Ning (yuningdodo) wrote :

I have made a patch for this issue:
https://bazaar.launchpad.net/~yuningdodo/+junk/language-pack-gnome-zh-hans-base.lp1181091/revision/4

I am sorry I didn't find an upstream branch to submit my patch to, please let me know if I made some mistake.

Changed in ubuntu-translations:
assignee: nobody → Ubuntu Simplified Chinese Translators (ubuntu-l10n-zh-cn)
Revision history for this message
Anthony Wong (anthonywong) wrote :

The incorrect translation 锁屏 was made some time after 12.04 was released, it is now corrected to "亮度和锁屏":
https://translations.launchpad.net/ubuntu/precise/+source/gnome-control-center/+pots/gnome-control-center-2.0/zh_CN/+translate?batch=10&show=all&search=brightness+and+lock

Changed in ubuntu-translations:
status: New → Fix Committed
Revision history for this message
Yu Ning (yuningdodo) wrote :

@Anthony, thank you for your information, however that is "another issue" in my bug description. Although the translation of gnome-control-center itself is correct we found it locale data is not built into the packages.

When I build gnome-control-center with debuild in my box I can find the locale data included in generated package gnome-control-center-data. But when if it is built by LP then the locale data is missing, so it will always fallback to the ones provided in language-pack-gnome-zh-hans-base.

So there is in fact two issues:
1. locale data are missing from the gnome-control-center packages built by LP (issue or design?)
2. fallback translation in language-pack-gnome-zh-hans-base are not correct.

Aron Xu (happyaron)
Changed in ubuntu-translations:
status: Fix Committed → Fix Released
Changed in language-pack-gnome-zh-hans-base (Ubuntu):
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.