<html><body><p>Thank you for the investigation, Akihiro and Alex.<br><br>Below are the steps we previously used. <br>We can follow the same steps, just changing "stable" version to "master" version.<br>I think the statistic data will not be affected in step 1 to 5.<br>But, if we delete master-old, the contribution data in master-old will be removed.<br>So my suggestion is to do the same steps, and keep master-old version (mark it as readonly)<br>till 6 month or 12 month later when the contribution data is not that important.<br><br>> 1. Create Russian translation files with only the correct header and the <br>> pluralities translation items.<br>> 2. Create a new version named as russian-fix<br>> 3. Upload the source files and the Russian translation files created in #1 <br>> to the version russian-fix<br>> 4. Merge the stable version with version russian-fix<br>> 5. Rename stable version to stable-old, and rename russian-fix to stable.<br><br>Alex and Akihiro, please confirm my proposal.<br>Then I can take actions.<br><br>Best regards<br>Ying Chun Guo (Daisy)<br><br><br><tt>Alex Eng <aeng@redhat.com> wrote on 2016/03/11 04:36:15:<br><br>> From: Alex Eng <aeng@redhat.com></tt><br><tt>> To: Ilya Alekseyev <ilyaalekseyev@acm.org></tt><br><tt>> Cc: Akihiro Motoki <amotoki@gmail.com>, Ying Chun Guo/China/<br>> IBM@IBMCN, "openstack-i18n@lists.openstack.org" <openstack-<br>> i18n@lists.openstack.org></tt><br><tt>> Date: 2016/03/11 04:37</tt><br><tt>> Subject: Re: [Openstack-i18n] Wrong plural formula for russian</tt><br><tt>> <br>> Hi,š</tt><br><tt>> <br>> If we fix the plural forms in pot file and push to Zanata, that <br>> would not affect the statistics.š</tt><br><tt>> <br>> But I remember last time when we trying to fix this, there are some <br>> limitation of the pluralform wont update after the file is being <br>> uploaded once to Zanata. And we have to create a new version with <br>> fixed pot file and use "merge translation" feature to bring over all<br>> the translations.</tt><br><tt>> <br>> We can do the same thing again and the statistics won't be affected.<br>> (copied translation doesn't count in as contribution)</tt><br><tt>> <br>> I checked and Zanata has the correct form.š</tt><br><tt>> <br>> nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 &&<br>> (n%100<10 || n%100>=20) ? 1 : 2)š</tt><br><tt>> <br>> ---------------------------------------------</tt><br><tt>> <br>> Alex Engš</tt><br><tt>> Senior Software Engineer<br>> Globalisation Tools Engineering<br>> DID:š+61 3514 8262š<br>> Mobile:š+614 2335 3457š<br>> <br>> Red Hat, Asia-Pacific Pty Ltdš<br>> Level 1, 193 North Quayš<br>> Brisbane 4000š<br>> Office:š+61 7 3514 8100š<br>> Fax:š+61 7 3514 8199š<br>> Website:šwww.redhat.com</tt><br><tt>> <br>> On Fri, Mar 11, 2016 at 3:00 AM, Ilya Alekseyev <ilyaalekseyev@acm.org> wrote:</tt><br><tt>> Daisy,</tt><br><tt>> <br>> i remember we fixed this for Liberty. But looks like somewhere wrong<br>> config or error in script that creating master version.š</tt><br><tt>> How ca we fix it? How i can help with this issue?</tt><br><tt>> <br>> Alex, is it possible to fix plural formula ofr version and keep <br>> statistics safe?</tt><br><tt>> <br>> We need to fix it as soon as possible, because 4 plural forms making<br>> issues for russian translation (empty message, empty buttons, etc, <br>> as we can seee in Kilo release).</tt><br><tt>> <br>> Kind regards,</tt><br><tt>> Ilya Alekseyev.</tt><br><tt>> <br>> ó Õ×ÁÖÅÎÉÅÍ,</tt><br><tt>> éÌØÑ áÌÅËÓÅÅ×</tt><br><tt>> <br>> Russian OpenStack Community</tt><br><tt>> <br>> 2016-03-10 19:37 GMT+03:00 Akihiro Motoki <amotoki@gmail.com>:</tt><br><tt>> Russian translations in the horizon repo is downloaded from Zanata,<br>> OpenStack translation platform.<br>> It seems Zanata has wrong plural configuration.<br>> <br>> > Daisy, Alex,<br>> Could you check Russian configuration in Zanata is correct?</tt><br><tt>> <br>> 2016-03-10 22:42 GMT+09:00 Ilya Alekseyev <ilyaalekseyev@acm.org>:<br>> > Dear collegues,<br>> ><br>> > i've checked current russian translation in horizon repository and find out<br>> > that we have wrong plural formula in upstream.<br>> ><br>> > <a href="https://github.com/openstack/horizon/blob/master/">https://github.com/openstack/horizon/blob/master/</a><br>> openstack_dashboard/locale/ru/LC_MESSAGES/django.po#L35-L37<br>> ><br>> > There is only 3 plural forms in Russian.<br>> > And correct formula should be<br>> > nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 &&<br>> > (n%100<10 || n%100>=20) ? 1 : 2);<br>> ><br>> > Looks like some script is wrong.<br>> > Does anybody know how to fix it?<br>> ><br>> > Kind regards,<br>> > Ilya Alekseyev<br>> ></tt><br><tt>> > _______________________________________________<br>> > Openstack-i18n mailing list<br>> > Openstack-i18n@lists.openstack.org<br>> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n</a><br>> ></tt><BR>
</body></html>