プロジェクト

全般

プロフィール

Vote #63608

完了

Plural form for ru.yml

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Translations_12
対象バージョン:
開始日:
2008/07/14
期日:
進捗率:

100%

予定工数:
category_id:
12
version_id:
2
issue_org_id:
1635
author_id:
1592
assigned_to_id:
1592
comments:
8
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

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

I have not tested properly.
--------------------------------------------------------------------------------
One quesion. How to refresh .yml file with new gloc rule?
--------------------------------------------------------------------------------
Patch to r1675, including fixes, spelling and plural forms.
--------------------------------------------------------------------------------
Patch to r1684.

Added missed plural form and localized time and date format
--------------------------------------------------------------------------------
patch to r1699 with new string
--------------------------------------------------------------------------------
patch to r1715 with new string
--------------------------------------------------------------------------------
patch to r1787
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,12645,Russian numeric translation

Admin Redmine さんが約4年前に更新

  • カテゴリTranslations_12 にセット
  • 対象バージョン0.8_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0