Merge pull request #7337 from dotCooCoo/fix/ru-message-rows

i18n: Russian translates 1,811 more status and error messages
This commit is contained in:
BFlat
2026-11-15 15:47:06 +07:00
committed by GitHub
4 changed files with 1843 additions and 1 deletions
File diff suppressed because it is too large Load Diff
+21
View File
@@ -4041,6 +4041,27 @@ fn dataset_import_cell_errors_are_translated() {
}
}
/// Russian shows command, script and file messages in Russian: a whole message, a message that
/// begins with a feature name, messages with a name, a number or a command id filled in, and the
/// two messages whose catalog rows escape a backslash.
#[test]
fn russian_translates_command_script_and_file_messages() {
let ru = Lang::from_code("ru").expect("registered");
for (english, russian) in [
("CSV is empty", "CSV пуст"),
("Offset Path: the path is too complex to offset", "Смещение контура: контур слишком сложен для смещения"),
("no swatch named `Gold`", "нет образца с именем `Gold`"),
("object 12 is not an Intertwine group", "объект 12 не является группой переплетения"),
("no slice 4 in the image (see slice.list)", "в изображении нет фрагмента 4 (см. slice.list)"),
("give origin: [x, y], or reset: true", "укажите origin: [x, y] или reset: true"),
("`kinsoku` must be \"none\", \"hard\" or \"soft\"", "`kinsoku` должно быть \"none\", \"hard\" или \"soft\""),
("\\ at end of pattern", "\\ в конце шаблона"),
("a \\u escape needs four hexadecimal digits", "после \\u нужны четыре шестнадцатеричные цифры"),
] {
assert_eq!(message(ru, english), russian, "{english}");
}
}
/// The errors of the parameter checks that many commands share (a number given as text, a missing
/// number or index, a fraction for a whole number, `ids` that aren't a list of object ids, an
/// `ids` entry or an `id` that is negative, an object id that names no object, a date that isn't
+1 -1
View File
@@ -56,7 +56,7 @@ plus review. Native-speaker review is human work and isn't in the hours.
| Italian | `it` | 8,924 rows, 3,560 of them `@msg` and 48 `@msgplural` (counted 2026-11-13): the untranslated report lists 54 missing messages for it, which open #7116, #7211, #7378 and #7405 translate | full |
| Dutch | `nl` | 3,447 `@msg` and 48 `@msgplural` rows (counted 2026-11-13): in `COMPLETE_MESSAGES`, and the untranslated report lists 41 missing messages for it; one/other plurals | full |
| Danish | `da` | 7,422 rows, 1,636 of them `@msg` and 48 `@msgplural` (counted 2026-11-14 on `main` at `edb228ac3`): in `COMPLETE_MESSAGES`, and the untranslated report lists the same missing messages for it as for Greek, Spanish and Finnish; one/other plurals | full |
| Russian | `ru` | 4,009 / 4,020 | full |
| Russian | `ru` | 9,259 rows, 3,444 of them `@msg` and 48 `@msgplural` (counted 2026-11-13): in `COMPLETE_MESSAGES`; the untranslated report lists 46 menu strings, 21 `tl!` literals and 11 undo labels as missing | full |
| Ukrainian | `uk` | 8,802 rows, 3,439 of them `@msg` and 48 `@msgplural` (counted 2026-11-13); one/few/many plurals | full |
| Hungarian | `hu` | 9,166 rows, 3,444 of them `@msg` and 48 `@msgplural` (counted 2026-11-13): the untranslated report lists 40 missing messages for it, and lists 47 menu strings, 25 `tl!` strings, 11 undo labels and 45 swatch names without a row; one plural form | full |
| Polish | `pl` | 9,044 rows, 3,439 of them `@msg` and 48 `@msgplural` (counted 2026-11-13): the untranslated report lists 46 missing messages for it, and 47 menu strings, 26 `tl!` literals, 11 undo labels and 45 swatch names; one/few/many plurals | full; native review pending |
File diff suppressed because one or more lines are too long