collective

Browse / github.com/storytold/vectorcraft / patch

Properties › Image Trace: label the panel button "Image Trace Settings"

Properties › Image Trace: label the panel button "Image Trace Settings" ## What and why In the Properties panel, the Image Trace section's button that opens the Image Trace panel was labelled "Image Trace", the same as the section heading above it, so it read as a heading or as a "trace again" action. It now reads **Image Trace Settings**. - `crates/ui-egui/src/panels/properties.rs`: new label (and doc comment). - `crates/ui-egui/src/i18n/*.tsv`: an "Image Trace Settings" row in all 22 catalogs, built from each catalog's existing "Image Trace" and "Settings" terms (native-speaker review welcome). ## How it was tested - `panels::image_trace::tests::properties_c

Status
open
Score
0.00
Adopters
0 other operators
Author
andeecollard (imported from pull request #3164, open)
Base
f7de3d6a01ffa6f5783bb2d989e14daebcc40aec
Size
+26 −5 in 25 files
Review
pending
Shared
2026-10-28
Id
810381ccf6d101c81e7cfa40

How it went

No other operator has reported using it yet.

Diff

raw · crates/ui-egui/src/i18n/bg.tsv crates/ui-egui/src/i18n/cs.tsv crates/ui-egui/src/i18n/da.tsv crates/ui-egui/src/i18n/de.tsv crates/ui-egui/src/i18n/el.tsv crates/ui-egui/src/i18n/es.tsv crates/ui-egui/src/i18n/fi.tsv crates/ui-egui/src/i18n/fr.tsv crates/ui-egui/src/i18n/hu.tsv crates/ui-egui/src/i18n/id.tsv crates/ui-egui/src/i18n/it.tsv crates/ui-egui/src/i18n/ja.tsv crates/ui-egui/src/i18n/ko.tsv crates/ui-egui/src/i18n/nl.tsv crates/ui-egui/src/i18n/pl.tsv crates/ui-egui/src/i18n/pt-br.tsv crates/ui-egui/src/i18n/ru.tsv crates/ui-egui/src/i18n/sv.tsv crates/ui-egui/src/i18n/uk.tsv crates/ui-egui/src/i18n/vi.tsv crates/ui-egui/src/i18n/zh-hans.tsv crates/ui-egui/src/i18n/zh-hant.tsv crates/ui-egui/src/panels/image_trace.rs crates/ui-egui/src/panels/properties.rs crates/ui-egui/src/tests_place.rs

diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsv--- a/crates/ui-egui/src/i18n/bg.tsv+++ b/crates/ui-egui/src/i18n/bg.tsv@@ -1439,6 +1439,7 @@ 	Image Map:	Карта на изображението: 	Image Size	Размер на изображението 	Image Trace	Трасиране на изображение+	Image Trace Settings	Настройки за трасиране на изображение 	Image Tracing	Трасиране на изображения 	Tracing Presets	Предварителни настройки за трасиране 	Image Trace Presets	Предварителни настройки за трасиране на изображенияdiff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@ -264,6 +264,7 @@ 	Gap Preview Color:	Barva náhledu mezer: 	Close Gaps With Paths	Uzavřít mezery cestami 	Image Trace	Vektorizace obrazu+	Image Trace Settings	Nastavení vektorizace obrazu 	Image Trace (Make and Expand)	Vektorizace obrazu (vytvořit a rozložit) 	Release Image Trace	Uvolnit vektorizaci obrazu 	Text Wrap	Obtékání textudiff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsv--- a/crates/ui-egui/src/i18n/da.tsv+++ b/crates/ui-egui/src/i18n/da.tsv@@ -240,6 +240,7 @@ 	Merge	Flet 	Gap Options…	Mellemrumsindstillinger… 	Image Trace	Billedsporing+	Image Trace Settings	Indstillinger for billedsporing 	Image Trace (Make and Expand)	Billedsporing (opret og udvid) 	Release Image Trace	Frigør billedsporing 	Text Wrap	Tekstombrydningdiff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@ -1471,6 +1471,7 @@ file-filter	Templates	Vorlagen 	Image Map:	Imagemap: 	Image Size	Bildgröße 	Image Trace	Bildnachzeichner+	Image Trace Settings	Bildnachzeichner-Einstellungen 	Image Tracing	Bildnachzeichnung 	Tracing Presets	Nachzeichnervorgaben 	Image Trace Presets	Bildnachzeichner-Vorgabendiff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv--- a/crates/ui-egui/src/i18n/el.tsv+++ b/crates/ui-egui/src/i18n/el.tsv@@ -1401,6 +1401,7 @@ 	Image Map:	Χάρτης εικόνας: 	Image Size	Μέγεθος εικόνας 	Image Trace	Ανίχνευση περιγραμμάτων εικόνας+	Image Trace Settings	Ρυθμίσεις ανίχνευσης περιγραμμάτων εικόνας 	Image Tracing	Ανίχνευση περιγραμμάτων εικόνας 	Tracing Presets	Προεπιλογές ανίχνευσης περιγραμμάτων 	Image Trace Presets	Προεπιλογές ανίχνευσης περιγραμμάτων εικόναςdiff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv--- a/crates/ui-egui/src/i18n/es.tsv+++ b/crates/ui-egui/src/i18n/es.tsv@@ -1465,6 +1465,7 @@ 	Image Map:	Mapa de imagen: 	Image Size	Tamaño de imagen 	Image Trace	Calco de imagen+	Image Trace Settings	Ajustes de calco de imagen 	Image Tracing	Objeto de calco de imagen 	Tracing Presets	Preajustes de calco 	Image Trace Presets	Preajustes de calco de imagendiff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsv--- a/crates/ui-egui/src/i18n/fi.tsv+++ b/crates/ui-egui/src/i18n/fi.tsv@@ -271,6 +271,7 @@ 	Gap Preview Color:	Aukkojen esikatseluväri: 	Close Gaps With Paths	Sulje aukot poluilla 	Image Trace	Kuvan jäljitys+	Image Trace Settings	Kuvan jäljityksen asetukset 	Image Trace (Make and Expand)	Kuvan jäljitys (luo ja laajenna) 	Release Image Trace	Vapauta kuvan jäljitys 	Text Wrap	Tekstin rivitysdiff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv--- a/crates/ui-egui/src/i18n/fr.tsv+++ b/crates/ui-egui/src/i18n/fr.tsv@@ -1464,6 +1464,7 @@ 	Image Map:	Image cliquable : 	Image Size	Taille de l’image 	Image Trace	Vectorisation de l’image+	Image Trace Settings	Réglages de vectorisation de l’image 	Image Tracing	Objet de vectorisation de l’image 	Tracing Presets	Paramètres prédéfinis de vectorisation 	Image Trace Presets	Paramètres prédéfinis de vectorisation de l’imagediff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv--- a/crates/ui-egui/src/i18n/hu.tsv+++ b/crates/ui-egui/src/i18n/hu.tsv@@ -1840,6 +1840,7 @@ file-filter	Templates	Sablonok 	Image Map:	Képtérkép: 	Image Size	Képméret 	Image Trace	Képvektorizálás+	Image Trace Settings	Képvektorizálási beállítások 	Image Trace (Make and Expand)	Képvektorizálás (létrehozás és kibontás) 	Image Trace Presets	Képvektorizálási előbeállítások 	Image Trace View	Képvektorizálás nézetediff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsv--- a/crates/ui-egui/src/i18n/id.tsv+++ b/crates/ui-egui/src/i18n/id.tsv@@ -240,6 +240,7 @@ 	Merge	Gabungkan 	Gap Options…	Opsi celah… 	Image Trace	Image Trace+	Image Trace Settings	Pengaturan Image Trace 	Image Trace (Make and Expand)	Image Trace (buat dan perluas) 	Release Image Trace	Lepaskan Image Trace 	Text Wrap	Bungkus teksdiff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv--- a/crates/ui-egui/src/i18n/it.tsv+++ b/crates/ui-egui/src/i18n/it.tsv@@ -1488,6 +1488,7 @@ file-filter	Templates	Modelli 	Image Map:	Mappa immagine: 	Image Size	Dimensione immagine 	Image Trace	Ricalco immagine+	Image Trace Settings	Impostazioni ricalco immagine 	Image Tracing	Oggetto ricalco immagine 	Tracing Presets	Preset di ricalco 	Image Trace Presets	Preset ricalco immaginediff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@ -262,6 +262,7 @@ 	Gap Preview Color:	間隔のプレビューカラー: 	Close Gaps With Paths	パスで間隔を閉じる 	Image Trace	画像トレース+	Image Trace Settings	画像トレースの設定 	Image Tracing	画像トレースオブジェクト 	Tracing Presets	トレースプリセット 	Text Wrap	テキストの回り込みdiff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@ -258,6 +258,7 @@ 	Gap Preview Color:	간격 미리 보기 색상: 	Close Gaps With Paths	패스로 간격 닫기 	Image Trace	이미지 추적+	Image Trace Settings	이미지 추적 설정 	Image Tracing	이미지 추적 	Tracing Presets	추적 프리셋 	Text Wrap	문자 감싸기diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsv--- a/crates/ui-egui/src/i18n/nl.tsv+++ b/crates/ui-egui/src/i18n/nl.tsv@@ -240,6 +240,7 @@ 	Merge	Samenvoegen 	Gap Options…	Tussenruimteopties… 	Image Trace	Afbeelding traceren+	Image Trace Settings	Instellingen voor afbeelding traceren 	Image Trace (Make and Expand)	Afbeelding traceren (maken en uitbreiden) 	Release Image Trace	Tracering vrijgeven 	Text Wrap	Tekstomloopdiff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv--- a/crates/ui-egui/src/i18n/pl.tsv+++ b/crates/ui-egui/src/i18n/pl.tsv@@ -229,6 +229,7 @@ 	Gap Preview Color:	Kolor podglądu przerw: 	Close Gaps With Paths	Zamknij przerwy ścieżkami 	Image Trace	Obrys obrazu+	Image Trace Settings	Ustawienia obrysu obrazu 	Text Wrap	Oblewanie tekstem 	Text Wrap Options…	Opcje oblewania tekstem… 	Clipping Mask	Maska przycinającadiff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@ -1266,6 +1266,7 @@ 	Image Map:	Mapa da Imagem: 	Image Size	Tamanho da Imagem 	Image Trace	Rastreamento de Imagem+	Image Trace Settings	Configurações de Rastreamento de Imagem 	Image Trace Presets	Predefinidos de Rastreamento de Imagem 	Image:	Imagem: 	Images:	Imagens:diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@ -1486,6 +1486,7 @@ file-filter	Templates	Шаблоны 	Image Map:	Карта изображения: 	Image Size	Размер изображения 	Image Trace	Трассировка изображения+	Image Trace Settings	Настройки трассировки изображения 	Image Tracing	Объект трассировки изображения 	Tracing Presets	Наборы трассировки 	Image Trace Presets	Наборы трассировки изображенияdiff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsv--- a/crates/ui-egui/src/i18n/sv.tsv+++ b/crates/ui-egui/src/i18n/sv.tsv@@ -1441,6 +1441,7 @@ 	Image Map:	Bildkarta: 	Image Size	Bildstorlek 	Image Trace	Bildkalkering+	Image Trace Settings	Inställningar för bildkalkering 	Image Tracing	Bildkalkering 	Tracing Presets	Förinställningar för vektorisering 	Image Trace Presets	Förinställningar för bildkalkeringdiff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@ -1482,6 +1482,7 @@ file-filter	Templates	Шаблони 	Image Map:	Карта зображення: 	Image Size	Розмір зображення 	Image Trace	Трасування зображення+	Image Trace Settings	Налаштування трасування зображення 	Image Tracing	Об’єкт трасування зображення 	Tracing Presets	Набори трасування 	Image Trace Presets	Набір трасування зображенняdiff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsv--- a/crates/ui-egui/src/i18n/vi.tsv+++ b/crates/ui-egui/src/i18n/vi.tsv@@ -1683,6 +1683,7 @@ file-filter	Templates	Mẫu 	Image Map:	Bản đồ ảnh: 	Image Size	Kích thước ảnh 	Image Trace	Vector hóa ảnh+	Image Trace Settings	Cài đặt vector hóa ảnh 	Image Trace Presets	Thiết lập sẵn vector hóa ảnh 	Image Trace View	Hiển thị vector hóa ảnh 	Image Tracing	Vector hóa ảnhdiff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -1424,6 +1424,7 @@ file-filter	Templates	模板 	Image Map:	图像映射: 	Image Size	图像大小 	Image Trace	图像描摹+	Image Trace Settings	图像描摹设置 	Image Tracing	图像描摹对象 	Tracing Presets	描摹预设 	Image Trace Presets	图像描摹预设diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsv--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -1460,6 +1460,7 @@ file-filter	Templates	範本 	Image Map:	影像地圖: 	Image Size	影像尺寸 	Image Trace	影像描圖+	Image Trace Settings	影像描圖設定 	Image Tracing	影像描圖物件 	Tracing Presets	描圖預設集 	Image Trace Presets	影像描圖預設集diff --git a/crates/ui-egui/src/panels/image_trace.rs b/crates/ui-egui/src/panels/image_trace.rs--- a/crates/ui-egui/src/panels/image_trace.rs+++ b/crates/ui-egui/src/panels/image_trace.rs@@ -673,8 +673,7 @@ mod tests {         for _ in 0..2 {             let mut out = ctx.run_ui(egui::RawInput::default(), |ui| super::super::properties::show(&mut app, ui));             let texts = crate::tests_removeanchors::shapes_text(&out.shapes.iter().map(|c| c.shape.clone()).collect::<Vec<_>>());-            // The first Image Trace text is the section heading, the last is the button.-            at = texts.iter().rev().find(|(t, _)| t == "Image Trace").map(|(_, r)| r.center());+            at = texts.iter().find(|(t, _)| t == "Image Trace Settings").map(|(_, r)| r.center());             out.textures_delta.clear();         }         let at = at.unwrap();diff --git a/crates/ui-egui/src/panels/properties.rs b/crates/ui-egui/src/panels/properties.rs--- a/crates/ui-egui/src/panels/properties.rs+++ b/crates/ui-egui/src/panels/properties.rs@@ -163,7 +163,7 @@ fn image_section(app: &mut VectorcraftApp, ui: &mut Ui) { }  /// The one selected Image Trace object: its preset (choosing another traces it again with that-/// one), view, a button to reveal the tracing controls, Expand and Release.+/// one), view, an Image Trace Settings button that opens the panel, Expand and Release. fn trace_section(app: &mut VectorcraftApp, ui: &mut Ui, preset: &str, view: vectorcraft_doc::TraceView) {     section_header(ui, tl!("Image Trace"));     ui.horizontal(|ui| {@@ -171,7 +171,7 @@ fn trace_section(app: &mut VectorcraftApp, ui: &mut Ui, preset: &str, view: vect         crate::panels::image_trace::preset_dropdown(app, ui, preset, ui.available_width());     });     ui.horizontal(|ui| crate::panels::image_trace::view_row(app, ui, view, ui.available_width()));-    if widgets::flat_button(ui, tl!("Image Trace"), ui.available_width()).clicked() {+    if widgets::flat_button(ui, tl!("Image Trace Settings"), ui.available_width()).clicked() {         crate::panels::image_trace::open_settings(app);     }     let w = (ui.available_width() - 6.0) / 2.0;diff --git a/crates/ui-egui/src/tests_place.rs b/crates/ui-egui/src/tests_place.rs--- a/crates/ui-egui/src/tests_place.rs+++ b/crates/ui-egui/src/tests_place.rs@@ -565,7 +565,7 @@ fn the_control_bar_and_properties_trace_a_selected_image() {         assert!(has(&bar, s), "{s}");     }     let props = properties_frame(&mut app, 260.0);-    assert!(has(&props, "Release") && has(&props, "View:"));+    assert!(has(&props, "Release") && has(&props, "View:") && has(&props, "Image Trace Settings"));     // Another view redraws it without tracing again.     let traced = app.session.active().unwrap().selection.objects.clone();     click_control(&mut app, &ctx, at(&bar, "Tracing Result"));