i18n: zjednotené VM a LXC v Aplikáciách

This commit is contained in:
VAIO73
2026-09-12 11:36:49 +02:00
parent 9ff1fa1bda
commit e0c5740a47
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -640,7 +640,7 @@ function AppCard({
if (link.customId) onEditCustom(link.customId) if (link.customId) onEditCustom(link.customId)
} }
const guestPrefix = link.guestType === "qemu" ? "VM" : "CT" const guestPrefix = link.guestType === "qemu" ? "VM" : "LXC"
const hasBinding = link.vmid != null const hasBinding = link.vmid != null
return ( return (
+1 -1
View File
@@ -258,7 +258,7 @@ export function CustomLinkEditor({
<SelectItem value={UNBOUND_KEY}>{t("apps.customLinkBindingNone")}</SelectItem> <SelectItem value={UNBOUND_KEY}>{t("apps.customLinkBindingNone")}</SelectItem>
{sortedGuests.map((g) => ( {sortedGuests.map((g) => (
<SelectItem key={`${g.type}:${g.vmid}`} value={`${g.type}:${g.vmid}`}> <SelectItem key={`${g.type}:${g.vmid}`} value={`${g.type}:${g.vmid}`}>
{g.type === "qemu" ? "VM" : "CT"} {g.vmid} · {g.name} {g.type === "qemu" ? "VM" : "LXC"} {g.vmid} · {g.name}
</SelectItem> </SelectItem>
))} ))}
</SelectContent> </SelectContent>
+4 -4
View File
@@ -4959,7 +4959,7 @@
"ok": "OK" "ok": "OK"
}, },
"apps": { "apps": {
"searchPlaceholder": "Hľadať aplikáciu alebo CT…", "searchPlaceholder": "Hľadať aplikáciu, VM alebo LXC…",
"searchAriaLabel": "Hľadať", "searchAriaLabel": "Hľadať",
"filterAll": "Všetky kategórie", "filterAll": "Všetky kategórie",
"filterAriaLabel": "Filtrovať podľa kategórie", "filterAriaLabel": "Filtrovať podľa kategórie",
@@ -4973,7 +4973,7 @@
"openAriaLabel": "Otvoriť {name} na novej karte", "openAriaLabel": "Otvoriť {name} na novej karte",
"openGuestAriaLabel": "Otvoriť {name} ({type} {id})", "openGuestAriaLabel": "Otvoriť {name} ({type} {id})",
"emptyTitle": "Zatiaľ tu nie sú žiadne aplikácie s webovým odkazom.", "emptyTitle": "Zatiaľ tu nie sú žiadne aplikácie s webovým odkazom.",
"emptyHint": "Pridajte webový odkaz k ľubovoľnej aplikácii na karte Aplikácie v CT a zobrazí sa tu.", "emptyHint": "Pridajte webový odkaz k ľubovoľnej aplikácii na karte Aplikácie v LXC a zobrazí sa tu.",
"customLinkAdd": "Pridať odkaz", "customLinkAdd": "Pridať odkaz",
"editModeToggle": "Upraviť", "editModeToggle": "Upraviť",
"editModeDone": "Hotovo", "editModeDone": "Hotovo",
@@ -4987,8 +4987,8 @@
"customLinkLogoPlaceholder": "napr. https://example.com/logo.webp", "customLinkLogoPlaceholder": "napr. https://example.com/logo.webp",
"customLinkCategory": "Kategória (voliteľné)", "customLinkCategory": "Kategória (voliteľné)",
"customLinkBinding": "Priradené k", "customLinkBinding": "Priradené k",
"customLinkBindingNone": "Nie je priradené k žiadnemu VM ani CT", "customLinkBindingNone": "Nie je priradené k žiadnemu VM ani LXC",
"customLinkBindingHelp": "Priraďte tento odkaz k VM alebo CT. Na karte sa zobrazí jeho ID a názov a jedným kliknutím ho otvoríte.", "customLinkBindingHelp": "Priraďte tento odkaz k VM alebo LXC. Na karte sa zobrazí jeho ID a názov a jedným kliknutím ho otvoríte.",
"customLinkSave": "Uložiť", "customLinkSave": "Uložiť",
"customLinkCreate": "Vytvoriť", "customLinkCreate": "Vytvoriť",
"customLinkCancel": "Zrušiť", "customLinkCancel": "Zrušiť",