fix(update): t() arg-shape — explicit interpolation map

Version 1.0.46.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Debian
2026-05-11 07:58:23 +02:00
parent f4ccfc3c0c
commit 1324a34f11
7 changed files with 7 additions and 7 deletions

View File

@@ -1 +1 @@
1.0.45 1.0.46

View File

@@ -45,7 +45,7 @@ import (
wgsvc "git.netcell-it.de/projekte/edgeguard-native/internal/services/wireguard" wgsvc "git.netcell-it.de/projekte/edgeguard-native/internal/services/wireguard"
) )
var version = "1.0.45" var version = "1.0.46"
func main() { func main() {
addr := os.Getenv("EDGEGUARD_API_ADDR") addr := os.Getenv("EDGEGUARD_API_ADDR")

View File

@@ -9,7 +9,7 @@ import (
"os" "os"
) )
var version = "1.0.45" var version = "1.0.46"
const usage = `edgeguard-ctl — EdgeGuard CLI const usage = `edgeguard-ctl — EdgeGuard CLI

View File

@@ -21,7 +21,7 @@ import (
"git.netcell-it.de/projekte/edgeguard-native/internal/services/tlscerts" "git.netcell-it.de/projekte/edgeguard-native/internal/services/tlscerts"
) )
var version = "1.0.45" var version = "1.0.46"
const ( const (
// renewTickInterval — how often we re-evaluate expiring certs. // renewTickInterval — how often we re-evaluate expiring certs.

View File

@@ -1,7 +1,7 @@
{ {
"name": "edgeguard-management-ui", "name": "edgeguard-management-ui",
"private": true, "private": true,
"version": "1.0.45", "version": "1.0.46",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@@ -75,7 +75,7 @@ const NAV: NavSection[] = [
}, },
] ]
const VERSION = '1.0.45' const VERSION = '1.0.46'
export default function Sidebar({ isOpen, onClose }: SidebarProps) { export default function Sidebar({ isOpen, onClose }: SidebarProps) {
const { t } = useTranslation() const { t } = useTranslation()

View File

@@ -99,7 +99,7 @@ export default function UpdateBanner() {
banner banner
showIcon showIcon
icon={<CloudDownloadOutlined />} icon={<CloudDownloadOutlined />}
message={t('update.available', meta)} message={t('update.available', { pkg: meta.pkg, installed: meta.installed, available: meta.available })}
action={ action={
<Button size="small" type="primary" onClick={() => setOpen(true)}> <Button size="small" type="primary" onClick={() => setOpen(true)}>
{t('update.viewDetails')} {t('update.viewDetails')}