M1: translate the vector style import notes

This commit is contained in:
Skyfuller1303
2026-10-16 09:16:10 +02:00
parent 01daf92fc3
commit 657a8f4df6
5 changed files with 25 additions and 0 deletions
+3
View File
@@ -1499,7 +1499,10 @@ status = "draft — needs native review"
"set-variable actions with values that don't fit the variable were skipped" = "Aktionen „Variable festlegen“ mit Werten, die nicht zur Variable passen, wurden übersprungen"
"set-variable actions without a value were skipped" = "Aktionen „Variable festlegen“ ohne Wert wurden übersprungen"
"set-variable-mode actions on collections or modes that aren't in the variables JSON were skipped" = "Aktionen „Variablenmodus festlegen“ für Sammlungen oder Modi, die nicht im Variablen-JSON sind, wurden übersprungen"
"some vector points refer to point settings missing from the file; they use the layer's joins and plain corners" = "einige Vektorpunkte verweisen auf Punkteinstellungen, die in der Datei fehlen; sie verwenden die Konturecken der Ebene und einfache Ecken"
"some vector segments refer to style settings missing from the file; they use the layer's stroke" = "einige Vektorsegmente verweisen auf Stileinstellungen, die in der Datei fehlen; sie verwenden die Kontur der Ebene"
"stars and polygons without point counts or geometry use the default point count" = "Sterne und Polygone ohne Punktanzahl oder Geometrie verwenden die Standard-Punktanzahl"
"style settings of some vector segments aren't supported; those segments use the layer's stroke" = "Stileinstellungen einiger Vektorsegmente werden nicht unterstützt; diese Segmente verwenden die Kontur der Ebene"
"text style overrides refer to missing table entries" = "Textstil-Überschreibungen verweisen auf fehlende Tabelleneinträge"
"the file has no pages" = "die Datei hat keine Seiten"
"the plugin" = "das Plugin"
+3
View File
@@ -1571,7 +1571,10 @@ name = "English"
"set-variable actions with values that don't fit the variable were skipped" = "set-variable actions with values that don't fit the variable were skipped"
"set-variable actions without a value were skipped" = "set-variable actions without a value were skipped"
"set-variable-mode actions on collections or modes that aren't in the variables JSON were skipped" = "set-variable-mode actions on collections or modes that aren't in the variables JSON were skipped"
"some vector points refer to point settings missing from the file; they use the layer's joins and plain corners" = "some vector points refer to point settings missing from the file; they use the layer's joins and plain corners"
"some vector segments refer to style settings missing from the file; they use the layer's stroke" = "some vector segments refer to style settings missing from the file; they use the layer's stroke"
"stars and polygons without point counts or geometry use the default point count" = "stars and polygons without point counts or geometry use the default point count"
"style settings of some vector segments aren't supported; those segments use the layer's stroke" = "style settings of some vector segments aren't supported; those segments use the layer's stroke"
"text style overrides refer to missing table entries" = "text style overrides refer to missing table entries"
"the file has no pages" = "the file has no pages"
"the plugin" = "the plugin"
+3
View File
@@ -1572,7 +1572,10 @@ status = "draft — needs native review"
"set-variable actions with values that don't fit the variable were skipped" = "se omitieron las acciones «Establecer variable» con valores que no encajan con la variable"
"set-variable actions without a value were skipped" = "se omitieron las acciones «Establecer variable» sin valor"
"set-variable-mode actions on collections or modes that aren't in the variables JSON were skipped" = "se omitieron las acciones «Establecer modo de variable» sobre colecciones o modos que no están en el JSON de variables"
"some vector points refer to point settings missing from the file; they use the layer's joins and plain corners" = "algunos puntos vectoriales hacen referencia a ajustes de punto que faltan en el archivo; usan las uniones de la capa y esquinas simples"
"some vector segments refer to style settings missing from the file; they use the layer's stroke" = "algunos segmentos vectoriales hacen referencia a ajustes de estilo que faltan en el archivo; usan el trazo de la capa"
"stars and polygons without point counts or geometry use the default point count" = "las estrellas y los polígonos sin número de puntos ni geometría usan el número de puntos predeterminado"
"style settings of some vector segments aren't supported; those segments use the layer's stroke" = "los ajustes de estilo de algunos segmentos vectoriales no son compatibles; esos segmentos usan el trazo de la capa"
"text style overrides refer to missing table entries" = "las anulaciones de estilo de texto hacen referencia a entradas de tabla que faltan"
"the file has no pages" = "el archivo no tiene páginas"
"the plugin" = "el plugin"
+3
View File
@@ -53,7 +53,10 @@ const IMPORT_NOTES: &[&str] = &[
tr_noop("set-variable actions with values that don't fit the variable were skipped"),
tr_noop("set-variable actions without a value were skipped"),
tr_noop("set-variable-mode actions on collections or modes that aren't in the variables JSON were skipped"),
tr_noop("some vector points refer to point settings missing from the file; they use the layer's joins and plain corners"),
tr_noop("some vector segments refer to style settings missing from the file; they use the layer's stroke"),
tr_noop("stars and polygons without point counts or geometry use the default point count"),
tr_noop("style settings of some vector segments aren't supported; those segments use the layer's stroke"),
tr_noop("text style overrides refer to missing table entries"),
tr_noop("the file has no pages"),
tr_noop("the variables JSON has no `variableCollections` (expected the local variables response) and was ignored"),
+13
View File
@@ -59,6 +59,19 @@ fn note_text_keeps_the_repeat_suffix_and_unknown_notes() {
assert_eq!(note_text("weird (×12) tail"), "weird (×12) tail");
}
#[test]
fn vector_style_notes_are_known_import_notes() {
for note in [
"some vector points refer to point settings missing from the file; they use the layer's joins and plain corners",
"some vector segments refer to style settings missing from the file; they use the layer's stroke",
"style settings of some vector segments aren't supported; those segments use the layer's stroke",
] {
let shown = note_text(note);
assert!(shown.chars().next().is_some_and(char::is_uppercase), "{shown}");
assert_eq!(shown[shown.chars().next().unwrap().len_utf8()..], note[note.chars().next().unwrap().len_utf8()..]);
}
}
#[test]
fn opening_a_rest_json_file_reports_what_was_skipped() {
let path = std::env::temp_dir().join(format!("figcraft-import-report-{}.json", std::process::id()));