adds missing translations

This commit is contained in:
Christian Beutel
2024-07-13 22:33:41 +02:00
parent d0a408983b
commit 230f23b9ff
18 changed files with 92 additions and 109 deletions

View File

@@ -189,7 +189,7 @@
show_toast({
type: "success",
icon: "check",
text: "Trail saved successfully.",
text: $_('trail-saved-successfully'),
});
} catch (e) {
console.error(e);
@@ -197,7 +197,7 @@
show_toast({
type: "error",
icon: "close",
text: "Error saving trail.",
text: $_('error-saving-trail'),
});
} finally {
loading = false;
@@ -766,7 +766,7 @@
name="category"
label={$_("category")}
bind:value={$form.category}
items={$categories.map((c) => ({ text: c.name, value: c.id }))}
items={$categories.map((c) => ({ text: $_(c.name), value: c.id }))}
></Select>
<Toggle name="public" label={$_("public")} bind:value={$form.public}
></Toggle>