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:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "edgeguard-management-ui",
|
||||
"private": true,
|
||||
"version": "1.0.45",
|
||||
"version": "1.0.46",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -75,7 +75,7 @@ const NAV: NavSection[] = [
|
||||
},
|
||||
]
|
||||
|
||||
const VERSION = '1.0.45'
|
||||
const VERSION = '1.0.46'
|
||||
|
||||
export default function Sidebar({ isOpen, onClose }: SidebarProps) {
|
||||
const { t } = useTranslation()
|
||||
|
||||
@@ -99,7 +99,7 @@ export default function UpdateBanner() {
|
||||
banner
|
||||
showIcon
|
||||
icon={<CloudDownloadOutlined />}
|
||||
message={t('update.available', meta)}
|
||||
message={t('update.available', { pkg: meta.pkg, installed: meta.installed, available: meta.available })}
|
||||
action={
|
||||
<Button size="small" type="primary" onClick={() => setOpen(true)}>
|
||||
{t('update.viewDetails')}
|
||||
|
||||
Reference in New Issue
Block a user