Wrong plural formula for russian
Bug #1556772 reported by
Ying Chun Guo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack i18n |
Fix Released
|
High
|
Ying Chun Guo |
Bug Description
Dear collegues,
i've checked current russian translation in horizon repository and find out that we have wrong plural formula in upstream.
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
Copied by Daisy from Ilya Alekseyev's email: http://
Changed in openstack-i18n: | |
status: | Confirmed → Fix Committed |
Changed in openstack-i18n: | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
To post a comment you must log in.
Below are the steps we previously used.
We can follow the same steps.
I think the statistic data will not be affected in step 1 to 5.
But, if we delete master-old, the contribution data in master-old will be removed.
So my suggestion is to do the same steps, and keep master-old version (mark it as readonly)
till 6 month or 12 month later when the contribution data is not that important.
> 1. Create Russian translation files with only the correct header and the
> pluralities translation items.
> 2. Create a new version named as russian-fix
> 3. Upload the source files and the Russian translation files created in #1
> to the version russian-fix
> 4. Merge the stable version with version russian-fix
> 5. Rename stable version to stable-old, and rename russian-fix to stable.