Patch #1635

Plural form for ru.yml

Added by Azamat Hackimov over 9 years ago. Updated about 9 years ago.

Status:ClosedStart date:2008-07-14
Priority:NormalDue date:
Assignee:Azamat Hackimov% Done:

100%

Category:Translations
Target version:0.8

Description

According GLoc documentation plural form string for russian language should be


_gloc_rule_default: '|n| n10=n%10; n100=n%100; (n10==1 && n100!=11) ? "_1" : (n10>=2 && n10<=4 && (n100<10 || n100>=20) ? "_2" : "_5") '

Patch included.

ru.yml.patch Magnifier - plural form for russian (534 Bytes) Azamat Hackimov, 2008-07-14 12:58

ru.yml.patch Magnifier (29.4 KB) Azamat Hackimov, 2008-07-18 18:19

ru.yml.patch Magnifier (30.7 KB) Azamat Hackimov, 2008-07-22 16:14

ru.yml.patch Magnifier - ru.yml r1699 (31.4 KB) Azamat Hackimov, 2008-07-26 22:23

ru.yml.patch Magnifier (31.5 KB) Azamat Hackimov, 2008-08-05 19:38

ru.yml.patch Magnifier (32.1 KB) Azamat Hackimov, 2008-09-07 20:49


Related issues

Related to Redmine - Patch #12645: Russian numeric translation Closed

Associated revisions

Revision 1813
Added by Azamat Hackimov about 9 years ago

fixed #1635, merged changes to trunk, sorting all strings

Revision 1842
Added by Nicolas Chuche about 9 years ago

r18549@gaspard (orig r1813): winterheart | 2008-09-13 18:30:03 +0200
fixed #1635, merged changes to trunk, sorting all strings

History

#1 Updated by Azamat Hackimov over 9 years ago

Or :)

_gloc_rule_default: '|n| n10=n%10; n100=n%100; (n10==1 && n100!=11) ? "" : (n10>=2 && n10<=4 && (n100<10 || n100>=20) ? "_plural2" : "_plural5") '

I have not tested properly.

#2 Updated by Azamat Hackimov over 9 years ago

One quesion. How to refresh .yml file with new gloc rule?

#3 Updated by Azamat Hackimov over 9 years ago

Patch to r1675, including fixes, spelling and plural forms.

#4 Updated by Azamat Hackimov over 9 years ago

Patch to r1684.

Added missed plural form and localized time and date format

#5 Updated by Azamat Hackimov over 9 years ago

patch to r1699 with new string

#6 Updated by Azamat Hackimov over 9 years ago

patch to r1715 with new string

#7 Updated by Azamat Hackimov over 9 years ago

  • File ru.yml.patchMagnifier added
  • Assignee set to Jean-Philippe Lang

patch to r1787

#8 Updated by Azamat Hackimov about 9 years ago

  • Status changed from New to Closed
  • Assignee changed from Jean-Philippe Lang to Azamat Hackimov
  • % Done changed from 0 to 100

Also available in: Atom PDF