From ca2dd52afc5c0643ead7d2c3827c490aab926a60 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Fri, 13 Nov 2026 18:25:51 -0800 Subject: [PATCH 01/52] i18n: SVG filter refusals are translated, and side-by-side menu items differ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The refusals of the SVG filter check (unreadable XML, a missing or too long id, elements, event attributes and images a filter does not take, and the limits on primitives, numOctaves, order, radius, stdDeviation, kernelUnitLength, image pixels, nesting and size) had no @msg rows and showed in English. Every complete-message catalog now has a row for each of the 16 templates and for the three attribute names {what} carries. The scan reads svg_filter.rs, map_err closures included, as the untranslated report does since #7336. Turkish showed Effect › 3D and Materials › Revolve… and Rotate… with the same label. Revolve is now "Eksen Etrafında Döndür" in every row that showed it as "Döndür", and the Classic pair follows it; Rotate keeps "Döndür", which Object › Transform › Rotate… shares. A new test walks every menu in every language and fails when two items side by side show the same label. It found 27 other pairs, all fixed: Effect › Warp and Distort (el, ko, fr, bg, sv, pt-br), Window › Attributes and Properties (ko, vi, zh-hans), Pathfinder Trim and Crop (vi, bg, tr, ca) and Add and Merge (ru, tr), Warp Bulge and Inflate (vi, bg), Arc and Arch and Tweak and Twist (pt-br), Shell and Arc Lower and Upper (zh-hans, zh-hant), Hair Space and Thin Space (bs, bg, pt-br), and Revolve and Rotate (bg). A second test fails when a menu item shows a command id: the @id rows for file.close and pathfinder.add in bg, da, nl and id held an id, so File › Close and Effect › Pathfinder › Add showed it. They now hold each catalog's Close and Unite translations. --- crates/ui-egui/src/i18n/bg.tsv | 14 +-- crates/ui-egui/src/i18n/bs.tsv | 2 +- crates/ui-egui/src/i18n/ca.tsv | 21 +++- crates/ui-egui/src/i18n/cs.tsv | 19 +++ crates/ui-egui/src/i18n/da.tsv | 4 +- crates/ui-egui/src/i18n/de.tsv | 18 +++ crates/ui-egui/src/i18n/el.tsv | 21 +++- crates/ui-egui/src/i18n/es.tsv | 19 +++ crates/ui-egui/src/i18n/fi.tsv | 19 +++ crates/ui-egui/src/i18n/fr.tsv | 21 +++- crates/ui-egui/src/i18n/hi.tsv | 19 +++ crates/ui-egui/src/i18n/hu.tsv | 19 +++ crates/ui-egui/src/i18n/id.tsv | 4 +- crates/ui-egui/src/i18n/it.tsv | 18 +++ crates/ui-egui/src/i18n/ja.tsv | 19 +++ crates/ui-egui/src/i18n/ka.tsv | 19 +++ crates/ui-egui/src/i18n/ko.tsv | 23 +++- crates/ui-egui/src/i18n/nl.tsv | 23 +++- crates/ui-egui/src/i18n/pl.tsv | 19 +++ crates/ui-egui/src/i18n/pt-br.tsv | 26 +++- crates/ui-egui/src/i18n/ru.tsv | 21 +++- crates/ui-egui/src/i18n/sv.tsv | 21 +++- crates/ui-egui/src/i18n/tests.rs | 178 ++++++++++++++++++++++++++++ crates/ui-egui/src/i18n/tr.tsv | 53 ++++++--- crates/ui-egui/src/i18n/uk.tsv | 19 +++ crates/ui-egui/src/i18n/vi.tsv | 25 +++- crates/ui-egui/src/i18n/zh-hans.tsv | 25 +++- crates/ui-egui/src/i18n/zh-hant.tsv | 23 +++- docs/target-app-parity.md | 1 + 29 files changed, 663 insertions(+), 50 deletions(-) diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsv index 1f469c69c9..2089000a76 100644 --- a/crates/ui-egui/src/i18n/bg.tsv +++ b/crates/ui-egui/src/i18n/bg.tsv @@ -352,7 +352,7 @@ font-technology Variable Променливи Built-in presets are read-only: New… starts an editable copy. Вградените предварителни настройки са само за четене: „Ново…“ създава редактируемо копие. Built-in presets don't change: New makes a copy you can edit. Вградените предварителни настройки не се променят: „Ново“ създава копие за редактиране. Built-in presets don't change: New… starts an editable copy. Вградените предварителни настройки не се променят: „Ново…“ създава редактируемо копие. - Bulge… Издуване… + Bulge… Изпъкване… Bullet Булет Bullets Булети Bullets and Numbering Булети и номериране @@ -1419,7 +1419,7 @@ font-technology Variable Променливи Guides & Grid Водачи и мрежа H Spacing: Хоризонтално разстояние: H: Х: - Hair Space Тънък интервал + Hair Space Най-тънък интервал Hand Tool Инструмент „Ръка“ Hand-Drawn Ръчно рисувани Painted and Sketched Рисувани и скицирани @@ -2902,7 +2902,7 @@ digits Malayalam Малаялам Opening it left out what VectorCraft can't read yet ({what}), so replacing it loses that for good. Save under another name to keep it. Отварянето му пропусна това, което VectorCraft все още не може да прочете ({what}), така че замяната му го губи завинаги. Запазете под друго име, за да го запазите. “{name}” already exists. Replace it? „{name}“ вече съществува. Да бъде ли заменен? The name in the save panel was “{typed}”; VectorCraft added the file type's extension. Replacing the file overwrites its contents. Името в панела за запазване беше „{typed}“, а VectorCraft добави разширението на типа файл. Замяната на файла презаписва съдържанието му. - Revolve… Завъртане… + Revolve… Завъртане около ос… RGB Color RGB цвят Right Вдясно Right Grid: Дясна мрежа: @@ -3711,7 +3711,7 @@ digits Malayalam Малаялам Reverse Traps Обратни застъпвания Precision Точност Remove Redundant Points Премахване на излишните точки - Trim Изрязване + Trim Подрязване Trim mark weight: Дебелина на маркировките за изрязване: Trim marks Маркировки за изрязване Trim View Изглед на изрязване @@ -5033,7 +5033,7 @@ effect Soft Меко On Both Sides От двете страни Short Кратко Full Width Пълна ширина - Distort Изкривяване + Distort Деформиране Diffuse Glow… Дифузно светещ… Glass… Стъкло… Ocean Ripple… Океански вълнички… @@ -5632,8 +5632,8 @@ lighting Light Светлина x Height Височина на x ▾ Default Actions ▾ Действия по подразбиране ⚠ {chord} was already used by {names} — it has been removed there. Внимание: Комбинацията {chord} вече се използва от {names} — премахната е там. -@id file.close file.close -@id pathfinder.add pathfinder.add +@id file.close Затваряне +@id pathfinder.add Обединяване @msg give corners of the path: anchors between two straight sides дай ъглите на пътя: опорни точки между две прави страни @msg this kind of brush has no options dialog yet този вид четка засега няма диалогов прозорец с настройки @plural {n} PR|{n} PRs {n} PR|{n} PR-а diff --git a/crates/ui-egui/src/i18n/bs.tsv b/crates/ui-egui/src/i18n/bs.tsv index a23133933a..f91fe245d6 100644 --- a/crates/ui-egui/src/i18n/bs.tsv +++ b/crates/ui-egui/src/i18n/bs.tsv @@ -382,7 +382,7 @@ Insert Whitespace Character Umetni znak razmaka Em Space Široki razmak (em) En Space Polu-široki razmak (en) - Hair Space Tanki razmak + Hair Space Najtanji razmak Sixth Space Šestina razmaka Thin Space Tanki razmak Nonbreaking Space Neprelomivi razmak diff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsv index 373eb0b79d..e36b14eeb8 100644 --- a/crates/ui-egui/src/i18n/ca.tsv +++ b/crates/ui-egui/src/i18n/ca.tsv @@ -4839,7 +4839,7 @@ digits Malayalam Malaiàlam Triangle Triangle Triangle (open) Triangle (obert) Triangle to Bar Triangle a barra - Trim Retalla + Trim Poda Trim covered geometry on Expand Appearance. Live preview keeps the full surface. Transparent paints and surfaces exceeding visibility limits retain all faces. Retalla la geometria coberta en expandir l’aparença. La previsualització en directe manté tota la superfície. Les pintures transparents i les superfícies que superen els límits de visibilitat conserven totes les cares. Trim mark weight: Gruix de les marques de retall: Trim marks Marques de retall @@ -6163,6 +6163,25 @@ digits Malayalam Malaiàlam @msg a 3D effect on a group's fill or stroke draws nothing un efecte 3D al farciment o al traç d’un grup no dibuixa res @msg a 3D effect on a group's fill or stroke draws nothing to export un efecte 3D al farciment o al traç d’un grup no dibuixa res per exportar @msg The 3D object is too complex to export L’objecte 3D és massa complex per exportar-lo +@msg give one element indica un element +@msg the element needs an id, the filter's name l’element necessita un id, el nom del filtre +@msg an SVG filter's id is at most {MAX_NAME} characters l’id d’un filtre SVG té com a màxim {MAX_NAME} caràcters +@msg <{_1}> isn't an element of an SVG filter <{_1}> no és un element d’un filtre SVG +@msg an SVG filter has no event attributes such as {_1} un filtre SVG no té atributs d’esdeveniment com ara {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs les imatges d’un filtre SVG són URL data: en PNG, JPEG, GIF o WebP +@msg the SVG filter isn't valid XML: {e} el filtre SVG no és un XML vàlid: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves de feTurbulence és com a màxim {MAX_OCTAVES} +@msg {what} is at most {max} {what} és com a màxim {max} +@msg feConvolveMatrix's order order de feConvolveMatrix +@msg feMorphology's radius radius de feMorphology +@msg a blur's stdDeviation stdDeviation d’un desenfocament +@msg the SVG filter has no primitives el filtre SVG no té primitives +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives un filtre SVG té com a màxim {MAX_PRIMITIVES} primitives +@msg the SVG filter is too large once its attributes are written out el filtre SVG és massa gran un cop escrits els seus atributs +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all les imatges d’un filtre SVG tenen com a màxim {MAX_IMAGE_PIXELS} píxels en total +@msg the SVG filter can't be drawn: check its primitives and their inputs no es pot dibuixar el filtre SVG: comprova’n les primitives i les seves entrades +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep els elements d’un filtre SVG s’imbriquen com a màxim {MAX_DEPTH} nivells +@msg an SVG filter is at most {_1} KB un filtre SVG ocupa com a màxim {_1} KB @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) l’objecte no té cap efecte 3D (Extrudeix i bisella, Revoluciona, Infla o Gira) @msg its 3D effect builds no solid el seu efecte 3D no construeix cap sòlid @msg bevel must be none or one of {_1} bevel ha de ser none o un de {_1} diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index 7178be3143..56719d84ce 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -5987,6 +5987,25 @@ mark-style Japanese Japonské @msg a 3D effect on a group's fill or stroke draws nothing 3D efekt na výplni nebo tahu skupiny nic nekreslí @msg a 3D effect on a group's fill or stroke draws nothing to export 3D efekt na výplni nebo tahu skupiny nekreslí nic k exportu @msg The 3D object is too complex to export 3D objekt je pro export příliš složitý +@msg give one element zadejte jeden prvek +@msg the element needs an id, the filter's name prvek potřebuje id, název filtru +@msg an SVG filter's id is at most {MAX_NAME} characters id filtru SVG má nejvýše {MAX_NAME} znaků +@msg <{_1}> isn't an element of an SVG filter <{_1}> není prvkem filtru SVG +@msg an SVG filter has no event attributes such as {_1} filtr SVG nemá atributy událostí, jako je {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs obrázky filtru SVG jsou adresy data: ve formátu PNG, JPEG, GIF nebo WebP +@msg the SVG filter isn't valid XML: {e} filtr SVG není platné XML: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves prvku feTurbulence je nejvýše {MAX_OCTAVES} +@msg {what} is at most {max} {what} je nejvýše {max} +@msg feConvolveMatrix's order order prvku feConvolveMatrix +@msg feMorphology's radius radius prvku feMorphology +@msg a blur's stdDeviation stdDeviation rozostření +@msg the SVG filter has no primitives filtr SVG nemá žádná primitiva +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives filtr SVG má nejvýše {MAX_PRIMITIVES} primitiv +@msg the SVG filter is too large once its attributes are written out filtr SVG je po vypsání jeho atributů příliš velký +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all obrázky filtru SVG mají celkem nejvýše {MAX_IMAGE_PIXELS} pixelů +@msg the SVG filter can't be drawn: check its primitives and their inputs filtr SVG nelze vykreslit: zkontrolujte jeho primitiva a jejich vstupy +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep prvky filtru SVG jsou vnořeny nejvýše {MAX_DEPTH} úrovní hluboko +@msg an SVG filter is at most {_1} KB filtr SVG má nejvýše {_1} KB @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) objekt nemá žádný 3D efekt (Vysunutí a zkosení, Rotační těleso, Nafouknutí ani Otočit) @msg its 3D effect builds no solid jeho 3D efekt nevytváří žádné těleso @msg bevel must be none or one of {_1} bevel musí být none nebo jedno z {_1} diff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsv index 433c6af3d6..fb540e10be 100644 --- a/crates/ui-egui/src/i18n/da.tsv +++ b/crates/ui-egui/src/i18n/da.tsv @@ -34,7 +34,7 @@ Clear Recent Files Ryd seneste filer Show in Folder Vis i mappe Close Luk -@id file.close file.close +@id file.close Luk Close All Luk alle Save Gem Save As… Gem som… @@ -497,7 +497,7 @@ Zig Zag… Zigzag… Pathfinder Pathfinder Add Foren -@id pathfinder.add pathfinder.add +@id pathfinder.add Foren Intersect Skæring Exclude Udeluk Subtract Træk fra diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index 951f6f9c37..1094872dfa 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -5561,6 +5561,24 @@ lighting Light Licht @msg a 3D effect on a group's fill or stroke draws nothing ein 3D-Effekt auf der Fläche oder Kontur einer Gruppe zeichnet nichts @msg a 3D effect on a group's fill or stroke draws nothing to export ein 3D-Effekt auf der Fläche oder Kontur einer Gruppe zeichnet nichts, das exportiert werden kann @msg The 3D object is too complex to export Das 3D-Objekt ist zu komplex für den Export +@msg the element needs an id, the filter's name das -Element braucht eine id, den Namen des Filters +@msg an SVG filter's id is at most {MAX_NAME} characters die id eines SVG-Filters hat höchstens {MAX_NAME} Zeichen +@msg <{_1}> isn't an element of an SVG filter <{_1}> ist kein Element eines SVG-Filters +@msg an SVG filter has no event attributes such as {_1} ein SVG-Filter hat keine Ereignisattribute wie {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs die Bilder eines SVG-Filters sind data:-URLs im Format PNG, JPEG, GIF oder WebP +@msg the SVG filter isn't valid XML: {e} der SVG-Filter ist kein gültiges XML: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves von feTurbulence ist höchstens {MAX_OCTAVES} +@msg {what} is at most {max} {what} ist höchstens {max} +@msg feConvolveMatrix's order order von feConvolveMatrix +@msg feMorphology's radius radius von feMorphology +@msg a blur's stdDeviation stdDeviation einer Weichzeichnung +@msg the SVG filter has no primitives der SVG-Filter hat keine Filterprimitive +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives ein SVG-Filter hat höchstens {MAX_PRIMITIVES} Filterprimitive +@msg the SVG filter is too large once its attributes are written out der SVG-Filter ist zu groß, sobald seine Attribute ausgeschrieben sind +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all die Bilder eines SVG-Filters haben insgesamt höchstens {MAX_IMAGE_PIXELS} Pixel +@msg the SVG filter can't be drawn: check its primitives and their inputs der SVG-Filter kann nicht gezeichnet werden: Prüfen Sie seine Filterprimitive und deren Eingaben +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep die Elemente eines SVG-Filters sind höchstens {MAX_DEPTH} Ebenen tief verschachtelt +@msg an SVG filter is at most {_1} KB ein SVG-Filter ist höchstens {_1} KB groß @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) das Objekt hat keinen 3D-Effekt (Extrudieren und abgeflachte Kante, Kreiseln, Aufblasen oder Drehen) @msg its 3D effect builds no solid sein 3D-Effekt erzeugt keinen Körper @msg bevel must be none or one of {_1} bevel muss none oder einer der folgenden Werte sein: {_1} diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv index 62e3adc491..2103a2f19d 100644 --- a/crates/ui-egui/src/i18n/el.tsv +++ b/crates/ui-egui/src/i18n/el.tsv @@ -2212,7 +2212,7 @@ font-technology Variable Μεταβλητές Vertical: Κατακόρυφα: View Προβολή W: Π: - Warp Παραμόρφωση + Warp Στρέβλωση Wave… Κύμα… Web Snap: Προσκόλληση στον ιστό: Weight Βάρος @@ -5346,6 +5346,25 @@ digits Malayalam Μαλαγιάλαμ @msg a 3D effect on a group's fill or stroke draws nothing ένα εφέ 3D στο γέμισμα ή στην πινελιά μιας ομάδας δεν σχεδιάζει τίποτα @msg a 3D effect on a group's fill or stroke draws nothing to export ένα εφέ 3D στο γέμισμα ή στην πινελιά μιας ομάδας δεν σχεδιάζει τίποτα για εξαγωγή @msg The 3D object is too complex to export Το αντικείμενο 3D είναι πολύ σύνθετο για εξαγωγή +@msg give one element δώστε ένα στοιχείο +@msg the element needs an id, the filter's name το στοιχείο χρειάζεται id, το όνομα του φίλτρου +@msg an SVG filter's id is at most {MAX_NAME} characters το id ενός φίλτρου SVG έχει το πολύ {MAX_NAME} χαρακτήρες +@msg <{_1}> isn't an element of an SVG filter το <{_1}> δεν είναι στοιχείο φίλτρου SVG +@msg an SVG filter has no event attributes such as {_1} ένα φίλτρο SVG δεν έχει χαρακτηριστικά συμβάντων όπως το {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs οι εικόνες ενός φίλτρου SVG είναι διευθύνσεις data: PNG, JPEG, GIF ή WebP +@msg the SVG filter isn't valid XML: {e} το φίλτρο SVG δεν είναι έγκυρη XML: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} το numOctaves του feTurbulence είναι το πολύ {MAX_OCTAVES} +@msg {what} is at most {max} {what}: το πολύ {max} +@msg feConvolveMatrix's order order του feConvolveMatrix +@msg feMorphology's radius radius του feMorphology +@msg a blur's stdDeviation stdDeviation ενός θολώματος +@msg the SVG filter has no primitives το φίλτρο SVG δεν έχει πρωτογενή στοιχεία +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives ένα φίλτρο SVG έχει το πολύ {MAX_PRIMITIVES} πρωτογενή στοιχεία +@msg the SVG filter is too large once its attributes are written out το φίλτρο SVG είναι πολύ μεγάλο όταν γραφτούν τα χαρακτηριστικά του +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all οι εικόνες ενός φίλτρου SVG έχουν συνολικά το πολύ {MAX_IMAGE_PIXELS} εικονοστοιχεία +@msg the SVG filter can't be drawn: check its primitives and their inputs το φίλτρο SVG δεν μπορεί να σχεδιαστεί: ελέγξτε τα πρωτογενή στοιχεία του και τις εισόδους τους +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep τα στοιχεία ενός φίλτρου SVG εμφωλεύονται σε βάθος το πολύ {MAX_DEPTH} επιπέδων +@msg an SVG filter is at most {_1} KB ένα φίλτρο SVG είναι το πολύ {_1} KB @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) το αντικείμενο δεν έχει εφέ 3D (Εξώθηση και λοξότμηση, Περιστροφή γύρω από άξονα, Φούσκωμα ή Περιστροφή) @msg its 3D effect builds no solid το εφέ 3D του δεν δημιουργεί στερεό @msg bevel must be none or one of {_1} το bevel πρέπει να είναι none ή ένα από τα {_1} diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index d1c6aa53af..ba9e74c35f 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -5928,6 +5928,25 @@ mark-style Japanese Japonesas @msg a 3D effect on a group's fill or stroke draws nothing un efecto 3D en el relleno o el trazo de un grupo no dibuja nada @msg a 3D effect on a group's fill or stroke draws nothing to export un efecto 3D en el relleno o el trazo de un grupo no dibuja nada que exportar @msg The 3D object is too complex to export El objeto 3D es demasiado complejo para exportarlo +@msg give one element indique un elemento +@msg the element needs an id, the filter's name el elemento necesita un id, el nombre del filtro +@msg an SVG filter's id is at most {MAX_NAME} characters el id de un filtro SVG tiene como máximo {MAX_NAME} caracteres +@msg <{_1}> isn't an element of an SVG filter <{_1}> no es un elemento de un filtro SVG +@msg an SVG filter has no event attributes such as {_1} un filtro SVG no tiene atributos de evento como {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs las imágenes de un filtro SVG son URL data: en PNG, JPEG, GIF o WebP +@msg the SVG filter isn't valid XML: {e} el filtro SVG no es XML válido: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves de feTurbulence es como máximo {MAX_OCTAVES} +@msg {what} is at most {max} {what} es como máximo {max} +@msg feConvolveMatrix's order order de feConvolveMatrix +@msg feMorphology's radius radius de feMorphology +@msg a blur's stdDeviation stdDeviation de un desenfoque +@msg the SVG filter has no primitives el filtro SVG no tiene primitivas +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives un filtro SVG tiene como máximo {MAX_PRIMITIVES} primitivas +@msg the SVG filter is too large once its attributes are written out el filtro SVG es demasiado grande una vez escritos sus atributos +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all las imágenes de un filtro SVG tienen como máximo {MAX_IMAGE_PIXELS} píxeles en total +@msg the SVG filter can't be drawn: check its primitives and their inputs el filtro SVG no se puede dibujar: compruebe sus primitivas y sus entradas +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep los elementos de un filtro SVG se anidan como máximo {MAX_DEPTH} niveles +@msg an SVG filter is at most {_1} KB un filtro SVG ocupa como máximo {_1} KB @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) el objeto no tiene ningún efecto 3D (Extrusión y biselado, Revolución, Inflar o Rotar) @msg its 3D effect builds no solid su efecto 3D no construye ningún sólido @msg bevel must be none or one of {_1} bevel debe ser none o uno de estos: {_1} diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsv index 45e47fd355..5b3a784e5c 100644 --- a/crates/ui-egui/src/i18n/fi.tsv +++ b/crates/ui-egui/src/i18n/fi.tsv @@ -5868,6 +5868,25 @@ mark-style Japanese Japanilainen @msg a 3D effect on a group's fill or stroke draws nothing ryhmän täytön tai viivan 3D-tehoste ei piirrä mitään @msg a 3D effect on a group's fill or stroke draws nothing to export ryhmän täytön tai viivan 3D-tehoste ei piirrä mitään vietävää @msg The 3D object is too complex to export 3D-objekti on liian monimutkainen vietäväksi +@msg give one element anna yksi -elementti +@msg the element needs an id, the filter's name -elementti tarvitsee id:n, suotimen nimen +@msg an SVG filter's id is at most {MAX_NAME} characters SVG-suotimen id on enintään {MAX_NAME} merkkiä +@msg <{_1}> isn't an element of an SVG filter <{_1}> ei ole SVG-suotimen elementti +@msg an SVG filter has no event attributes such as {_1} SVG-suotimessa ei ole tapahtumamääritteitä, kuten {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs SVG-suotimen kuvat ovat PNG-, JPEG-, GIF- tai WebP-muotoisia data:-URL-osoitteita +@msg the SVG filter isn't valid XML: {e} SVG-suodin ei ole kelvollista XML:ää: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} feTurbulencen numOctaves on enintään {MAX_OCTAVES} +@msg {what} is at most {max} {what} on enintään {max} +@msg feConvolveMatrix's order feConvolveMatrixin order +@msg feMorphology's radius feMorphologyn radius +@msg a blur's stdDeviation sumennuksen stdDeviation +@msg the SVG filter has no primitives SVG-suotimessa ei ole primitiivejä +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives SVG-suotimessa on enintään {MAX_PRIMITIVES} primitiiviä +@msg the SVG filter is too large once its attributes are written out SVG-suodin on liian suuri, kun sen määritteet kirjoitetaan auki +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all SVG-suotimen kuvissa on yhteensä enintään {MAX_IMAGE_PIXELS} pikseliä +@msg the SVG filter can't be drawn: check its primitives and their inputs SVG-suodinta ei voi piirtää: tarkista sen primitiivit ja niiden syötteet +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep SVG-suotimen elementit ovat sisäkkäin enintään {MAX_DEPTH} tason syvyydellä +@msg an SVG filter is at most {_1} KB SVG-suodin on enintään {_1} kt @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) objektilla ei ole 3D-tehostetta (Pursota ja viistä, Pyöräytä, Täytä ilmalla tai Kierrä) @msg its 3D effect builds no solid sen 3D-tehoste ei muodosta kappaletta @msg bevel must be none or one of {_1} bevel-arvon on oltava none tai jokin seuraavista: {_1} diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index 057dce6872..8282fb35e4 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -5337,7 +5337,7 @@ effect Soft Doux On Both Sides Des deux côtés Short Courte Full Width Toute la largeur - Distort Déformation + Distort Distorsion Diffuse Glow… Lueur diffuse… Glass… Verre… Ocean Ripple… Océan… @@ -5555,6 +5555,25 @@ lighting Light Lumière @msg a 3D effect on a group's fill or stroke draws nothing un effet 3D sur le fond ou le contour d'un groupe ne dessine rien @msg a 3D effect on a group's fill or stroke draws nothing to export un effet 3D sur le fond ou le contour d'un groupe ne dessine rien à exporter @msg The 3D object is too complex to export L'objet 3D est trop complexe pour être exporté +@msg give one element indiquez un seul élément +@msg the element needs an id, the filter's name l’élément doit avoir un id, le nom du filtre +@msg an SVG filter's id is at most {MAX_NAME} characters l’id d’un filtre SVG compte au plus {MAX_NAME} caractères +@msg <{_1}> isn't an element of an SVG filter <{_1}> n’est pas un élément de filtre SVG +@msg an SVG filter has no event attributes such as {_1} un filtre SVG n’a pas d’attributs d’événement tels que {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs les images d’un filtre SVG sont des URL data: PNG, JPEG, GIF ou WebP +@msg the SVG filter isn't valid XML: {e} le filtre SVG n’est pas du XML valide : {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves de feTurbulence vaut au plus {MAX_OCTAVES} +@msg {what} is at most {max} {what} vaut au plus {max} +@msg feConvolveMatrix's order order de feConvolveMatrix +@msg feMorphology's radius radius de feMorphology +@msg a blur's stdDeviation stdDeviation d’un flou +@msg the SVG filter has no primitives le filtre SVG n’a aucune primitive +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives un filtre SVG a au plus {MAX_PRIMITIVES} primitives +@msg the SVG filter is too large once its attributes are written out le filtre SVG est trop volumineux une fois ses attributs écrits +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all les images d’un filtre SVG comptent au plus {MAX_IMAGE_PIXELS} pixels au total +@msg the SVG filter can't be drawn: check its primitives and their inputs le filtre SVG ne peut pas être dessiné : vérifiez ses primitives et leurs entrées +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep les éléments d’un filtre SVG s’imbriquent sur au plus {MAX_DEPTH} niveaux +@msg an SVG filter is at most {_1} KB un filtre SVG fait au plus {_1} Ko @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) l'objet n'a aucun effet 3D (Extrusion et biseautage, Révolution, Gonfler ou Rotation) @msg its 3D effect builds no solid son effet 3D ne construit aucun volume @msg bevel must be none or one of {_1} bevel doit valoir none ou l’une de ces valeurs : {_1} diff --git a/crates/ui-egui/src/i18n/hi.tsv b/crates/ui-egui/src/i18n/hi.tsv index 9d056e085a..72e9dd86fa 100644 --- a/crates/ui-egui/src/i18n/hi.tsv +++ b/crates/ui-egui/src/i18n/hi.tsv @@ -7993,6 +7993,25 @@ antiAlias Sharp शार्प @msg a 3D effect on a group's fill or stroke draws nothing ग्रुप के फ़िल या स्ट्रोक पर 3D इफ़ेक्ट कुछ नहीं बनाता @msg a 3D effect on a group's fill or stroke draws nothing to export ग्रुप के फ़िल या स्ट्रोक पर 3D इफ़ेक्ट एक्सपोर्ट करने लायक कुछ नहीं बनाता @msg The 3D object is too complex to export 3D ऑब्जेक्ट एक्सपोर्ट करने के लिए बहुत जटिल है +@msg give one element एक एलिमेंट दें +@msg the element needs an id, the filter's name एलिमेंट को एक id चाहिए, जो फ़िल्टर का नाम है +@msg an SVG filter's id is at most {MAX_NAME} characters SVG फ़िल्टर की id अधिकतम {MAX_NAME} वर्णों की होती है +@msg <{_1}> isn't an element of an SVG filter <{_1}> SVG फ़िल्टर का एलिमेंट नहीं है +@msg an SVG filter has no event attributes such as {_1} SVG फ़िल्टर में {_1} जैसे इवेंट एट्रिब्यूट नहीं होते +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs SVG फ़िल्टर की इमेज PNG, JPEG, GIF या WebP data: URL होती हैं +@msg the SVG filter isn't valid XML: {e} SVG फ़िल्टर मान्य XML नहीं है: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} feTurbulence का numOctaves अधिकतम {MAX_OCTAVES} होता है +@msg {what} is at most {max} {what} अधिकतम {max} होता है +@msg feConvolveMatrix's order feConvolveMatrix का order +@msg feMorphology's radius feMorphology का radius +@msg a blur's stdDeviation ब्लर का stdDeviation +@msg the SVG filter has no primitives SVG फ़िल्टर में कोई प्रिमिटिव नहीं है +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives SVG फ़िल्टर में अधिकतम {MAX_PRIMITIVES} प्रिमिटिव होते हैं +@msg the SVG filter is too large once its attributes are written out एट्रिब्यूट लिखे जाने के बाद SVG फ़िल्टर बहुत बड़ा हो जाता है +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all SVG फ़िल्टर की इमेज में कुल मिलाकर अधिकतम {MAX_IMAGE_PIXELS} पिक्सेल होते हैं +@msg the SVG filter can't be drawn: check its primitives and their inputs SVG फ़िल्टर बनाया नहीं जा सकता: उसके प्रिमिटिव और उनके इनपुट जाँचें +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep SVG फ़िल्टर के एलिमेंट अधिकतम {MAX_DEPTH} स्तर तक नेस्ट होते हैं +@msg an SVG filter is at most {_1} KB SVG फ़िल्टर अधिकतम {_1} KB का होता है @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) ऑब्जेक्ट पर कोई 3D इफ़ेक्ट नहीं है (एक्सट्रूडेड और बेवेल, रिवॉल्व, फुलाएँ या घुमाव) @msg its 3D effect builds no solid इसका 3D इफ़ेक्ट कोई ठोस नहीं बनाता @msg bevel must be none or one of {_1} bevel को none या {_1} में से एक होना चाहिए diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index c2f1a52cd9..731e5fef88 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -5970,6 +5970,25 @@ imageTrace Outline Körvonal @msg a 3D effect on a group's fill or stroke draws nothing a csoport kitöltésén vagy körvonalán lévő 3D effektus nem rajzol semmit @msg a 3D effect on a group's fill or stroke draws nothing to export a csoport kitöltésén vagy körvonalán lévő 3D effektus nem rajzol semmi exportálhatót @msg The 3D object is too complex to export A 3D objektum túl összetett az exportáláshoz +@msg give one element adjon meg egy elemet +@msg the element needs an id, the filter's name a elemnek id kell, a szűrő neve +@msg an SVG filter's id is at most {MAX_NAME} characters egy SVG-szűrő id-je legfeljebb {MAX_NAME} karakter +@msg <{_1}> isn't an element of an SVG filter a(z) <{_1}> nem SVG-szűrő eleme +@msg an SVG filter has no event attributes such as {_1} egy SVG-szűrőnek nincsenek eseményattribútumai, például {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs egy SVG-szűrő képei PNG, JPEG, GIF vagy WebP formátumú data: URL-ek +@msg the SVG filter isn't valid XML: {e} az SVG-szűrő nem érvényes XML: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} a feTurbulence numOctaves értéke legfeljebb {MAX_OCTAVES} +@msg {what} is at most {max} {what} legfeljebb {max} +@msg feConvolveMatrix's order a feConvolveMatrix order értéke +@msg feMorphology's radius a feMorphology radius értéke +@msg a blur's stdDeviation egy elmosás stdDeviation értéke +@msg the SVG filter has no primitives az SVG-szűrőnek nincsenek primitívjei +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives egy SVG-szűrőnek legfeljebb {MAX_PRIMITIVES} primitívje van +@msg the SVG filter is too large once its attributes are written out az SVG-szűrő túl nagy, miután az attribútumai ki vannak írva +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all egy SVG-szűrő képei összesen legfeljebb {MAX_IMAGE_PIXELS} képpontosak +@msg the SVG filter can't be drawn: check its primitives and their inputs az SVG-szűrő nem rajzolható meg: ellenőrizze a primitívjeit és azok bemeneteit +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep egy SVG-szűrő elemei legfeljebb {MAX_DEPTH} szint mélyen ágyazhatók egymásba +@msg an SVG filter is at most {_1} KB egy SVG-szűrő legfeljebb {_1} KB @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) az objektumnak nincs 3D effektusa (Kihúzás és élletörés, Forgatás tengely körül, Felfújás vagy Elforgatás) @msg its 3D effect builds no solid a 3D effektusa nem hoz létre testet @msg bevel must be none or one of {_1} a bevel értéke none vagy ezek egyike lehet: {_1} diff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsv index a36c629332..6c73d005e2 100644 --- a/crates/ui-egui/src/i18n/id.tsv +++ b/crates/ui-egui/src/i18n/id.tsv @@ -34,7 +34,7 @@ Clear Recent Files Kosongkan berkas terbaru Show in Folder Tampilkan di folder Close Tutup -@id file.close berkas.tutup +@id file.close Tutup Close All Tutup semua Save Simpan Save As… Simpan sebagai… @@ -497,7 +497,7 @@ Zig Zag… Zig Zag… Pathfinder Pathfinder Add Tambah -@id pathfinder.add pathfinder.tambah +@id pathfinder.add Satukan Intersect Iris Exclude Kecualikan Subtract Kurangi diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index 0ac2816b07..c7c72c4782 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -5603,6 +5603,24 @@ lighting Light Luce @msg a 3D effect on a group's fill or stroke draws nothing un effetto 3D sul riempimento o sulla traccia di un gruppo non disegna nulla @msg a 3D effect on a group's fill or stroke draws nothing to export un effetto 3D sul riempimento o sulla traccia di un gruppo non disegna nulla da esportare @msg The 3D object is too complex to export L'oggetto 3D è troppo complesso per essere esportato +@msg the element needs an id, the filter's name l'elemento richiede un id, il nome del filtro +@msg an SVG filter's id is at most {MAX_NAME} characters l'id di un filtro SVG ha al massimo {MAX_NAME} caratteri +@msg <{_1}> isn't an element of an SVG filter <{_1}> non è un elemento di un filtro SVG +@msg an SVG filter has no event attributes such as {_1} un filtro SVG non ha attributi di evento come {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs le immagini di un filtro SVG sono URL data: PNG, JPEG, GIF o WebP +@msg the SVG filter isn't valid XML: {e} il filtro SVG non è XML valido: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves di feTurbulence è al massimo {MAX_OCTAVES} +@msg {what} is at most {max} {what} è al massimo {max} +@msg feConvolveMatrix's order order di feConvolveMatrix +@msg feMorphology's radius radius di feMorphology +@msg a blur's stdDeviation stdDeviation di una sfocatura +@msg the SVG filter has no primitives il filtro SVG non ha primitive +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives un filtro SVG ha al massimo {MAX_PRIMITIVES} primitive +@msg the SVG filter is too large once its attributes are written out il filtro SVG è troppo grande una volta scritti i suoi attributi +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all le immagini di un filtro SVG hanno al massimo {MAX_IMAGE_PIXELS} pixel in tutto +@msg the SVG filter can't be drawn: check its primitives and their inputs impossibile disegnare il filtro SVG: controlla le sue primitive e i relativi input +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep gli elementi di un filtro SVG si annidano al massimo per {MAX_DEPTH} livelli +@msg an SVG filter is at most {_1} KB un filtro SVG occupa al massimo {_1} KB @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) l'oggetto non ha alcun effetto 3D (Estrusione e smusso, Rivoluzione, Gonfia o Ruota) @msg its 3D effect builds no solid il suo effetto 3D non costruisce alcun solido @msg bevel must be none or one of {_1} bevel deve essere none o uno dei seguenti: {_1} diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index 71de1ce91c..43e0f64d70 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -5645,6 +5645,25 @@ lighting Light ライト @msg a 3D effect on a group's fill or stroke draws nothing グループの塗りまたは線にある 3D 効果は何も描画しません @msg a 3D effect on a group's fill or stroke draws nothing to export グループの塗りまたは線にある 3D 効果には書き出せる描画がありません @msg The 3D object is too complex to export 3D オブジェクトが複雑すぎるため書き出せません +@msg give one element 要素を 1 つ指定してください +@msg the element needs an id, the filter's name 要素には id (フィルターの名前) が必要です +@msg an SVG filter's id is at most {MAX_NAME} characters SVG フィルターの id は {MAX_NAME} 文字までです +@msg <{_1}> isn't an element of an SVG filter <{_1}> は SVG フィルターの要素ではありません +@msg an SVG filter has no event attributes such as {_1} SVG フィルターには {_1} などのイベント属性は使えません +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs SVG フィルターの画像は PNG、JPEG、GIF、WebP の data: URL に限ります +@msg the SVG filter isn't valid XML: {e} SVG フィルターが有効な XML ではありません: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} feTurbulence の numOctaves は {MAX_OCTAVES} までです +@msg {what} is at most {max} {what} は {max} までです +@msg feConvolveMatrix's order feConvolveMatrix の order +@msg feMorphology's radius feMorphology の radius +@msg a blur's stdDeviation ぼかしの stdDeviation +@msg the SVG filter has no primitives SVG フィルターにプリミティブがありません +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives SVG フィルターのプリミティブは {MAX_PRIMITIVES} 個までです +@msg the SVG filter is too large once its attributes are written out 属性を書き出すと SVG フィルターが大きくなりすぎます +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all SVG フィルターの画像は合計 {MAX_IMAGE_PIXELS} ピクセルまでです +@msg the SVG filter can't be drawn: check its primitives and their inputs SVG フィルターを描画できません: プリミティブとその入力を確認してください +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep SVG フィルターの要素の入れ子は {MAX_DEPTH} 階層までです +@msg an SVG filter is at most {_1} KB SVG フィルターは {_1} KB までです @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) オブジェクトに 3D 効果 (押し出しとベベル、回転体、膨張、回転) がありません @msg its 3D effect builds no solid 3D 効果からソリッドが作成されません @msg bevel must be none or one of {_1} bevel には none または {_1} のいずれかを指定してください diff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsv index 2cff51d94b..766d94ae7b 100644 --- a/crates/ui-egui/src/i18n/ka.tsv +++ b/crates/ui-egui/src/i18n/ka.tsv @@ -5269,6 +5269,25 @@ font-technology Variable ცვლადი @msg a 3D effect on a group's fill or stroke draws nothing ჯგუფის შევსებაზე ან კონტურზე 3D ეფექტი არაფერს ხატავს @msg a 3D effect on a group's fill or stroke draws nothing to export ჯგუფის შევსებაზე ან კონტურზე 3D ეფექტი ექსპორტისთვის არაფერს ხატავს @msg The 3D object is too complex to export 3D ობიექტი ზედმეტად რთულია ექსპორტისთვის +@msg give one element მიუთითეთ ერთი ელემენტი +@msg the element needs an id, the filter's name ელემენტს სჭირდება id, ფილტრის სახელი +@msg an SVG filter's id is at most {MAX_NAME} characters SVG ფილტრის id მაქსიმუმ {MAX_NAME} სიმბოლოა +@msg <{_1}> isn't an element of an SVG filter <{_1}> არ არის SVG ფილტრის ელემენტი +@msg an SVG filter has no event attributes such as {_1} SVG ფილტრს არ აქვს მოვლენის ატრიბუტები, როგორიცაა {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs SVG ფილტრის გამოსახულებები PNG, JPEG, GIF ან WebP data: URL-ებია +@msg the SVG filter isn't valid XML: {e} SVG ფილტრი არ არის სწორი XML: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} feTurbulence-ის numOctaves მაქსიმუმ {MAX_OCTAVES}-ია +@msg {what} is at most {max} {what}: მაქსიმუმ {max} +@msg feConvolveMatrix's order feConvolveMatrix-ის order +@msg feMorphology's radius feMorphology-ის radius +@msg a blur's stdDeviation დაბინდვის stdDeviation +@msg the SVG filter has no primitives SVG ფილტრს არ აქვს პრიმიტივები +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives SVG ფილტრს აქვს მაქსიმუმ {MAX_PRIMITIVES} პრიმიტივი +@msg the SVG filter is too large once its attributes are written out SVG ფილტრი ზედმეტად დიდია მისი ატრიბუტების ჩაწერის შემდეგ +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all SVG ფილტრის გამოსახულებებს სულ მაქსიმუმ {MAX_IMAGE_PIXELS} პიქსელი აქვს +@msg the SVG filter can't be drawn: check its primitives and their inputs SVG ფილტრის დახატვა შეუძლებელია: შეამოწმეთ მისი პრიმიტივები და მათი შემავალი მონაცემები +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep SVG ფილტრის ელემენტები მაქსიმუმ {MAX_DEPTH} დონის სიღრმეზეა ჩადგმული +@msg an SVG filter is at most {_1} KB SVG ფილტრი მაქსიმუმ {_1} KB-ია @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) ობიექტს არ აქვს 3D ეფექტი (ამოწევა და წაკვეთა, ბრუნვა, გაბერვა ან შემობრუნება) @msg its 3D effect builds no solid მისი 3D ეფექტი სხეულს არ ქმნის @msg bevel must be none or one of {_1} bevel უნდა იყოს none ან ერთ-ერთი: {_1} diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index 4715a413f4..6ddaa278d9 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -596,7 +596,7 @@ digits Malayalam 말라얄람어 Feather… 페더… SVG Filters SVG 필터 Apply SVG Filter… SVG 필터 적용… - Warp 왜곡 + Warp 뒤틀기 Arc… 호… Arc Lower… 아래쪽 호… Arc Upper… 위쪽 호… @@ -743,7 +743,7 @@ digits Malayalam 말라얄람어 Keep Tools Beside the Canvas 캔버스 옆에 도구 배치 Actions 액션 Asset Export 에셋 내보내기 - Attributes 속성 + Attributes 특성 Brushes 브러시 Color 색상 Color Guide 색상 가이드 @@ -5564,6 +5564,25 @@ lighting Light 광원 @msg a 3D effect on a group's fill or stroke draws nothing 그룹의 칠이나 획에 있는 3D 효과는 아무것도 그리지 않습니다 @msg a 3D effect on a group's fill or stroke draws nothing to export 그룹의 칠이나 획에 있는 3D 효과는 내보낼 것을 그리지 않습니다 @msg The 3D object is too complex to export 3D 개체가 너무 복잡하여 내보낼 수 없습니다 +@msg give one element 요소를 하나 지정하세요 +@msg the element needs an id, the filter's name 요소에는 필터 이름인 id가 필요합니다 +@msg an SVG filter's id is at most {MAX_NAME} characters SVG 필터의 id는 최대 {MAX_NAME}자입니다 +@msg <{_1}> isn't an element of an SVG filter <{_1}>은(는) SVG 필터의 요소가 아닙니다 +@msg an SVG filter has no event attributes such as {_1} SVG 필터에는 {_1} 같은 이벤트 속성이 없습니다 +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs SVG 필터의 이미지는 PNG, JPEG, GIF 또는 WebP data: URL입니다 +@msg the SVG filter isn't valid XML: {e} SVG 필터가 올바른 XML이 아닙니다: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} feTurbulence의 numOctaves는 최대 {MAX_OCTAVES}입니다 +@msg {what} is at most {max} {what}은(는) 최대 {max}입니다 +@msg feConvolveMatrix's order feConvolveMatrix의 order +@msg feMorphology's radius feMorphology의 radius +@msg a blur's stdDeviation 흐림 효과의 stdDeviation +@msg the SVG filter has no primitives SVG 필터에 프리미티브가 없습니다 +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives SVG 필터의 프리미티브는 최대 {MAX_PRIMITIVES}개입니다 +@msg the SVG filter is too large once its attributes are written out 속성을 모두 쓰면 SVG 필터가 너무 커집니다 +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all SVG 필터의 이미지는 모두 합쳐 최대 {MAX_IMAGE_PIXELS}픽셀입니다 +@msg the SVG filter can't be drawn: check its primitives and their inputs SVG 필터를 그릴 수 없습니다: 프리미티브와 그 입력을 확인하세요 +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep SVG 필터의 요소는 최대 {MAX_DEPTH}단계까지 중첩됩니다 +@msg an SVG filter is at most {_1} KB SVG 필터는 최대 {_1}KB입니다 @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) 개체에 3D 효과(돌출 및 경사, 회전체, 부풀리기 또는 회전)가 없습니다 @msg its 3D effect builds no solid 3D 효과가 입체를 만들지 않습니다 @msg bevel must be none or one of {_1} bevel은 none 또는 {_1} 중 하나여야 합니다 diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsv index 94957fb782..c8360e57b2 100644 --- a/crates/ui-egui/src/i18n/nl.tsv +++ b/crates/ui-egui/src/i18n/nl.tsv @@ -537,7 +537,7 @@ Clear Recent Files Recente bestanden wissen Show in Folder Tonen in map Close Sluiten -@id file.close file.close +@id file.close Sluiten Close All Alles sluiten Save Opslaan Save As… Opslaan als… @@ -1014,7 +1014,7 @@ Zig Zag… Zigzag… Pathfinder Padvinder Add Toevoegen -@id pathfinder.add pathfinder.add +@id pathfinder.add Verenigen Intersect Doorsnede Exclude Uitsluiten Subtract Aftrekken @@ -5926,6 +5926,25 @@ mark-style Japanese Japans @msg a 3D effect on a group's fill or stroke draws nothing een 3D-effect op de vulling of contour van een groep tekent niets @msg a 3D effect on a group's fill or stroke draws nothing to export een 3D-effect op de vulling of contour van een groep tekent niets om te exporteren @msg The 3D object is too complex to export Het 3D-object is te complex om te exporteren +@msg give one element geef één -element op +@msg the element needs an id, the filter's name het -element heeft een id nodig, de naam van het filter +@msg an SVG filter's id is at most {MAX_NAME} characters de id van een SVG-filter is hoogstens {MAX_NAME} tekens lang +@msg <{_1}> isn't an element of an SVG filter <{_1}> is geen element van een SVG-filter +@msg an SVG filter has no event attributes such as {_1} een SVG-filter heeft geen gebeurtenisattributen zoals {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs de afbeeldingen van een SVG-filter zijn data:-URL's in PNG, JPEG, GIF of WebP +@msg the SVG filter isn't valid XML: {e} het SVG-filter is geen geldige XML: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves van feTurbulence is hoogstens {MAX_OCTAVES} +@msg {what} is at most {max} {what} is hoogstens {max} +@msg feConvolveMatrix's order order van feConvolveMatrix +@msg feMorphology's radius radius van feMorphology +@msg a blur's stdDeviation stdDeviation van een vervaging +@msg the SVG filter has no primitives het SVG-filter heeft geen primitieven +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives een SVG-filter heeft hoogstens {MAX_PRIMITIVES} primitieven +@msg the SVG filter is too large once its attributes are written out het SVG-filter is te groot zodra de attributen zijn uitgeschreven +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all de afbeeldingen van een SVG-filter hebben samen hoogstens {MAX_IMAGE_PIXELS} pixels +@msg the SVG filter can't be drawn: check its primitives and their inputs het SVG-filter kan niet worden getekend: controleer de primitieven en hun invoer +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep de elementen van een SVG-filter zijn hoogstens {MAX_DEPTH} niveaus diep genest +@msg an SVG filter is at most {_1} KB een SVG-filter is hoogstens {_1} kB @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) het object heeft geen 3D-effect (Extruderen en afschuinen, Draaien, Opblazen of Roteren) @msg its 3D effect builds no solid het 3D-effect ervan maakt geen massief object @msg bevel must be none or one of {_1} bevel moet none of een van {_1} zijn diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv index 5184985726..f8e0f840de 100644 --- a/crates/ui-egui/src/i18n/pl.tsv +++ b/crates/ui-egui/src/i18n/pl.tsv @@ -5818,6 +5818,25 @@ mark-style Japanese Japońskie @msg a 3D effect on a group's fill or stroke draws nothing efekt 3D na wypełnieniu lub obrysie grupy niczego nie rysuje @msg a 3D effect on a group's fill or stroke draws nothing to export efekt 3D na wypełnieniu lub obrysie grupy nie rysuje niczego do eksportu @msg The 3D object is too complex to export Obiekt 3D jest zbyt złożony, aby go wyeksportować +@msg give one element podaj jeden element +@msg the element needs an id, the filter's name element wymaga id, czyli nazwy filtra +@msg an SVG filter's id is at most {MAX_NAME} characters id filtra SVG ma najwyżej {MAX_NAME} znaków +@msg <{_1}> isn't an element of an SVG filter <{_1}> nie jest elementem filtra SVG +@msg an SVG filter has no event attributes such as {_1} filtr SVG nie ma atrybutów zdarzeń, takich jak {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs obrazy filtra SVG to adresy data: PNG, JPEG, GIF lub WebP +@msg the SVG filter isn't valid XML: {e} filtr SVG nie jest poprawnym XML: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves elementu feTurbulence wynosi najwyżej {MAX_OCTAVES} +@msg {what} is at most {max} {what} wynosi najwyżej {max} +@msg feConvolveMatrix's order order elementu feConvolveMatrix +@msg feMorphology's radius radius elementu feMorphology +@msg a blur's stdDeviation stdDeviation rozmycia +@msg the SVG filter has no primitives filtr SVG nie ma prymitywów +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives filtr SVG ma najwyżej {MAX_PRIMITIVES} prymitywów +@msg the SVG filter is too large once its attributes are written out filtr SVG jest zbyt duży po zapisaniu jego atrybutów +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all obrazy filtra SVG mają łącznie najwyżej {MAX_IMAGE_PIXELS} pikseli +@msg the SVG filter can't be drawn: check its primitives and their inputs nie można narysować filtra SVG: sprawdź jego prymitywy i ich wejścia +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep elementy filtra SVG zagnieżdżają się najwyżej na {MAX_DEPTH} poziomów +@msg an SVG filter is at most {_1} KB filtr SVG ma najwyżej {_1} KB @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) obiekt nie ma efektu 3D (Wyciągnięcie i fazowanie, Obrót, Nadmuchanie ani Obróć) @msg its 3D effect builds no solid jego efekt 3D nie tworzy żadnej bryły @msg bevel must be none or one of {_1} bevel musi mieć wartość none lub jedną z: {_1} diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index f6e54552d4..6b07464204 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -226,7 +226,7 @@ antiAlias Sharp Nítido Arc Lower… Arco Inferior… Arc Tool Ferramenta Arco Arc Upper… Arco Superior… - Arch… Arco… + Arch… Abóbada… Arc… Arco… Area / Path Type Texto de Área / Caminho Area Graph Tool Ferramenta Gráfico de Área @@ -1298,7 +1298,7 @@ antiAlias Sharp Nítido Guides & Grid Guias e Grade H Spacing: Espaçamento H: H: H: - Hair Space Espaço Fino + Hair Space Espaço Ultrafino Hand Tool Ferramenta Mão Hand-Drawn Desenhado à Mão Painted and Sketched Pintado e Esboçado @@ -3142,7 +3142,7 @@ digits Malayalam Malaiala Trim mark weight: Peso da marca de corte: True colour needs version 2004 or later: the nearest of 256 colours is written. A cor verdadeira requer a versão 2004 ou posterior: a cor mais próxima das 256 cores é escrita. Turn off Data Recovery for complex documents Desligar Recuperação de Dados para documentos complexos - Tweak… Torcer… + Tweak… Ajustar… Twirl Rate: Taxa de Redemoinho: Twirl Tool Ferramenta Redemoinho Twist… Torcer… @@ -3290,7 +3290,7 @@ digits Malayalam Malaiala Viewing Distance: Distância de Visualização: W: W: Warnings Avisos - Warp Distorcer + Warp Deformar Warp Options Opções de Distorção Warp Tool Ferramenta Distorcer Wave… Onda… @@ -5936,6 +5936,24 @@ mark-style Japanese Japonesas @msg a 3D effect on a group's fill or stroke draws nothing um efeito 3D no preenchimento ou traçado de um grupo não desenha nada @msg a 3D effect on a group's fill or stroke draws nothing to export um efeito 3D no preenchimento ou traçado de um grupo não desenha nada para exportar @msg The 3D object is too complex to export O objeto 3D é complexo demais para ser exportado +@msg the element needs an id, the filter's name o elemento precisa de um id, o nome do filtro +@msg an SVG filter's id is at most {MAX_NAME} characters o id de um filtro SVG tem no máximo {MAX_NAME} caracteres +@msg <{_1}> isn't an element of an SVG filter <{_1}> não é um elemento de filtro SVG +@msg an SVG filter has no event attributes such as {_1} um filtro SVG não tem atributos de evento como {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs as imagens de um filtro SVG são URLs data: em PNG, JPEG, GIF ou WebP +@msg the SVG filter isn't valid XML: {e} o filtro SVG não é um XML válido: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves de feTurbulence é no máximo {MAX_OCTAVES} +@msg {what} is at most {max} {what} é no máximo {max} +@msg feConvolveMatrix's order order de feConvolveMatrix +@msg feMorphology's radius radius de feMorphology +@msg a blur's stdDeviation stdDeviation de um desfoque +@msg the SVG filter has no primitives o filtro SVG não tem primitivas +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives um filtro SVG tem no máximo {MAX_PRIMITIVES} primitivas +@msg the SVG filter is too large once its attributes are written out o filtro SVG fica grande demais depois que seus atributos são escritos +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all as imagens de um filtro SVG têm no máximo {MAX_IMAGE_PIXELS} pixels no total +@msg the SVG filter can't be drawn: check its primitives and their inputs não é possível desenhar o filtro SVG: verifique suas primitivas e as entradas delas +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep os elementos de um filtro SVG se aninham em no máximo {MAX_DEPTH} níveis +@msg an SVG filter is at most {_1} KB um filtro SVG tem no máximo {_1} KB @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) o objeto não tem efeito 3D (Extrusão e Bisel, Revolver, Inflar ou Girar) @msg its 3D effect builds no solid seu efeito 3D não constrói nenhum sólido @msg bevel must be none or one of {_1} bevel deve ser none ou um de {_1} diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index 8dc8336089..7a4e5dea9e 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -2032,7 +2032,7 @@ file-filter Templates Шаблоны Medium Thumbnail View Средние миниатюры Medium Thumbnails Средние миниатюры Menu Dialog Диалоговое окно меню - Merge Объединить + Merge Слить Merge colors into one row Объединить цвета в одну строку Merge Graphic Styles Объединить графические стили Merge Graphic Styles… Объединить графические стили… @@ -5588,6 +5588,25 @@ lighting Light Свет @msg a 3D effect on a group's fill or stroke draws nothing 3D-эффект на заливке или обводке группы ничего не рисует @msg a 3D effect on a group's fill or stroke draws nothing to export 3D-эффект на заливке или обводке группы не рисует ничего для экспорта @msg The 3D object is too complex to export 3D-объект слишком сложен для экспорта +@msg give one element укажите один элемент +@msg the element needs an id, the filter's name элементу нужен id, имя фильтра +@msg an SVG filter's id is at most {MAX_NAME} characters id фильтра SVG содержит не более {MAX_NAME} символов +@msg <{_1}> isn't an element of an SVG filter <{_1}> не является элементом фильтра SVG +@msg an SVG filter has no event attributes such as {_1} у фильтра SVG нет атрибутов событий, таких как {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs изображения фильтра SVG задаются URL data: в формате PNG, JPEG, GIF или WebP +@msg the SVG filter isn't valid XML: {e} фильтр SVG не является допустимым XML: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves у feTurbulence не больше {MAX_OCTAVES} +@msg {what} is at most {max} {what}: не больше {max} +@msg feConvolveMatrix's order order у feConvolveMatrix +@msg feMorphology's radius radius у feMorphology +@msg a blur's stdDeviation stdDeviation размытия +@msg the SVG filter has no primitives у фильтра SVG нет примитивов +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives у фильтра SVG не более {MAX_PRIMITIVES} примитивов +@msg the SVG filter is too large once its attributes are written out фильтр SVG становится слишком большим после записи его атрибутов +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all изображения фильтра SVG содержат в сумме не более {MAX_IMAGE_PIXELS} пикселей +@msg the SVG filter can't be drawn: check its primitives and their inputs не удается нарисовать фильтр SVG: проверьте его примитивы и их входы +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep элементы фильтра SVG вкладываются не глубже {MAX_DEPTH} уровней +@msg an SVG filter is at most {_1} KB размер фильтра SVG не более {_1} КБ @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) у объекта нет 3D-эффекта (Выдавливание и фаска, Вращение, Надувание или Повернуть) @msg its 3D effect builds no solid его 3D-эффект не строит тела @msg bevel must be none or one of {_1} bevel должен быть none или одним из: {_1} diff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsv index cfb9d9734b..781ff50185 100644 --- a/crates/ui-egui/src/i18n/sv.tsv +++ b/crates/ui-egui/src/i18n/sv.tsv @@ -5241,7 +5241,7 @@ effect Soft Mjuk On Both Sides På båda sidor Short Kort Full Width Full bredd - Distort Förvräng + Distort Förvrängning Diffuse Glow… Diffus glöd… Glass… Glas… Ocean Ripple… Havskrusning… @@ -5454,6 +5454,25 @@ lighting Light Ljus @msg a 3D effect on a group's fill or stroke draws nothing en 3D-effekt på en grupps fyllning eller linje ritar ingenting @msg a 3D effect on a group's fill or stroke draws nothing to export en 3D-effekt på en grupps fyllning eller linje ritar ingenting att exportera @msg The 3D object is too complex to export 3D-objektet är för komplext för att exporteras +@msg give one element ange ett -element +@msg the element needs an id, the filter's name -elementet behöver ett id, filtrets namn +@msg an SVG filter's id is at most {MAX_NAME} characters ett SVG-filters id har högst {MAX_NAME} tecken +@msg <{_1}> isn't an element of an SVG filter <{_1}> är inte ett element i ett SVG-filter +@msg an SVG filter has no event attributes such as {_1} ett SVG-filter har inga händelseattribut som {_1} +@msg an SVG filter's images are PNG, JPEG, GIF or WebP data: URLs ett SVG-filters bilder är data:-URL:er i PNG, JPEG, GIF eller WebP +@msg the SVG filter isn't valid XML: {e} SVG-filtret är inte giltig XML: {e} +@msg feTurbulence's numOctaves is at most {MAX_OCTAVES} numOctaves för feTurbulence är högst {MAX_OCTAVES} +@msg {what} is at most {max} {what} är högst {max} +@msg feConvolveMatrix's order order för feConvolveMatrix +@msg feMorphology's radius radius för feMorphology +@msg a blur's stdDeviation stdDeviation för en oskärpa +@msg the SVG filter has no primitives SVG-filtret har inga primitiver +@msg an SVG filter has at most {MAX_PRIMITIVES} primitives ett SVG-filter har högst {MAX_PRIMITIVES} primitiver +@msg the SVG filter is too large once its attributes are written out SVG-filtret blir för stort när dess attribut skrivs ut +@msg an SVG filter's images have at most {MAX_IMAGE_PIXELS} pixels in all ett SVG-filters bilder har högst {MAX_IMAGE_PIXELS} pixlar sammanlagt +@msg the SVG filter can't be drawn: check its primitives and their inputs SVG-filtret kan inte ritas: kontrollera dess primitiver och deras indata +@msg an SVG filter's elements nest at most {MAX_DEPTH} deep ett SVG-filters element kapslas högst {MAX_DEPTH} nivåer djupt +@msg an SVG filter is at most {_1} KB ett SVG-filter är högst {_1} KB @msg the object has no 3D effect (Extrude & Bevel, Revolve, Inflate or Rotate) objektet har ingen 3D-effekt (Extrudera och fasa, Rotera runt axel, Blås upp eller Rotera) @msg its 3D effect builds no solid dess 3D-effekt bygger ingen solid @msg bevel must be none or one of {_1} bevel måste vara none eller något av {_1} diff --git a/crates/ui-egui/src/i18n/tests.rs b/crates/ui-egui/src/i18n/tests.rs index 705fc68db2..dc42924e46 100644 --- a/crates/ui-egui/src/i18n/tests.rs +++ b/crates/ui-egui/src/i18n/tests.rs @@ -1579,6 +1579,92 @@ fn menu_labels() -> Vec<(&'static str, &'static str, serde_json::Value)> { labels } +/// The effect an Effect menu item (`effect.apply` or `effect.dialog`) runs. +fn menu_item_effect<'a>(id: &str, p: &'a serde_json::Value) -> Option<&'a str> { + p.get("effect").and_then(serde_json::Value::as_str).filter(|_| matches!(id, "effect.apply" | "effect.dialog")) +} + +/// The label a menu item shows in `lang`, as the menus resolve it: an Effect menu item by its +/// effect's `@id` row when the catalog has one, any other command by its id's row or its English +/// label, and a submenu or an unbuilt item by its English label. +fn shown_menu_label(lang: Lang, item: &crate::menus::Item) -> Option<&'static str> { + use crate::menus::Item; + match item { + Item::Cmd(l, id, p) => { + let by_effect = menu_item_effect(id, p).map(|e| tr_id(lang, e, "")).filter(|s| !s.is_empty()); + Some(by_effect.unwrap_or_else(|| tr_id(lang, id, l))) + } + Item::Todo(l, _) | Item::Sub(l, _) => Some(tr(lang, l)), + Item::Header(_) | Item::Sep => None, + } +} + +/// Items side by side in a menu show different labels in every language, so each can be told +/// from the others. Items with the same English label (the slots of a recent-files list) are +/// alike in every language. +#[test] +fn menu_items_side_by_side_have_different_labels() { + use crate::menus::Item; + fn walk(lang: Lang, path: &str, items: &[Item], out: &mut Vec) { + let mut seen: std::collections::BTreeMap<&str, (&str, &str)> = std::collections::BTreeMap::new(); + for item in items { + let Some(shown) = shown_menu_label(lang, item) else { continue }; + let (english, what) = match item { + Item::Cmd(l, id, p) => (*l, menu_item_effect(id, p).unwrap_or(id)), + Item::Todo(l, _) | Item::Sub(l, _) => (*l, "submenu or unbuilt item"), + Item::Header(_) | Item::Sep => continue, + }; + match seen.get(shown) { + Some(&(other, other_what)) if other != english => { + out.push(format!("{}: {path}: {other:?} ({other_what}) and {english:?} ({what}) both show {shown:?}", lang.0.code)); + } + Some(_) => {} + None => { + seen.insert(shown, (english, what)); + } + } + if let Item::Sub(l, children) = item { + walk(lang, &format!("{path} › {l}"), children, out); + } + } + } + let tree = crate::menus::menu_tree(); + let mut same = vec![]; + for l in &LANGUAGES { + for (title, items) in &tree { + walk(Lang(l), title, items, &mut same); + } + } + assert!(same.is_empty(), "{} pairs of menu items look alike:\n{}", same.len(), same.join("\n")); +} + +/// Menu items show words, never the command or effect id their catalog row is keyed by. +#[test] +fn menu_items_never_show_an_id() { + fn walk(lang: Lang, items: &[crate::menus::Item], out: &mut Vec) { + for item in items { + if let crate::menus::Item::Cmd(l, id, p) = item { + let key = menu_item_effect(id, p).unwrap_or(id); + let shown = shown_menu_label(lang, item).unwrap_or_default(); + if !command_ids(shown).is_empty() && command_ids(l).is_empty() { + out.push(format!("{}: {l:?} ({key}) shows {shown:?}", lang.0.code)); + } + } + if let crate::menus::Item::Sub(_, children) = item { + walk(lang, children, out); + } + } + } + let tree = crate::menus::menu_tree(); + let mut ids = vec![]; + for l in &LANGUAGES { + for (_, items) in &tree { + walk(Lang(l), items, &mut ids); + } + } + assert!(ids.is_empty(), "{} menu items show an id:\n{}", ids.len(), ids.join("\n")); +} + /// The labels toggling items switch to ("Show Guides" once guides are hidden…), from a document /// with every toggle flipped. fn toggled_labels() -> Vec { @@ -2383,6 +2469,98 @@ fn three_d_refusals_translate_with_their_values() { assert_eq!(message(de(), &errors[1].0), "ungültige Parameter für `effect.apply`: Licht: intensity muss eine Zahl von 0 bis 100 sein"); } +/// The values SVG filter refusals put in `{what}` that are messages of their own: the attributes +/// over their limit, named with their element. `kernelUnitLength` is an attribute's name as written. +const SVG_FILTER_PARTS: &[&str] = &["feConvolveMatrix's order", "feMorphology's radius", "a blur's stdDeviation"]; + +/// The SVG filter check's refusals as catalog templates: the messages of `svg_filter.rs` that +/// [`source_messages`] finds, the XML errors its `map_err` closures make included. +fn svg_filter_refusals() -> std::collections::BTreeSet { + let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../effects/src/svg_filter.rs"); + let text = std::fs::read_to_string(path).expect("the SVG filter source"); + let code = without_test_module(&text); + let mut consts = std::collections::BTreeMap::new(); + for (name, value) in str_consts(code) { + consts.entry(name).or_insert_with(Vec::new).push(value); + } + source_messages(code, &[], &consts).into_iter().collect() +} + +/// The SVG filter check's refusals, and the attributes they name, have an `@msg` row in every +/// complete-message catalog. +#[test] +fn svg_filter_refusals_are_translated_in_every_complete_catalog() { + let refusals = svg_filter_refusals(); + assert!(refusals.len() >= 16, "scan found only {} SVG filter refusals: {refusals:?}", refusals.len()); + for m in [ + "the SVG filter isn't valid XML: {e}", + "an SVG filter's id is at most {MAX_NAME} characters", + "<{_1}> isn't an element of an SVG filter", + "{what} is at most {max}", + "an SVG filter is at most {_1} KB", + ] { + assert!(refusals.contains(m), "the scan reads map_err closures and format! arguments: {m}"); + } + let mut missing = vec![]; + for code in COMPLETE_MESSAGES { + let lang = Lang::from_code(code).expect("registered"); + let (entries, _) = parse_entries(lang.0.source); + let rows: std::collections::BTreeSet<&str> = entries.iter().filter(|(ctx, _, _)| ctx == "@msg").map(|(_, src, _)| src.as_str()).collect(); + let parts = SVG_FILTER_PARTS.iter().map(|p| p.to_string()); + missing.extend(refusals.iter().cloned().chain(parts).filter(|m| !rows.contains(m.as_str())).map(|m| format!("{code}: {m}"))); + } + assert!(missing.is_empty(), "{} SVG filter messages have no @msg row:\n{}", missing.len(), missing.join("\n")); +} + +/// An SVG filter's refusal shows in the interface language whole, with the limits, element and +/// attribute names and the XML parser's position as given; the error the command returns stays +/// English. +#[test] +fn svg_filter_refusals_translate_with_their_values() { + let refuse = |xml: &str| { + let e = vectorcraft_effects::svg_filter::check(xml).expect_err("refused"); + vectorcraft_engine::EngineError::BadParams { cmd: "svgFilter.define".into(), msg: e }.to_string() + }; + let fe = |inner: &str| refuse(&format!("{inner}")); + let deep = format!("{}{}", "".repeat(20), "".repeat(20)); + let errors = [ + (refuse(""), "isn't valid XML", vec![]), + (refuse(""), "needs an id", vec!["", "id"]), + (refuse(&format!("", "f".repeat(256))), "characters", vec!["id", "255"]), + (fe("