diff --git a/crates/engine/tests/import_fuzz.rs b/crates/engine/tests/import_fuzz.rs index f1424367..bbeb1cc9 100644 --- a/crates/engine/tests/import_fuzz.rs +++ b/crates/engine/tests/import_fuzz.rs @@ -2148,6 +2148,7 @@ proptest! { let data = ai::editing_data(200.0, 100.0, &format!("%AI5_BeginLayer\n1 1 1 1 0 0 1 0 79 128 255 0 50 0 Lb\n(L) Ln\n{}\nLB\n", tokens.join(" "))); survive("hostile editing data", || Some(vectorcraft_eps::layered_ai(data.as_bytes(), Document::new(200.0, 100.0), vec![], false, false).0))?; survive("hostile editing data, type as outlines", || Some(vectorcraft_eps::layered_ai(data.as_bytes(), Document::new(200.0, 100.0), vec![], true, false).0))?; + survive("hostile editing data, trusted", || Some(vectorcraft_eps::layered_ai(data.as_bytes(), Document::new(200.0, 100.0), vec![], false, true).0))?; let eps = ai::eps(data.as_bytes(), ai::page_ps()); survive("hostile editing data in an EPS", || vectorcraft_engine::cmd::fileio::load("x.eps", &eps).ok().map(|l| l.doc))?; // An EPS whose page is its art's box, not its artboard: what prints outside it is compared too. diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index 07fa5c13..f9462a03 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -3576,6 +3576,7 @@ effect Regular Pravidelný @msg its page has text, and its layers have no text objects to put it in jeho stránka obsahuje text, ale vrstvy nemají žádné textové objekty, kam by ho bylo možné umístit @msg its type is to come in as outlines, which only its page has jeho text se má načíst jako křivky, které má jen jeho stránka @msg the art on them differs from the page's in {_1}% of it kresba na nich se od stránky liší v {_1} % plochy +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same kresba na nich se od stránky liší v {_1} % plochy: přesto pocházejí z jeho dat pro úpravy @msg `to` must be "corner" or "smooth" `to` musí být "corner" nebo "smooth" @msg BMP files are RGB or grayscale: colorModel rgb or gray soubory BMP jsou RGB nebo ve stupních šedi: colorModel rgb nebo gray @msg Blend colors: select at least three objects with filled colours Prolnout barvy: vyberte alespoň tři objekty s barevnou výplní diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index 27b396b3..9fdb013b 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -3290,6 +3290,7 @@ theme Appearance Erscheinungsbild @msg its page has text, and its layers have no text objects to put it in seine Seite enthält Text, und seine Ebenen haben keine Textobjekte, die ihn aufnehmen könnten @msg its type is to come in as outlines, which only its page has sein Text soll als Pfade übernommen werden, die nur seine Seite enthält @msg the art on them differs from the page's in {_1}% of it die Grafik darauf weicht in {_1} % von der der Seite ab +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same die Grafik darauf weicht in {_1} % von der der Seite ab: sie stammen trotzdem aus seinen Bearbeitungsdaten @msg `to` must be "corner" or "smooth" `to` muss "corner" oder "smooth" sein @msg BMP files are RGB or grayscale: colorModel rgb or gray BMP-Dateien sind RGB oder Graustufen: colorModel rgb oder gray @msg Blend colors: select at least three objects with filled colours Farben angleichen: Wählen Sie mindestens drei Objekte mit Flächenfarbe aus diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index a7a21fa6..7f05b87e 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -3390,6 +3390,7 @@ axis Both Ambos @msg its page has text, and its layers have no text objects to put it in su página tiene texto y sus capas no tienen objetos de texto donde ponerlo @msg its type is to come in as outlines, which only its page has su texto debe llegar como contornos, y solo su página los tiene @msg the art on them differs from the page's in {_1}% of it el arte de las capas difiere del de la página en el {_1} % de su superficie +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same el arte de las capas difiere del de la página en el {_1} % de su superficie: aun así proceden de sus datos de edición @msg `to` must be "corner" or "smooth" `to` debe ser "corner" o "smooth" @msg BMP files are RGB or grayscale: colorModel rgb or gray los archivos BMP son RGB o en escala de grises: colorModel rgb o gray @msg Blend colors: select at least three objects with filled colours Fusionar colores: selecciona al menos tres objetos con relleno de color diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index 8afa2f02..c8186613 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -3387,6 +3387,7 @@ axis Both Les deux @msg its page has text, and its layers have no text objects to put it in sa page contient du texte, et ses calques n’ont aucun objet texte où le mettre @msg its type is to come in as outlines, which only its page has son texte doit être importé sous forme de contours vectorisés, que seule sa page contient @msg the art on them differs from the page's in {_1}% of it le dessin des calques diffère de celui de la page sur {_1} % de sa surface +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same le dessin des calques diffère de celui de la page sur {_1} % de sa surface : ils proviennent malgré tout de ses données de modification @msg `to` must be "corner" or "smooth" `to` doit être "corner" ou "smooth" @msg BMP files are RGB or grayscale: colorModel rgb or gray Les fichiers BMP sont en RVB ou en niveaux de gris : colorModel rgb ou gray @msg Blend colors: select at least three objects with filled colours Fusion des couleurs : sélectionnez au moins trois objets dotés d’un fond de couleur diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index d235c823..49f5fba4 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -4441,6 +4441,7 @@ theme Appearance Kinézet @msg the art has no bounds a grafikának nincsenek határai @msg the art is too light for any dots a grafika túl világos, egyetlen raszterpont sem keletkezik @msg the art on them differs from the page's in {_1}% of it a rajtuk lévő grafika az oldalétól ennyiben tér el: {_1}% +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same a rajtuk lévő grafika az oldalétól ennyiben tér el: {_1}%; ennek ellenére a szerkesztési adataiból származnak @msg the artboard to fit must be a positive size up to {_1} pt az illesztendő rajztábla mérete pozitív, legfeljebb {_1} pt lehet @msg the background worker stopped a háttérfolyamat leállt @msg the compressed file unpacks to more than {_1} MB a tömörített fájl kicsomagolva nagyobb lenne, mint {_1} MB diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index b44fe72b..c573084a 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -3390,6 +3390,7 @@ axis Both Entrambi @msg its page has text, and its layers have no text objects to put it in la sua pagina ha del testo e i suoi livelli non hanno oggetti di testo in cui metterlo @msg its type is to come in as outlines, which only its page has il suo testo deve arrivare come contorni, che ha solo la sua pagina @msg the art on them differs from the page's in {_1}% of it l'illustrazione dei livelli differisce da quella della pagina per il {_1}% della sua superficie +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same l'illustrazione dei livelli differisce da quella della pagina per il {_1}% della sua superficie: provengono comunque dai suoi dati di modifica @msg `to` must be "corner" or "smooth" `to` deve essere "corner" o "smooth" @msg BMP files are RGB or grayscale: colorModel rgb or gray I file BMP sono RGB o in scala di grigi: colorModel rgb o gray @msg Blend colors: select at least three objects with filled colours Fondi colori: seleziona almeno tre oggetti con riempimento colore diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index 58f0d165..884467fd 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -3705,6 +3705,7 @@ theme Appearance 外観 @msg its editing data is for a different page 編集データが別のページのものです @msg its page has text, and its layers have no text objects to put it in ページにテキストがありますが、レイヤーにはそれを入れるテキストオブジェクトがありません @msg the art on them differs from the page's in {_1}% of it レイヤー上のアートの {_1}% がページのアートと異なります +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same レイヤー上のアートの {_1}% がページのアートと異なりますが、レイヤーは編集データから読み込まれました @msg its Windows metafile preview was opened instead, which may simplify the art 代わりに Windows メタファイルのプレビューを開いたため、アートが簡略化されている場合があります @msg its preview was placed instead, at screen resolution 代わりにプレビューを画面解像度で配置しました @msg shadings of more than 4096 patches or triangles were left out パッチまたは三角形が 4096 個を超えるシェーディングは除外されました diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index e0e8d71c..79f8293b 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -3683,6 +3683,7 @@ theme Appearance 외관 @msg its editing data is for a different page 편집 데이터가 다른 페이지용입니다 @msg its page has text, and its layers have no text objects to put it in 페이지에 텍스트가 있지만 레이어에는 이를 넣을 텍스트 개체가 없습니다 @msg the art on them differs from the page's in {_1}% of it 이들의 아트웍이 페이지와 {_1}% 다릅니다 +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same 이들의 아트웍이 페이지와 {_1}% 다릅니다. 그래도 편집 데이터에서 가져왔습니다 @msg its Windows metafile preview was opened instead, which may simplify the art 대신 Windows 메타파일 미리 보기를 열었으며, 아트웍이 단순화될 수 있습니다 @msg its preview was placed instead, at screen resolution 대신 미리 보기를 화면 해상도로 가져왔습니다 @msg shadings of more than 4096 patches or triangles were left out 패치나 삼각형이 4096개를 넘는 셰이딩은 제외했습니다 diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index bc0f1464..50ed39d9 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -3048,6 +3048,7 @@ axis Both Ambos @msg its page has text, and its layers have no text objects to put it in sua página tem texto, e suas camadas não têm objetos de texto para recebê-lo @msg its type is to come in as outlines, which only its page has seu texto deve entrar como contornos, que somente sua página possui @msg the art on them differs from the page's in {_1}% of it a arte nelas difere da página em {_1}% do conteúdo +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same a arte nelas difere da página em {_1}% do conteúdo: mesmo assim elas vêm dos seus dados de edição @msg `to` must be "corner" or "smooth" `to` deve ser "corner" ou "smooth" @msg BMP files are RGB or grayscale: colorModel rgb or gray arquivos BMP são RGB ou em tons de cinza: colorModel rgb ou gray @msg Blend colors: select at least three objects with filled colours Mesclar cores: selecione pelo menos três objetos com preenchimento de cor diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index 2ee2eb1e..e3fc78e7 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -3386,6 +3386,7 @@ axis Both Оба @msg its page has text, and its layers have no text objects to put it in на его странице есть текст, а на слоях нет текстовых объектов, куда его поместить @msg its type is to come in as outlines, which only its page has его текст должен прийти в виде контуров, а они есть только на его странице @msg the art on them differs from the page's in {_1}% of it изображение на слоях отличается от изображения на странице на {_1} % площади +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same изображение на слоях отличается от изображения на странице на {_1} % площади: тем не менее слои взяты из его данных для редактирования @msg `to` must be "corner" or "smooth" `to` должно быть "corner" или "smooth" @msg BMP files are RGB or grayscale: colorModel rgb or gray файлы BMP бывают RGB или в оттенках серого: colorModel rgb или gray @msg Blend colors: select at least three objects with filled colours Смешивание цветов: выберите не менее трёх объектов с цветными заливками diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv index 563ec3b6..00916129 100644 --- a/crates/ui-egui/src/i18n/uk.tsv +++ b/crates/ui-egui/src/i18n/uk.tsv @@ -3374,6 +3374,7 @@ axis Both Обидві @msg its page has text, and its layers have no text objects to put it in на його сторінці є текст, а на шарах немає текстових об’єктів, куди його помістити @msg its type is to come in as outlines, which only its page has його текст має прийти у вигляді контурів, а вони є лише на його сторінці @msg the art on them differs from the page's in {_1}% of it зображення на шарах відрізняється від зображення на сторінці на {_1} % площі +@msg the art on them differs from the page's in {_1}% of it: they come from its editing data all the same зображення на шарах відрізняється від зображення на сторінці на {_1} % площі: проте шари взято з його даних для редагування @msg `to` must be "corner" or "smooth" `to` має бути "corner" або "smooth" @msg BMP files are RGB or grayscale: colorModel rgb or gray Файли BMP бувають RGB або у відтінках сірого: colorModel rgb або gray @msg Blend colors: select at least three objects with filled colours Змішування кольорів: виберіть не менше трьох об’єктів із кольоровими заливками