Public bug reported: Hi,
The following format in openstack_dashboard/locale/djangojs.pot caused the fail of msgfmt, which blocked the import of translations. #: dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js:255 #, python-format msgid "Instance launched." msgid_plural "%s instances launched." msgstr[0] "" msgstr[1] "" The error log file is: http://logs.openstack.org/77/259677/20/check /gate-horizon-dsvm- integration/814d701/logs/devstacklog.txt.gz#_2016-01-07_06_48_30_569. The source code is line 255 in openstack_dashboard/dashboards/project/static/dashboard/project/workflow /launch-instance/launch-instance-model.service.js var message = ngettext('Instance launched.', '%s instances launched.', numberInstances); It should be changed to : var message = ngettext('%s instance launched.', '%s instances launched.', numberInstances); Please keep in mind that you must use the the same arguments in both msgid and msgid_plural, because some languages may have more than just two forms. Regards Daisy ** Affects: horizon Importance: Undecided Status: Confirmed ** Tags: i18n -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1532092 Title: Different arguments in msgid1 and msgid2 of ngettext() caused msgfmt fail Status in OpenStack Dashboard (Horizon): Confirmed Bug description: Hi, The following format in openstack_dashboard/locale/djangojs.pot caused the fail of msgfmt, which blocked the import of translations. #: dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js:255 #, python-format msgid "Instance launched." msgid_plural "%s instances launched." msgstr[0] "" msgstr[1] "" The error log file is: http://logs.openstack.org/77/259677/20/check /gate-horizon-dsvm- integration/814d701/logs/devstacklog.txt.gz#_2016-01-07_06_48_30_569. The source code is line 255 in openstack_dashboard/dashboards/project/static/dashboard/project/workflow /launch-instance/launch-instance-model.service.js var message = ngettext('Instance launched.', '%s instances launched.', numberInstances); It should be changed to : var message = ngettext('%s instance launched.', '%s instances launched.', numberInstances); Please keep in mind that you must use the the same arguments in both msgid and msgid_plural, because some languages may have more than just two forms. Regards Daisy To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1532092/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

