mirror of
https://github.com/nekename/OpenDeck.git
synced 2026-10-28 09:44:01 +00:00
fix: use named parameter for localising label of plugin details popup
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -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" />
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user