[Openstack-i18n] Wrong plural formula for russian

Akihiro Motoki amotoki at gmail.com
Thu Mar 10 16:59:33 UTC 2016


Daisy,

Was the fix applied to the master version too?
I think we first need to figure out the reason.

If the uploaded POT file affects plural configuration,
I can help you as Horizon team.


2016-03-11 1:35 GMT+09:00 Ying Chun Guo <guoyingc at cn.ibm.com>:
> Hi, Ilya
>
> I think we had fixed this problem before.
> I don't know why it comes again.
>
> The previous step we used to fix is described in a mail [1].
> But I'm worried that the contribution statistic data will be not lost
> after making versions and copy.
>
> Best regards
> Ying Chun Guo (Daisy)
>
> [1]
> http://lists.openstack.org/pipermail/openstack-i18n/2015-September/001479.html
>
>
>
> Ilya Alekseyev <ilyaalekseyev at acm.org> wrote on 03/10/2016 09:42:05 PM:
>
>> From: Ilya Alekseyev <ilyaalekseyev at acm.org>
>> To: "openstack-i18n at lists.openstack.org"
> <openstack-i18n at lists.openstack.org>
>> Date: 03/10/2016 09:43 PM
>> Subject: [Openstack-i18n] Wrong plural formula for russian
>>
>> Dear collegues,
>>
>> i've checked current russian translation in horizon repository and
>> find out that we have wrong plural formula in upstream.
>>
>> https://github.com/openstack/horizon/blob/master/
>> openstack_dashboard/locale/ru/LC_MESSAGES/django.po#L35-L37
>>
>> There is only 3 plural forms in Russian.
>> And correct formula should be
>> nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 &&
>> (n%100<10 || n%100>=20) ? 1 : 2);
>>
>> Looks like some script is wrong.
>> Does anybody know how to fix it?
>>
>> Kind regards,
>> Ilya Alekseyev_______________________________________________
>> Openstack-i18n mailing list
>> Openstack-i18n at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
>
>
>
> _______________________________________________
> Openstack-i18n mailing list
> Openstack-i18n at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n



More information about the Openstack-i18n mailing list