fix: use named parameter for localising label of plugin details popup

This commit is contained in:
nekename committed 2026-07-24 11:42:34 +01:00
1 parent 82525e8776
commit 568a8096be
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@
});
</script>
<Popup show label={$t("plugin_details.title").replaceAll("{details.name}", details.name)}>
<Popup show label={$t("plugin_details.title", { name: details.name })}>
<button class="mr-2 my-1 float-right text-xl text-neutral-300" on:click={close} aria-label={$t("settings.close")}>✕</button>
<div class="flex flex-row items-start">
<img src={"https://openactionapi.github.io/plugins/icons/" + id + ".png"} alt={details.name} class="size-48 rounded-2xl" />
+1 -1
View File
@@ -51,7 +51,7 @@
"plugin_details.install": "Installieren",
"plugin_details.loading": "Lade Plugin-Details...",
"plugin_details.readme.not_found": "**Plugin-README-Datei nicht gefunden**\n\n[Plugin auf GitHub ansehen](https://github.com/{{repo}})",
"plugin_details.title": "{details.name} Plugin-Details",
"plugin_details.title": "{{name}} Plugin-Details",
"plugin_manager.available": "verfügbar:",
"plugin_manager.button": "Plugins",
"plugin_manager.choose_asset": "Release-Asset auswählen",
+1 -1
View File
@@ -51,7 +51,7 @@
"plugin_details.install": "Install",
"plugin_details.loading": "Loading plugin details...",
"plugin_details.readme.not_found": "**Plugin README file not found**\n\n[View plugin on GitHub](https://github.com/{{repo}})",
"plugin_details.title": "{details.name} plugin details",
"plugin_details.title": "{{name}} plugin details",
"plugin_manager.available": "available:",
"plugin_manager.button": "Plugins",
"plugin_manager.choose_asset": "Choose a release asset",