chore: update translations (#101)

* chore: update translations

* fix: form values type conversion

* feat: terminal fullscreen mode

* fix
This commit is contained in:
UUBulb
2025-01-19 21:09:52 +08:00
committed by GitHub
parent 53a937af4b
commit ff11783945
16 changed files with 188 additions and 168 deletions
+11 -3
View File
@@ -111,13 +111,13 @@ export default function CronPage() {
{(() => {
switch (s.cover) {
case 0: {
return <span>Ignore All</span>
return <span>{t("IgnoreAll")}</span>
}
case 1: {
return <span>Cover All</span>
return <span>{t("CoverAll")}</span>
}
case 2: {
return <span>On alert</span>
return <span>{t("OnAlert")}</span>
}
}
})()}
@@ -129,6 +129,14 @@ export default function CronPage() {
header: t("SpecificServers"),
accessorKey: "servers",
accessorFn: (row) => row.servers,
cell: ({ row }) => {
const s = row.original
return (
<div className="max-w-16 whitespace-normal break-words">
<span>{s.servers.join(",")}</span>
</div>
)
},
},
{
header: t("LastExecution"),
+8
View File
@@ -78,6 +78,14 @@ export default function NotificationGroupPage() {
header: t("Notifier") + "(ID)",
accessorKey: "notifications",
accessorFn: (row) => row.notifications,
cell: ({ row }) => {
const s = row.original
return (
<div className="max-w-48 whitespace-normal break-words">
<span>{s.notifications.join(",")}</span>
</div>
)
},
},
{
id: "actions",
+8
View File
@@ -78,6 +78,14 @@ export default function ServerGroupPage() {
header: t("Server") + "(ID)",
accessorKey: "servers",
accessorFn: (row) => row.servers,
cell: ({ row }) => {
const s = row.original
return (
<div className="max-w-48 whitespace-normal break-words">
<span>{s.servers.join(",")}</span>
</div>
)
},
},
{
id: "actions",