i18n: each catalog names the blend spine with one term

Nine catalogs named a blend's spine with two or more terms across the
rows for the spine commands and the Replace Spine message. Bulgarian
used four (оста, гръбна линия, скелет, гръбнак), and Ukrainian, Greek,
Finnish, Japanese, Korean, Brazilian Portuguese and both Chinese
catalogs used two each.

Each of those catalogs now uses the term its rows used most often:
оста in Bulgarian, вісь in Ukrainian, κεντρική καμπύλη in Greek,
selkäranka in Finnish, スパイン in Japanese, 스파인 in Korean, coluna in
Brazilian Portuguese, 脊线 in Simplified Chinese and 脊線 in Traditional
Chinese. 19 rows change, and no English string changes. A new i18n test
checks that every row naming the spine in the 19 catalogs uses its
catalog's term.
This commit is contained in:
dotCooCoo
2026-10-21 16:46:42 +07:00
committed by bflatastic
parent d4df4646ee
commit 63c17ec13e
10 changed files with 60 additions and 19 deletions
+4 -4
View File
@@ -698,7 +698,7 @@
Delete Selected Item Изтриване на избран елемент
Delete Selection Изтриване на селекцията
Delete Slices Изтриване на отрязъци
Delete Spine Point Изтриване на точка от гръбна линия
Delete Spine Point Изтриване на точка от оста
Delete Stop Изтриване на репер
Delete Swatch Изтриване на образец
Delete Symbol Изтриване на символ
@@ -2517,7 +2517,7 @@
Replace Замяна
Replace Font Замяна на шрифт
Replace it with another file, or ignore it: its images keep showing the preview saved with the document. Заменете го с друг файл или го игнорирайте: неговите изображения ще продължат да показват записания с документа преглед.
Replace Spine Замяна на скелет
Replace Spine Замяна на оста
Replace Symbol Замяна на символ
Replace With Font Замяна с шрифт
Replaces the saved preset of that name. Заменя записаната предварителна настройка с това име.
@@ -2563,7 +2563,7 @@
Reverse Path Direction Обръщане посоката на пътя
Reverse Path Direction Off Изключване на обръщането на посоката на пътя
Reverse Path Direction On Включване на обръщането на посоката на пътя
Reverse Spine Обръщане на гръбнака
Reverse Spine Обръщане на оста
Revert Връщане към запазеното
Revert to the saved version of “{name}”? Връщане към запазената версия на „{name}“?
Replace “{name}”, the file this document was opened from? Замяна на „{name}“, файла, от който беше отворен този документ?
@@ -3711,7 +3711,7 @@ axis Both И двете
@msg Preview in Browser needs the desktop app (the web downloads files instead) Прегледът в браузър изисква настолното приложение (уеб версията изтегля файловете вместо това)
@msg Release Guides: no guides Освобождаване на водачи: няма водачи
@msg Release: no layer to put the rectangle in Освобождаване: няма слой, в който да се постави правоъгълникът
@msg Replace Spine: select a blend and a path Замяна на гръбнак: изберете плавно преливане и път
@msg Replace Spine: select a blend and a path Замяна на оста: изберете плавно преливане и път
@msg select two or more objects to distribute изберете два или повече обекта за разпределение
@msg select paths or anchor points изберете пътища или опорни точки
@msg SVG parse error: {0} Грешка при анализ на SVG: {0}
Can't render this file because it contains an unexpected character in line 2 and column 73.
+3 -3
View File
@@ -98,7 +98,7 @@
Add Selected Artwork (Alt: as one asset) Προσθήκη επιλεγμένου γραφικού (Alt: ως ένα στοιχείο)
Add Selected Artwork as Multiple Assets Προσθήκη επιλεγμένου γραφικού ως πολλών στοιχείων
Add Selected Artwork as One Asset Προσθήκη επιλεγμένου γραφικού ως ενός στοιχείου
Add Spine Point Προσθήκη σημείου άξονα
Add Spine Point Προσθήκη σημείου κεντρικής καμπύλης
Add Swatches Προσθήκη δειγμάτων χρωμάτων
Add to Graphic Styles Προσθήκη στα στυλ γραφικών
Add to Profiles Προσθήκη στα προφίλ
@@ -672,7 +672,7 @@
Delete Selected Item Διαγραφή επιλεγμένου στοιχείου
Delete Selection Διαγραφή επιλογής
Delete Slices Διαγραφή τομών
Delete Spine Point Διαγραφή σημείου άξονα
Delete Spine Point Διαγραφή σημείου κεντρικής καμπύλης
Delete Stop Διαγραφή στάσης ντεγκραντέ
Delete Swatch Διαγραφή δείγματος χρώματος
Delete Symbol Διαγραφή συμβόλου
@@ -2072,7 +2072,7 @@ axis Both Και τα δύο
@msg Preview in Browser needs the desktop app (the web downloads files instead) Η προεπισκόπηση σε πρόγραμμα περιήγησης απαιτεί την εφαρμογή υπολογιστή (η έκδοση ιστού πραγματοποιεί λήψη αρχείων)
@msg Release Guides: no guides Αποδέσμευση οδηγών: δεν υπάρχουν οδηγοί
@msg Release: no layer to put the rectangle in Αποδέσμευση: δεν υπάρχει επίπεδο για να τοποθετηθεί το ορθογώνιο
@msg Replace Spine: select a blend and a path Αντικατάσταση άξονα: επιλέξτε ανάμειξη και διαδρομή
@msg Replace Spine: select a blend and a path Αντικατάσταση κεντρικής καμπύλης: επιλέξτε ανάμειξη και διαδρομή
@msg select two or more objects to distribute Επιλέξτε δύο ή περισσότερα αντικείμενα για κατανομή
@msg select paths or anchor points Επιλέξτε διαδρομές ή σημεία αγκύρωσης
@msg SVG parse error: {0} Σφάλμα ανάλυσης SVG: {0}
Can't render this file because it contains an unexpected character in line 2021 and column 19.
+1 -1
View File
@@ -4016,7 +4016,7 @@ imageTrace Outline Ääriviiva
@msg Preview in Browser needs the desktop app (the web downloads files instead) Esikatselu selaimessa vaatii työpöytäsovelluksen (verkkoversio lataa tiedostot sen sijaan)
@msg Release Guides: no guides Vapauta apuviivat: ei apuviivoja
@msg Release: no layer to put the rectangle in Vapauta: ei tasoa, johon suorakulmion voisi sijoittaa
@msg Replace Spine: select a blend and a path Korvaa runko: valitse sulautus ja polku
@msg Replace Spine: select a blend and a path Korvaa selkäranka: valitse sulautus ja polku
@msg select two or more objects to distribute valitse kaksi tai useampia objekteja jaettavaksi tasaisesti
@msg select paths or anchor points valitse polkuja tai ankkuripisteitä
@msg SVG parse error: {0} SVG-jäsennysvirhe: {0}
Can't render this file because it contains an unexpected character in line 2 and column 73.
+3 -3
View File
@@ -239,8 +239,8 @@
Blend ブレンド
Blend Options… ブレンドオプション…
Expand 拡張
Replace Spine ブレンド軸を置き換え
Reverse Spine ブレンド軸を反転
Replace Spine スパインを置き換え
Reverse Spine スパインを反転
Reverse Front to Back 前後を反転
Envelope Distort エンベロープ
Make with Warp… ワープで作成…
@@ -3989,7 +3989,7 @@ swatch Bright Violet ビビッドバイオレット
@msg {path}: not a file {path}: ファイルではありません
@msg {path}: {e} {path}: {e}
@msg can't write .{ext} images .{ext} 画像は書き出せません
@msg Replace Spine: select a blend and a path ブレンド軸を置き換え: ブレンドとパスを選択してください
@msg Replace Spine: select a blend and a path スパインを置き換え: ブレンドとパスを選択してください
@msg nothing to wrap まとめるものがありません
@msg select a blend ブレンドを選択してください
@msg select a blend or give `id` ブレンドを選択するか、`id` を指定してください
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1 -1
View File
@@ -823,7 +823,7 @@
Add Selected Artwork (Alt: as one asset) 선택한 아트워크 추가(Alt: 하나의 에셋으로)
Add Selected Artwork as Multiple Assets 선택한 아트워크를 여러 에셋으로 추가
Add Selected Artwork as One Asset 선택한 아트워크를 하나의 에셋으로 추가
Add Spine Point 중심선 점 추가
Add Spine Point 스파인 포인트 추가
Add Used Colors 사용한 색상 추가
Add to Graphic Styles 그래픽 스타일에 추가
Add to Profiles 프로필에 추가
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1 -1
View File
@@ -3374,7 +3374,7 @@ axis Both Ambos
@msg Preview in Browser needs the desktop app (the web downloads files instead) Visualizar no navegador exige o aplicativo para desktop (na web, os arquivos são baixados)
@msg Release Guides: no guides Liberar guias: não há guias
@msg Release: no layer to put the rectangle in Liberar: não há camada para colocar o retângulo
@msg Replace Spine: select a blend and a path Substituir eixo: selecione uma mesclagem e um traçado
@msg Replace Spine: select a blend and a path Substituir coluna: selecione uma mesclagem e um traçado
@msg select two or more objects to distribute selecione dois ou mais objetos para distribuir
@msg select paths or anchor points selecione traçados ou pontos de ancoragem
@msg SVG parse error: {0} Erro de análise do SVG: {0}
Can't render this file because it contains an unexpected character in line 6 and column 47.
+41
View File
@@ -1210,6 +1210,47 @@ fn vietnamese_domain_terms_are_consistent() {
assert_eq!(message(vi(), "Replace Spine: select a blend and a path"), "Thay thế trục: chọn một đối tượng hòa trộn và một đường dẫn");
}
/// Each catalog listed here names a blend's spine with one term, in one of the forms listed for
/// it, in every row whose English text names the spine: the spine commands' labels and the Replace
/// Spine message. A catalog missing from the list is not checked.
#[test]
fn each_catalog_names_the_blend_spine_with_one_term() {
const SPINE_TERMS: &[(&str, &[&str])] = &[
("bg", &["оста"]),
("cs", &["páteř"]),
("de", &["achse"]),
("el", &["κεντρικής καμπύλης"]),
("es", &["eje"]),
("fi", &["selkäran"]),
("fr", &["dorsale"]),
("hu", &["gerinc"]),
("it", &["dorsale"]),
("ja", &["スパイン"]),
("ko", &["스파인"]),
("pl", &["grzbiet"]),
("pt-br", &["coluna"]),
("ru", &["остов"]),
("sv", &["ryggrad"]),
("uk", &["вісь", "осі"]),
("vi", &["trục"]),
("zh-hans", &["脊线"]),
("zh-hant", &["脊線"]),
];
let mut bad = Vec::new();
for (code, terms) in SPINE_TERMS {
let lang = Lang::from_code(code).expect("language registered");
let (entries, _) = parse_entries(lang.0.source);
let rows: Vec<_> = entries.iter().filter(|(_, src, _)| src.to_lowercase().contains("spine")).collect();
assert!(!rows.is_empty(), "{code}: no row names the spine");
for (ctx, src, tr) in rows {
if !terms.iter().any(|t| tr.to_lowercase().contains(t)) {
bad.push(format!("{code}: {ctx} {src:?} → {tr:?}"));
}
}
}
assert!(bad.is_empty(), "rows that name the spine with another term:\n{}", bad.join("\n"));
}
fn uk() -> Lang {
Lang::from_code("uk").expect("uk registered")
}
+2 -2
View File
@@ -2585,7 +2585,7 @@ mark-style Japanese Японський
Replace Замінити
Replace Font Замінити шрифт
Replace it with another file, or ignore it: its images keep showing the preview saved with the document. Замініть його іншим файлом або ігноруйте: зображення продовжать показувати попередній перегляд, збережений з документом.
Replace Spine Замінити кістяк
Replace Spine Замінити вісь
Replace Symbol Замінити символ
Replace With Font Замінити шрифтом
Replaces the saved preset of that name. Замінює збережений набір із таким ім’ям.
@@ -3809,7 +3809,7 @@ axis Both Обидві
@msg Preview in Browser needs the desktop app (the web downloads files instead) Перегляд у браузері вимагає настільної програми (web-версія завантажує файли)
@msg Release Guides: no guides Звільнення напрямних: немає напрямних
@msg Release: no layer to put the rectangle in Звільнення: немає шару для приміщення прямокутника
@msg Replace Spine: select a blend and a path Заміна кістяка: виділіть перехід і контур
@msg Replace Spine: select a blend and a path Заміна осі: виділіть перехід і контур
@msg select two or more objects to distribute виділіть два або більше об’єктів для розподілу
@msg select paths or anchor points виділіть контури або опорні точки
@msg SVG parse error: {0} Помилка розбору SVG: {0}
Can't render this file because it contains an unexpected character in line 726 and column 40.
+2 -2
View File
@@ -2478,7 +2478,7 @@ font-script Japanese 汉字
Replace 替换
Replace Font 替换字体
Replace it with another file, or ignore it: its images keep showing the preview saved with the document. 将其替换为其他文件,或忽略:其图像继续显示随文档保存的预览。
Replace Spine 替换路径
Replace Spine 替换脊线
Replace Symbol 替换符号
Replace With Font 替换为字体
Replaces the saved preset of that name. 替换同名已存预设。
@@ -2524,7 +2524,7 @@ font-script Japanese 汉字
Reverse Path Direction 反转路径方向
Reverse Path Direction Off 关闭反转路径方向
Reverse Path Direction On 开启反转路径方向
Reverse Spine 反转路径
Reverse Spine 反转脊线
Revert 恢复
Revert to the saved version of “{name}”? 要恢复为“{name}”已存储的版本吗?
Replace “{name}”, the file this document was opened from? 要替换“{name}”(打开此文档的源文件)吗?
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2 -2
View File
@@ -3337,7 +3337,7 @@ font-script Japanese 漢字
Replace 取代
Replace Font 取代字體
Replace it with another file, or ignore it: its images keep showing the preview saved with the document. 以其他檔案取代,或忽略:其影像會繼續顯示隨文件儲存的預覽。
Replace Spine 取代軸線
Replace Spine 取代脊線
Replace Symbol 取代符號
Replace With Font 取代為字體
Replaces the saved preset of that name. 取代同名的已儲存預設集。
@@ -3384,7 +3384,7 @@ font-script Japanese 漢字
Reverse Path Direction 反轉路徑方向
Reverse Path Direction Off 關閉反轉路徑方向
Reverse Path Direction On 開啟反轉路徑方向
Reverse Spine 反轉軸線
Reverse Spine 反轉脊線
Revert 回復
Revert to the saved version of “{name}”? 要回復為「{name}」已儲存的版本嗎?
Replace “{name}”, the file this document was opened from? 要取代「{name}」(開啟此文件的來源檔案)嗎?
Can't render this file because it contains an unexpected character in line 6 and column 47.