From 92c16573342dc12280634a5e24676d7983c5d411 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Tue, 20 Oct 2026 02:56:00 +0700 Subject: [PATCH 1/2] i18n: Chalk & Charcoal, Graphic Pen, Reticulation and Plastic Wrap in every catalog that has the Sketch filters (#2972, #2967, #2976, #3034) Also cargo fmt over the four filters. --- crates/effects/src/pixel/tests.rs | 18 +++++------------- crates/engine/src/tests_rasterfilters.rs | 3 ++- crates/tools/src/meshedit.rs | 5 +---- crates/ui-egui/src/i18n/bg.tsv | 8 ++++++++ crates/ui-egui/src/i18n/cs.tsv | 8 ++++++++ crates/ui-egui/src/i18n/da.tsv | 8 ++++++++ crates/ui-egui/src/i18n/de.tsv | 8 ++++++++ crates/ui-egui/src/i18n/el.tsv | 8 ++++++++ crates/ui-egui/src/i18n/es.tsv | 8 ++++++++ crates/ui-egui/src/i18n/fi.tsv | 8 ++++++++ crates/ui-egui/src/i18n/fr.tsv | 8 ++++++++ crates/ui-egui/src/i18n/hu.tsv | 8 ++++++++ crates/ui-egui/src/i18n/id.tsv | 8 ++++++++ crates/ui-egui/src/i18n/it.tsv | 8 ++++++++ crates/ui-egui/src/i18n/ja.tsv | 8 ++++++++ crates/ui-egui/src/i18n/ka.tsv | 8 ++++++++ crates/ui-egui/src/i18n/ko.tsv | 8 ++++++++ crates/ui-egui/src/i18n/nl.tsv | 8 ++++++++ crates/ui-egui/src/i18n/pl.tsv | 8 ++++++++ crates/ui-egui/src/i18n/pt-br.tsv | 8 ++++++++ crates/ui-egui/src/i18n/ru.tsv | 8 ++++++++ crates/ui-egui/src/i18n/sv.tsv | 8 ++++++++ crates/ui-egui/src/i18n/uk.tsv | 8 ++++++++ crates/ui-egui/src/i18n/vi.tsv | 8 ++++++++ crates/ui-egui/src/i18n/zh-hans.tsv | 8 ++++++++ crates/ui-egui/src/i18n/zh-hant.tsv | 8 ++++++++ 26 files changed, 192 insertions(+), 18 deletions(-) diff --git a/crates/effects/src/pixel/tests.rs b/crates/effects/src/pixel/tests.rs index 1ec4f818f..ac210997a 100644 --- a/crates/effects/src/pixel/tests.rs +++ b/crates/effects/src/pixel/tests.rs @@ -2007,10 +2007,7 @@ fn chalk_charcoal(p: serde_json::Value, src: &[u8], w: usize, h: usize, s: &Pixe #[test] fn chalk_charcoal_params_take_defaults_and_stay_in_range() { - assert_eq!( - fx("sketch.chalkCharcoal", json!({})), - PixelFx::ChalkCharcoal { chalk: 6.0, charcoal: 6.0, pressure: 2.0 } - ); + assert_eq!(fx("sketch.chalkCharcoal", json!({})), PixelFx::ChalkCharcoal { chalk: 6.0, charcoal: 6.0, pressure: 2.0 }); assert_eq!( fx("sketch.chalkCharcoal", json!({"chalkArea": 1e9, "charcoalArea": -2, "strokePressure": 99})), PixelFx::ChalkCharcoal { chalk: 20.0, charcoal: 0.0, pressure: 5.0 } @@ -2057,10 +2054,7 @@ fn period(values: &[u8]) -> usize { #[test] fn graphic_pen_params_take_defaults_and_stay_in_range() { use super::STROKE_DIRECTIONS; - assert_eq!( - fx("sketch.graphicPen", json!({})), - PixelFx::GraphicPen { length: 5.0, balance: 50.0, direction: StrokeDirection::RightDiagonal } - ); + assert_eq!(fx("sketch.graphicPen", json!({})), PixelFx::GraphicPen { length: 5.0, balance: 50.0, direction: StrokeDirection::RightDiagonal }); assert_eq!( fx("sketch.graphicPen", json!({"strokeLength": 0, "lightDarkBalance": 200, "strokeDirection": "VERTICAL"})), PixelFx::GraphicPen { length: 1.0, balance: 100.0, direction: StrokeDirection::Vertical } @@ -2271,10 +2265,7 @@ fn artistic_params_take_defaults_and_stay_in_range() { fx("artistic.neonGlow", json!({"glowSize": -1e308, "glowBrightness": 80, "color": "#ff0000"})), PixelFx::NeonGlow { size: -24.0, brightness: 50.0, colour: [1.0, 0.0, 0.0] } ); - assert_eq!( - fx("artistic.plasticWrap", json!({})), - PixelFx::PlasticWrap { highlight: 20.0, detail: 12.0, smoothness: 15.0 } - ); + assert_eq!(fx("artistic.plasticWrap", json!({})), PixelFx::PlasticWrap { highlight: 20.0, detail: 12.0, smoothness: 15.0 }); assert_eq!( fx("artistic.plasticWrap", json!({"highlightStrength": -1, "detail": 99, "smoothness": 0})), PixelFx::PlasticWrap { highlight: 0.0, detail: 15.0, smoothness: 1.0 } @@ -2343,7 +2334,8 @@ fn plastic_wrap_adds_specular_highlights_and_keeps_coverage() { let mut strong = src.clone(); fx("artistic.plasticWrap", json!({"highlightStrength": 4})).apply(&mut weak, w, h, &space(w, h)); fx("artistic.plasticWrap", json!({"highlightStrength": 20})).apply(&mut strong, w, h, &space(w, h)); - let lift = |a: &[u8], b: &[u8]| a.as_chunks::<4>().0.iter().zip(b.as_chunks::<4>().0).map(|(o, s)| i32::from(o[0]) - i32::from(s[0])).sum::(); + let lift = + |a: &[u8], b: &[u8]| a.as_chunks::<4>().0.iter().zip(b.as_chunks::<4>().0).map(|(o, s)| i32::from(o[0]) - i32::from(s[0])).sum::(); assert!(lift(&strong, &src) > lift(&weak, &src), "stronger highlights lift more"); } diff --git a/crates/engine/src/tests_rasterfilters.rs b/crates/engine/src/tests_rasterfilters.rs index 9b0b0ea97..b62d0c2d9 100644 --- a/crates/engine/src/tests_rasterfilters.rs +++ b/crates/engine/src/tests_rasterfilters.rs @@ -49,7 +49,8 @@ const PIXELATE: [(&str, &str); 4] = [("pixelate.colorHalftone", "{}"), ("pixelate.crystallize", "{}"), ("pixelate.mezzotint", "{}"), ("pixelate.pointillize", "{}")]; /// Effect › Sketch, at their defaults. -const SKETCH: [(&str, &str); 4] = [("sketch.chalkCharcoal", "{}"), ("sketch.graphicPen", "{}"), ("sketch.halftonePattern", "{}"), ("sketch.reticulation", "{}")]; +const SKETCH: [(&str, &str); 4] = + [("sketch.chalkCharcoal", "{}"), ("sketch.graphicPen", "{}"), ("sketch.halftonePattern", "{}"), ("sketch.reticulation", "{}")]; /// Effect › Texture, at their defaults. const TEXTURE: [(&str, &str); 6] = [ diff --git a/crates/tools/src/meshedit.rs b/crates/tools/src/meshedit.rs index d8e0f6c66..d9fbd5cc8 100644 --- a/crates/tools/src/meshedit.rs +++ b/crates/tools/src/meshedit.rs @@ -131,10 +131,7 @@ impl MeshEdit { && let Some(at) = d.at { let delta = at - d.origin; - out.push(Overlay::Measure { - p: at + Vec2::new(cx.tol(12.0), cx.tol(12.0)), - text: cx.offset_label(delta.x, delta.y), - }); + out.push(Overlay::Measure { p: at + Vec2::new(cx.tol(12.0), cx.tol(12.0)), text: cx.offset_label(delta.x, delta.y) }); } out } diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsv index 0463a5c5b..557e879d2 100644 --- a/crates/ui-egui/src/i18n/bg.tsv +++ b/crates/ui-egui/src/i18n/bg.tsv @@ -5193,3 +5193,11 @@ theme Appearance Външен вид Select by Color Избиране по цвят Move Anchor Point Преместване на опорна точка @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} запазва 1 от {n} работни области на документа: файлът се отваря отново с един. Включете „Запазване на възможностите за редактиране“, за да запазите всички. + Chalk & Charcoal… Креда и въглен… + Chalk & Charcoal Креда и въглен + Graphic Pen… Графична писалка… + Graphic Pen Графична писалка + Reticulation… Ретикулация… + Reticulation Ретикулация + Plastic Wrap… Найлоново фолио… + Plastic Wrap Найлоново фолио diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index 24eff57a0..7037b2e20 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -5232,3 +5232,11 @@ mark-style Japanese Japonské Select by Color Vybrat podle barvy Move Anchor Point Přesunout kotevní bod @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} zachová 1 z {n} pracovních ploch dokumentu: soubor se znovu otevře s jedním. Zapněte Zachovat možnosti úprav, aby zůstala všechna. + Chalk & Charcoal… Křída a uhel… + Chalk & Charcoal Křída a uhel + Graphic Pen… Grafické pero… + Graphic Pen Grafické pero + Reticulation… Síťování… + Reticulation Síťování + Plastic Wrap… Plastová fólie… + Plastic Wrap Plastová fólie diff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsv index ccd3bbb15..a1ba280b0 100644 --- a/crates/ui-egui/src/i18n/da.tsv +++ b/crates/ui-egui/src/i18n/da.tsv @@ -5211,3 +5211,11 @@ swatch Bright Violet Kraftig violet # Select by Color (select.color) Select by Color Markér efter farve Move Anchor Point Flyt ankerpunkt + Chalk & Charcoal… Kridt og kul… + Chalk & Charcoal Kridt og kul + Graphic Pen… Grafisk pen… + Graphic Pen Grafisk pen + Reticulation… Retikulering… + Reticulation Retikulering + Plastic Wrap… Plastfolie… + Plastic Wrap Plastfolie diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index 3a1415c3b..3eb1422a9 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -4812,3 +4812,11 @@ effect Soft Weich Select by Color Nach Farbe auswählen Move Anchor Point Ankerpunkt verschieben @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} behält 1 der {n} Zeichenflächen des Dokuments: Die Datei wird mit einer wieder geöffnet. Aktivieren Sie „Bearbeitungsfunktionen beibehalten“, um alle zu behalten. + Chalk & Charcoal… Kreide & Kohle… + Chalk & Charcoal Kreide & Kohle + Graphic Pen… Grafikstift… + Graphic Pen Grafikstift + Reticulation… Retikulation… + Reticulation Retikulation + Plastic Wrap… Kunststofffolie… + Plastic Wrap Kunststofffolie diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv index 00ef5d15d..4e7d7377f 100644 --- a/crates/ui-egui/src/i18n/el.tsv +++ b/crates/ui-egui/src/i18n/el.tsv @@ -5184,3 +5184,11 @@ effect Points Σημεία Select by Color Επιλογή βάσει χρώματος Move Anchor Point Μετακίνηση σημείου αγκύρωσης @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. Το {label} διατηρεί 1 από τους {n} πίνακες σχεδίασης του εγγράφου: το αρχείο ανοίγει ξανά με μία. Ενεργοποιήστε τη Διατήρηση δυνατοτήτων επεξεργασίας για να τους κρατήσετε όλους. + Chalk & Charcoal… Κιμωλία και κάρβουνο… + Chalk & Charcoal Κιμωλία και κάρβουνο + Graphic Pen… Γραφική πένα… + Graphic Pen Γραφική πένα + Reticulation… Δικτύωση… + Reticulation Δικτύωση + Plastic Wrap… Πλαστική μεμβράνη… + Plastic Wrap Πλαστική μεμβράνη diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index 51a0e228d..f3d3c81c6 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -5174,3 +5174,11 @@ mark-style Japanese Japonesas Select by Color Seleccionar por color Move Anchor Point Mover punto de ancla @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} conserva 1 de las {n} mesas de trabajo del documento: el archivo se vuelve a abrir con una. Active Conservar capacidades de edición para conservarlas todas. + Chalk & Charcoal… Tiza y carboncillo… + Chalk & Charcoal Tiza y carboncillo + Graphic Pen… Pluma gráfica… + Graphic Pen Pluma gráfica + Reticulation… Reticulación… + Reticulation Reticulación + Plastic Wrap… Envoltura plástica… + Plastic Wrap Envoltura plástica diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsv index 1a39413b3..4df226932 100644 --- a/crates/ui-egui/src/i18n/fi.tsv +++ b/crates/ui-egui/src/i18n/fi.tsv @@ -5263,3 +5263,11 @@ swatch Bright Violet Kirkas violetti Play: Toista: Move Anchor Point Siirrä ankkuripistettä @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} säilyttää asiakirjan {n} piirtoalustasta 1: tiedosto avautuu uudelleen yhdellä. Ota Säilytä muokkausominaisuudet käyttöön, jotta kaikki säilyvät. + Chalk & Charcoal… Liitu ja hiili… + Chalk & Charcoal Liitu ja hiili + Graphic Pen… Grafiikkakynä… + Graphic Pen Grafiikkakynä + Reticulation… Retikulaatio… + Reticulation Retikulaatio + Plastic Wrap… Muovikalvo… + Plastic Wrap Muovikalvo diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index ee29bfdb8..32bcba72a 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -5231,3 +5231,11 @@ theme Appearance Apparence Select by Color Sélectionner par couleur Move Anchor Point Déplacer le point d’ancrage @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} conserve 1 des {n} plans de travail du document : le fichier se rouvre avec un seul. Activez Conserver les fonctions d’édition pour les conserver tous. + Chalk & Charcoal… Craie et fusain… + Chalk & Charcoal Craie et fusain + Graphic Pen… Plume graphique… + Graphic Pen Plume graphique + Reticulation… Réticulation… + Reticulation Réticulation + Plastic Wrap… Emballage plastique… + Plastic Wrap Emballage plastique diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index 7efcd179a..25dd747f3 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -5218,3 +5218,11 @@ imageTrace Outline Körvonal Select by Color Kijelölés szín szerint Move Anchor Point Horgonypont áthelyezése @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. A(z) {label} a dokumentum {n} rajztáblájából 1-et tart meg: a fájl eggyel nyílik meg újra. Kapcsolja be a Szerkeszthetőség megtartása beállítást, hogy mind megmaradjon. + Chalk & Charcoal… Kréta és szén… + Chalk & Charcoal Kréta és szén + Graphic Pen… Grafikus toll… + Graphic Pen Grafikus toll + Reticulation… Recézés… + Reticulation Recézés + Plastic Wrap… Fóliázás… + Plastic Wrap Fóliázás diff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsv index c40f656b8..49340a767 100644 --- a/crates/ui-egui/src/i18n/id.tsv +++ b/crates/ui-egui/src/i18n/id.tsv @@ -5211,3 +5211,11 @@ swatch Bright Violet Violet cerah # Select by Color (select.color) Select by Color Pilih berdasarkan warna Move Anchor Point Pindahkan titik jangkar + Chalk & Charcoal… Kapur dan arang… + Chalk & Charcoal Kapur dan arang + Graphic Pen… Pena grafis… + Graphic Pen Pena grafis + Reticulation… Retikulasi… + Reticulation Retikulasi + Plastic Wrap… Pembungkus plastik… + Plastic Wrap Pembungkus plastik diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index b58ee8829..485b00940 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -4846,3 +4846,11 @@ lighting Light Luce Select by Color Seleziona per colore Move Anchor Point Sposta punto di ancoraggio @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} mantiene 1 delle {n} tavole da disegno del documento: il file si riapre con una sola. Attiva Mantieni possibilità di modifica per mantenerle tutte. + Chalk & Charcoal… Gesso e carboncino… + Chalk & Charcoal Gesso e carboncino + Graphic Pen… Penna grafica… + Graphic Pen Penna grafica + Reticulation… Reticolo… + Reticulation Reticolo + Plastic Wrap… Pellicola plastica… + Plastic Wrap Pellicola plastica diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index 2574cf77d..c680bd060 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -4886,3 +4886,11 @@ lighting Light ライト Select by Color カラーで選択 Move Anchor Point アンカーポイントを移動 @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} ではドキュメントの {n} 個のアートボードのうち 1 個だけが保持され、ファイルは 1 個で開き直されます。すべて保持するには「編集機能を保持」をオンにしてください。 + Chalk & Charcoal… チョーク・木炭画… + Chalk & Charcoal チョーク・木炭画 + Graphic Pen… グラフィックペン… + Graphic Pen グラフィックペン + Reticulation… 網目… + Reticulation 網目 + Plastic Wrap… ラップ… + Plastic Wrap ラップ diff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsv index 0983dea21..5fc2d2fb1 100644 --- a/crates/ui-egui/src/i18n/ka.tsv +++ b/crates/ui-egui/src/i18n/ka.tsv @@ -5139,3 +5139,11 @@ imageTrace Outline კონტური Move Anchor Point საყრდენი წერტილის გადაადგილება Alt key toggles to Smooth Tool Alt კლავიში ჩართავს გაგლუვების ხელსაწყოს @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} ინახავს დოკუმენტის {n} სამუშაო დაფიდან 1-ს: ფაილი ხელახლა ერთით გაიხსნება. ყველას შესანარჩუნებლად ჩართეთ „რედაქტირების შესაძლებლობების შენარჩუნება“. + Chalk & Charcoal… ცარცი და ნახშირი… + Chalk & Charcoal ცარცი და ნახშირი + Graphic Pen… გრაფიკული კალამი… + Graphic Pen გრაფიკული კალამი + Reticulation… რეტიკულაცია… + Reticulation რეტიკულაცია + Plastic Wrap… პლასტიკური აფსკი… + Plastic Wrap პლასტიკური აფსკი diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index 5e32fdc74..e2095d416 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -4809,3 +4809,11 @@ lighting Light 광원 Select by Color 색상별 선택 Move Anchor Point 앵커 포인트 이동 @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label}은(는) 문서의 아트보드 {n}개 중 1개만 유지하며 파일은 아트보드 하나로 다시 열립니다. 모두 유지하려면 편집 기능 보존을 켜십시오. + Chalk & Charcoal… 분필과 목탄… + Chalk & Charcoal 분필과 목탄 + Graphic Pen… 그래픽 펜… + Graphic Pen 그래픽 펜 + Reticulation… 망사 효과… + Reticulation 망사 효과 + Plastic Wrap… 비닐 랩… + Plastic Wrap 비닐 랩 diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsv index 029de3772..dfb2046ff 100644 --- a/crates/ui-egui/src/i18n/nl.tsv +++ b/crates/ui-egui/src/i18n/nl.tsv @@ -5253,3 +5253,11 @@ swatch Bright Violet Felviolet # Select by Color (select.color) Select by Color Selecteren op kleur Move Anchor Point Ankerpunt verplaatsen + Chalk & Charcoal… Krijt en houtskool… + Chalk & Charcoal Krijt en houtskool + Graphic Pen… Grafische pen… + Graphic Pen Grafische pen + Reticulation… Reticulatie… + Reticulation Reticulatie + Plastic Wrap… Plasticfolie… + Plastic Wrap Plasticfolie diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv index 761668208..0ec11616a 100644 --- a/crates/ui-egui/src/i18n/pl.tsv +++ b/crates/ui-egui/src/i18n/pl.tsv @@ -5084,3 +5084,11 @@ mark-style Japanese Japońskie Select by Color Zaznacz według koloru Move Anchor Point Przesuń punkt kontrolny @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} zachowuje 1 z {n} obszarów kompozycji dokumentu: plik otworzy się ponownie z jednym. Włącz Zachowaj możliwości edycji, aby zachować wszystkie. + Chalk & Charcoal… Kreda i węgiel… + Chalk & Charcoal Kreda i węgiel + Graphic Pen… Pióro graficzne… + Graphic Pen Pióro graficzne + Reticulation… Siateczkowanie… + Reticulation Siateczkowanie + Plastic Wrap… Folia plastikowa… + Plastic Wrap Folia plastikowa diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index 000edc398..29b0edb46 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -5149,3 +5149,11 @@ mark-style Japanese Japonesas Select by Color Selecionar por Cor Move Anchor Point Mover Ponto de Ancoragem @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} mantém 1 das {n} mesas de trabalho do documento: o arquivo reabre com uma. Ative Preservar Capacidades de Edição para manter todas. + Chalk & Charcoal… Giz e carvão… + Chalk & Charcoal Giz e carvão + Graphic Pen… Caneta gráfica… + Graphic Pen Caneta gráfica + Reticulation… Reticulação… + Reticulation Reticulação + Plastic Wrap… Envoltório plástico… + Plastic Wrap Envoltório plástico diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index f16262257..262d9f6c8 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -4842,3 +4842,11 @@ lighting Light Свет Select by Color Выделить по цвету Move Anchor Point Переместить опорную точку @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} сохраняет 1 из {n} монтажных областей документа: файл откроется снова с одной. Включите «Сохранять возможности редактирования», чтобы сохранить все. + Chalk & Charcoal… Мел и уголь… + Chalk & Charcoal Мел и уголь + Graphic Pen… Графическое перо… + Graphic Pen Графическое перо + Reticulation… Ретикуляция… + Reticulation Ретикуляция + Plastic Wrap… Целлофановая упаковка… + Plastic Wrap Целлофановая упаковка diff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsv index aad98ba73..05d667f1b 100644 --- a/crates/ui-egui/src/i18n/sv.tsv +++ b/crates/ui-egui/src/i18n/sv.tsv @@ -5188,3 +5188,11 @@ theme Appearance Utseende Select by Color Markera efter färg Move Anchor Point Flytta ankarpunkt @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} behåller 1 av dokumentets {n} ritytor: filen öppnas igen med en. Slå på Bevara redigeringsmöjligheter för att behålla alla. + Chalk & Charcoal… Krita och kol… + Chalk & Charcoal Krita och kol + Graphic Pen… Grafisk penna… + Graphic Pen Grafisk penna + Reticulation… Retikulering… + Reticulation Retikulering + Plastic Wrap… Plastfolie… + Plastic Wrap Plastfolie diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv index 0d6728339..41745fe78 100644 --- a/crates/ui-egui/src/i18n/uk.tsv +++ b/crates/ui-egui/src/i18n/uk.tsv @@ -4826,3 +4826,11 @@ lighting Light Світло Select by Color Виділити за кольором Move Anchor Point Перемістити опорну точку @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} зберігає 1 з {n} монтажних областей документа: файл відкриється знову з однією. Увімкніть «Зберігати можливості редагування», щоб зберегти всі. + Chalk & Charcoal… Крейда і вугілля… + Chalk & Charcoal Крейда і вугілля + Graphic Pen… Графічне перо… + Graphic Pen Графічне перо + Reticulation… Ретикуляція… + Reticulation Ретикуляція + Plastic Wrap… Целофанова плівка… + Plastic Wrap Целофанова плівка diff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsv index 917ec4ed8..c3c90490b 100644 --- a/crates/ui-egui/src/i18n/vi.tsv +++ b/crates/ui-egui/src/i18n/vi.tsv @@ -4826,3 +4826,11 @@ theme Appearance Giao diện Select by Color Chọn theo màu Move Anchor Point Di chuyển điểm neo @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} chỉ giữ 1 trong {n} bảng vẽ của tài liệu: tệp sẽ mở lại với một bảng vẽ. Bật Bảo lưu khả năng chỉnh sửa để giữ tất cả. + Chalk & Charcoal… Phấn và than… + Chalk & Charcoal Phấn và than + Graphic Pen… Bút đồ họa… + Graphic Pen Bút đồ họa + Reticulation… Lưới hạt… + Reticulation Lưới hạt + Plastic Wrap… Màng bọc nhựa… + Plastic Wrap Màng bọc nhựa diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv index 6a628cff5..4dd9518e3 100644 --- a/crates/ui-egui/src/i18n/zh-hans.tsv +++ b/crates/ui-egui/src/i18n/zh-hans.tsv @@ -5069,3 +5069,11 @@ lighting Light 光源 Select by Color 按颜色选择 Move Anchor Point 移动锚点 @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} 只保留文档 {n} 个画板中的 1 个:文件重新打开时只有一个。打开“保留编辑功能”可全部保留。 + Chalk & Charcoal… 粉笔和炭笔… + Chalk & Charcoal 粉笔和炭笔 + Graphic Pen… 绘图笔… + Graphic Pen 绘图笔 + Reticulation… 网状… + Reticulation 网状 + Plastic Wrap… 塑料包装… + Plastic Wrap 塑料包装 diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsv index 6da1f726f..7c9e38f64 100644 --- a/crates/ui-egui/src/i18n/zh-hant.tsv +++ b/crates/ui-egui/src/i18n/zh-hant.tsv @@ -4864,3 +4864,11 @@ lighting Light 光源 @msg no such object id {value} 沒有 id 為 {value} 的物件 Move Anchor Point 移動錨點 @msg {label} keeps 1 of the document's {n} artboards: the file reopens with one. Turn on Preserve Editing Capabilities to keep them all. {label} 只保留文件 {n} 個工作區域中的 1 個:檔案重新開啟時只有一個。開啟「保留編輯功能」可全部保留。 + Chalk & Charcoal… 粉筆和炭筆… + Chalk & Charcoal 粉筆和炭筆 + Graphic Pen… 繪圖筆… + Graphic Pen 繪圖筆 + Reticulation… 網狀… + Reticulation 網狀 + Plastic Wrap… 塑膠包裝… + Plastic Wrap 塑膠包裝 From a5ec99d5155f79e84dc577fcccb9dfeb4fffc5f2 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Tue, 20 Oct 2026 03:04:13 +0700 Subject: [PATCH 2/2] Effects: Graphic Pen's params doc names no vendor, as cargo xtask brands asks (#2967) --- crates/effects/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/effects/src/lib.rs b/crates/effects/src/lib.rs index 303100781..ae3d60e19 100644 --- a/crates/effects/src/lib.rs +++ b/crates/effects/src/lib.rs @@ -486,7 +486,7 @@ pub fn effect_catalog() -> Vec { "sketch.graphicPen", "Graphic Pen…", SKETCH, - "{strokeLength: pt 1..15 (5; the longest ink stroke), lightDarkBalance: 0..100 (50; more black when higher), strokeDirection: \"rightDiagonal\"|\"horizontal\"|\"leftDiagonal\"|\"vertical\" (\"rightDiagonal\")} redraws the object in fine linear black ink on white paper, with strokes denser in darker areas. Control names from public helpx; numeric defaults and ranges are an unverified visual match to Illustrator.", + "{strokeLength: pt 1..15 (5; the longest ink stroke), lightDarkBalance: 0..100 (50; more black when higher), strokeDirection: \"rightDiagonal\"|\"horizontal\"|\"leftDiagonal\"|\"vertical\" (\"rightDiagonal\")} redraws the object in fine linear black ink on white paper, with strokes denser in darker areas. Control names and ranges follow the public documentation; the defaults are unverified.", json!({"strokeLength": 5.0, "lightDarkBalance": 50.0, "strokeDirection": "rightDiagonal"}), ), r(