yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38575
[Bug 1494819] Re: Russian strings for Actions within Project->Instances page 'More Actions' dropdown are missing
I'm _certain_ this problem is caused by the strange plurality count. I
can make this work by editing the Russian PO file
cd openstack_dashboard/locale/ru/LC_MESSAGES
cp django.po django.po-tmp
grep -v msgstr.2. django.po-tmp > django.po
sed -i s/msgstr.3./msgstr[2]/ django.po
and edit the plurality function to be
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
recompile the catalog
./run_tests.sh —compilemessages
** Also affects: openstack-i18n
Importance: Undecided
Status: New
--
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/1494819
Title:
Russian strings for Actions within Project->Instances page 'More
Actions' dropdown are missing
Status in OpenStack Dashboard (Horizon):
Confirmed
Status in openstack i18n:
New
Bug description:
The same page translated to other languages where unicode is used
(Serbian, Japanese) looks ok.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1494819/+subscriptions
References