Project

General

Profile

Actions

Patch #12645

closed

Russian numeric translation

Added by Toshi MARUYAMA almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Translations
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description


Related issues

Related to Redmine - Patch #12640: Russian "about_x_hours" translation changeClosed

Actions
Related to Redmine - Patch #10066: i18n not working with russian gemClosed

Actions
Related to Redmine - Patch #1635: Plural form for ru.ymlClosedAzamat Hackimov2008-07-14

Actions
Related to Redmine - Defect #13192: Russian "notice_failed_to_save_time_entries" translationClosed

Actions
Has duplicate Redmine - Defect #8096: Wrong plural form selection for russian localization.Closed2011-04-07

Actions
Actions #2

Updated by Mikhail Velkin almost 12 years ago

If:
Language Name Code Category Examples Rules
Russian ru one 1, 21, 31, 41, 51, 61... one > n mod 10 is 1 and n mod 100 is not 11
few 2-4, 22-24, 32-34... > n mod 10 in 2..4 and n mod 100 not in 12..14
many 0, 5-20, 25-30, 35-40... > n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14
other 1.2, 2.07, 5.94... > everything else

Then:

about_x_hours:
    one:   "около %{count} часа" 
    few:   "около %{count} часов" 
    many:  "около %{count} часов" 
    other: "около %{count} часа" 
x_hours:
    one:   "%{count} час" 
    few:   "%{count} часа" 
    many:  "%{count} часов" 
    other: "%{count} часа" 

Actions #3

Updated by Mikhail Velkin almost 12 years ago

And also may be these:

gui_validation_error: 1 ошибка
gui_validation_error_plural: "%{count} ошибок" 
gui_validation_error_plural2: "%{count} ошибки" 
gui_validation_error_plural5: "%{count} ошибок" 
...
label_download: "%{count} загрузка" 
label_download_plural: "%{count} скачиваний" 
label_download_plural2: "%{count} загрузки" 
label_download_plural5: "%{count} загрузок" 
...
label_modification: "%{count} изменение" 
label_modification_plural: "%{count} изменений" 
label_modification_plural2: "%{count} изменения" 
label_modification_plural5: "%{count} изменений" 

need replace to:

gui_validation_error:
    one:   "%{count} ошибка" 
    few:   "%{count} ошибки" 
    many:  "%{count} ошибок" 
    other: "%{count} ошибки" 
...
label_download:
    one:   "%{count} загрузка" 
    few:   "%{count} загрузки" 
    many:  "%{count} загрузок" 
    other: "%{count} загрузки" 
...
label_modification:
    one:   "%{count} изменение" 
    few:   "%{count} изменения" 
    many:  "%{count} изменений" 
    other: "%{count} изменения" 

Actions #4

Updated by Mikhail Velkin almost 12 years ago

Need to check anything else?

Actions #5

Updated by Mikhail Velkin almost 12 years ago

And also these:

notice_failed_to_save_time_entries: "Невозможно сохранить %{count} затраченное время для %{total} выбранных: %{ids}." 
...
label_x_issues:
    zero:  0 Задач
    one:   1 Задача
    few:   "%{count} Задач" 
    many:  "%{count} Задач" 
    other: "%{count} Задач" 
...
label_last_n_weeks: последние %{count} недель

need replace to:

notice_failed_to_save_time_entries:
label_x_issues:
    one:   "%{count} задача" 
    few:   "%{count} задачи" 
    many:  "%{count} задач" 
    other: "%{count} Задачи" 
...
label_last_n_weeks:
    one:   "последняя %{count} неделя" 
    few:   "последние %{count} недели" 
    many:  "последние %{count} недель" 
    other: "последние %{count} недели" 

and divide the option "notice_failed_to_save_time_entries" to several separate bloks.

Actions #6

Updated by Toshi MARUYAMA almost 12 years ago

  • Subject changed from Russian few hour is not used to Russian numeric translation
  • Category changed from I18n to Translations
Actions #7

Updated by Toshi MARUYAMA almost 12 years ago

  • Tracker changed from Defect to Patch
Actions #8

Updated by Toshi MARUYAMA almost 12 years ago

  • Status changed from New to Closed
  • Target version set to 2.3.0

Mikhail Velkin wrote:

and divide the option "notice_failed_to_save_time_entries" to several separate bloks.

I create new issue #13192.

Actions #9

Updated by Mikhail Velkin almost 12 years ago

almost_x_years:
    one:   "почти 1 год" 
    few:   "почти %{count} года" 
    many:  "почти %{count} лет" 
    other: "почти %{count} года" 

need replace to:

almost_x_years:
    one:   "почти %{count} год" 
    few:   "почти %{count} года" 
    many:  "почти %{count} лет" 
    other: "почти %{count} года" 

Actions #10

Updated by Toshi MARUYAMA almost 12 years ago

Mikhail Velkin wrote:

[...]

need replace to:
[...]

Committed in trunk r11429, thanks.

Actions #11

Updated by Filou Centrinov over 11 years ago

  • Has duplicate Defect #8096: Wrong plural form selection for russian localization. added
Actions

Also available in: Atom PDF