launchpad PO file outdated

Bug #973980 reported by Vincent Hou on 2012-04-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Unassigned

Bug Description

I tried to generate the mo file for my local Chinese Simplified environment. However, many error translations were raised.

error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:316: unknown named placeholder u'
path'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:381: incompatible format for plac
eholder u'account_name': 'o' and 's' are not compatible
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:538: the format strings are of di
fferent kinds
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:694: unknown named placeholder u'
exception'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:791: unknown named placeholder u'
zone_id'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:995: unknown named placeholder u'
host'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:1536: placeholders are incompatib
le
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:2348: unknown named placeholder u
'extra_specs'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:2360: unknown named placeholder u
'resp'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:2475: unknown named placeholder u
'state'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:3031: the format strings are of d
ifferent kinds
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:3439: unknown named placeholder u
'name_label'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:3446: unknown named placeholder u
'name_label'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:3570: the format strings are of d
ifferent kinds
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:4353: unknown named placeholder u
'instance_id'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:4360: unknown named placeholder u
'instance_id'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:4427: unknown named placeholder u
'driver_method'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:5484: unknown named placeholder u
'container_format'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:5489: unknown named placeholder u
'container_format'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:5494: unknown named placeholder u
'error'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:5514: unknown named placeholder u
'container_format'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:5519: unknown named placeholder u
'container_format'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:5528: unknown named placeholder u
'container_format'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:5537: unknown named placeholder u
'container_format'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:5542: unknown named placeholder u
'container_format'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:5547: unknown named placeholder u
'container_format'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:6109: the format strings are of d
ifferent kinds
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:6114: unknown named placeholder u
'resp'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:6119: unknown named placeholder u
'role_id'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:6158: placeholders are incompatib
le
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:6183: unknown named placeholder u
'vbd_ref'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:6583: unknown named placeholder u
'instance_id'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:7318: unknown named placeholder u
'image_id'
error: ./nova/locale\zh_CN\LC_MESSAGES\nova.po:7323: placeholders are incompatib
le
compiling catalog './nova/locale\\zh_CN\\LC_MESSAGES\\nova.po' to './nova/locale
\\zh_CN\\LC_MESSAGES\\nova.mo'

I have checked them one by one and found that the launchpad po file is outdated, because the translation items, which caused errors, have been newly added into the code or updated and in launhpad po file these items do not exist, so the original translations were no longer valid and correct. This bug not only happens to Chinese, but also other languages.
It can be fixed if the correct translation is provided in the po file itself, but I strongly recommend that the newly generated PO file for localization should be uploaded to launchpad. Otherwise, this project won't work for any language except English.

Vincent Hou (houshengbo) on 2012-04-06
Changed in nova:
status: New → Confirmed
status: Confirmed → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers