Incorrect PO-Revision-Date in some translation files for aodh project
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack i18n |
Fix Released
|
High
|
Unassigned |
Bug Description
Following .po files have empty revision date, "PO-Revision-Date: \n":
aodh/locale/
aodh/locale/
aodh/locale/
aodh/locale/
aodh/locale/
This makes compile_catalog to fail:
$ python setup.py compile_catalog
running compile_catalog
compiling catalog aodh/locale/
compiling catalog aodh/locale/
compiling catalog aodh/locale/
compiling catalog aodh/locale/
compiling catalog aodh/locale/
compiling catalog aodh/locale/
Traceback (most recent call last):
File "setup.py", line 29, in <module>
pbr=True)
File "/usr/lib64/
dist.
File "/usr/lib64/
self.
File "/usr/lib64/
cmd_obj.run()
File "/home/
self.
File "/home/
catalog = read_po(infile, locale)
File "/home/
_add_message()
File "/home/
catalog[msgid] = message
File "/home/
self.
File "/home/
self.
File "/home/
tt = time.strptime(
File "/usr/lib64/
return _strptime(
File "/usr/lib64/
(data_string, format))
ValueError: time data u'' does not match format '%Y-%m-%d %H:%M'
I've checked in https:/
Changed in openstack-i18n: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → KATO Tomoyuki (kato-tomoyuki) |
Changed in openstack-i18n: | |
status: | Triaged → In Progress |
tags: | added: infra |
Hi,
After revieweing all .po files in all projects, following files have this issue:
aodh/aodh/ locale/ it/LC_MESSAGES/ aodh.po locale/ pt_BR/LC_ MESSAGES/ aodh.po locale/ zh_CN/LC_ MESSAGES/ aodh-log- info.po locale/ zh_CN/LC_ MESSAGES/ aodh.po locale/ zh_TW/LC_ MESSAGES/ aodh.po ironic/ locale/ fr/LC_MESSAGES/ ironic- log-critical. po ironic/ locale/ ja/LC_MESSAGES/ ironic- log-critical. po ironic/ locale/ ko_KR/LC_ MESSAGES/ ironic- log-critical. po ironic/ locale/ pt_BR/LC_ MESSAGES/ ironic- log-critical. po neutron/ locale/ tr_TR/LC_ MESSAGES/ neutron- log-info. po neutron/ locale/ tr_TR/LC_ MESSAGES/ neutron- log-warning. po locale/ fr/LC_MESSAGES/ trove-log- error.po locale/ fr/LC_MESSAGES/ trove-log- warning. po oslo_cache/ locale/ de/LC_MESSAGES/ oslo_cache. po oslo_cache/ locale/ es/LC_MESSAGES/ oslo_cache. po oslo_cache/ locale/ fr/LC_MESSAGES/ oslo_cache. po oslo_cache/ locale/ it/LC_MESSAGES/ oslo_cache. po oslo_cache/ locale/ ko_KR/LC_ MESSAGES/ oslo_cache. po oslo_cache/ locale/ pt_BR/LC_ MESSAGES/ oslo_cache. po oslo_cache/ locale/ ru/LC_MESSAGES/ oslo_cache. po oslo_cache/ locale/ tr_TR/LC_ MESSAGES/ oslo_cache. po oslo_cache/ locale/ zh_CN/LC_ MESSAGES/ oslo_cache. po oslo_cache/ locale/ zh_TW/LC_ MESSAGES/ oslo_cache. po oslo_policy/ locale/ ar/LC_MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ cs/LC_MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ cs/LC_MESSAGES/ oslo_policy. po oslo_policy/ locale/ de/LC_MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ de/LC_MESSAGES/ oslo_policy. po oslo_policy/ locale/ en_AU/LC_ MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ en_GB/LC_ MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ es/LC_MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ es/LC_MESSAGES/ oslo_policy. po oslo_policy/ locale/ fr/LC_MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ fr/LC_MESSAGES/ oslo_policy. po oslo_policy/ locale/ it/LC_MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ it/LC_MESSAGES/ oslo_policy. po oslo_policy/ locale/ ja/LC_MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ ko_KR/LC_ MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ ko_KR/LC_ MESSAGES/ oslo_policy. po oslo_policy/ locale/ pt/LC_MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ pt_BR/LC_ MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ pt_BR/LC_ MESSAGES/ oslo_policy. po oslo_policy/ locale/ ru/LC_MESSAGES/ oslo_policy. po oslo_policy/ locale/ tr_TR/LC_ MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ tr_TR/LC_ MESSAGES/ oslo_policy. po oslo_policy/ locale/ vi_VN/LC_ MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ zh_CN/LC_ MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ zh_TW/LC_ MESSAGES/ oslo_policy- log-error. po oslo_policy/ locale/ zh_TW/LC_ MESSAGES/ oslo_policy. po oslo_utils/ locale/ es/LC_MESSA. ..
aodh/aodh/
aodh/aodh/
aodh/aodh/
aodh/aodh/
ironic/
ironic/
ironic/
ironic/
neutron/
neutron/
trove/trove/
trove/trove/
oslo-cache/
oslo-cache/
oslo-cache/
oslo-cache/
oslo-cache/
oslo-cache/
oslo-cache/
oslo-cache/
oslo-cache/
oslo-cache/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-policy/
oslo-utils/