VectorCraft: An open-source, vector art tool written by scratch in pure Rust
i18n: each catalog names the blend spine with one term
dotCooCoo63c17ec13e14
diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsvindex 135ef76ab..348fe653e 100644--- a/crates/ui-egui/src/i18n/bg.tsv+++ b/crates/ui-egui/src/i18n/bg.tsv@@ -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}diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsvindex 70fa0461a..d463fa4af 100644--- a/crates/ui-egui/src/i18n/el.tsv+++ b/crates/ui-egui/src/i18n/el.tsv@@ -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}diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsvindex 4ea604801..6e65c347e 100644--- a/crates/ui-egui/src/i18n/fi.tsv+++ b/crates/ui-egui/src/i18n/fi.tsv@@ -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}diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsvindex 6a660a101..0289c34b0 100644--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@ -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` を指定してくださいdiff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsvindex 5c235cf35..3fd6f8c34 100644--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@ -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 프로필에 추가diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsvindex eaad4d8dc..c60cc9ea5 100644--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@ -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}diff --git a/crates/ui-egui/src/i18n/tests.rs b/crates/ui-egui/src/i18n/tests.rsindex 8327fc076..635859d15 100644--- a/crates/ui-egui/src/i18n/tests.rs+++ b/crates/ui-egui/src/i18n/tests.rs@@ -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")}diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsvindex dd2f27283..5c3c2e926 100644--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@ -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}diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsvindex c90275bef..0291d180a 100644--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -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}”(打开此文档的源文件)吗?diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsvindex 201aa2142..4998ee62e 100644--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -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}」(開啟此文件的來源檔案)嗎?