Translations update from Hosted Weblate (#45)

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (English)

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (English)

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 96.8% (153 of 158 strings)

Translated using Weblate (Italian)

Currently translated at 69.6% (110 of 158 strings)

Translated using Weblate (English)

Currently translated at 100.0% (158 of 158 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 99.3% (157 of 158 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 70.8% (112 of 158 strings)

Translated using Weblate (Italian)

Currently translated at 99.3% (157 of 158 strings)

Translated using Weblate (English)

Currently translated at 100.0% (158 of 158 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: UUBulb <uub@kuzu.uk>
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/en/
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/it/
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/nezha/admin-frontend/zh_Hant/
Translation: Nezha/Admin frontend

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: UUBulb <uub@kuzu.uk>
Co-authored-by: weblate <weblate@users.noreply.github.com>
This commit is contained in:
Weblate (bot)
2024-12-14 09:59:45 +01:00
committed by GitHub
parent b9a8651371
commit 437a8d7b6c
10 changed files with 111 additions and 115 deletions

View File

@@ -205,13 +205,11 @@ export const AlertRuleCard: React.FC<AlertRuleCardProps> = ({ data, mutate }) =>
</SelectTrigger> </SelectTrigger>
</FormControl> </FormControl>
<SelectContent> <SelectContent>
{Object.entries(triggerModes).map( {Object.entries(triggerModes).map(([k, v]) => (
([k, v]) => (
<SelectItem key={k} value={k}> <SelectItem key={k} value={k}>
{v} {v}
</SelectItem> </SelectItem>
), ))}
)}
</SelectContent> </SelectContent>
</Select> </Select>
<FormMessage /> <FormMessage />

View File

@@ -7,14 +7,14 @@
}, },
"Username": "Username", "Username": "Username",
"Password": "Password", "Password": "Password",
"LoginFirst": "Please log in first", "LoginFirst": "Please Log in first",
"CurrentTime": "Current time", "CurrentTime": "Current Time",
"Results": { "Results": {
"UsernameMin": "Username must be at least {{number}} characters.", "UsernameMin": "Username must be at least {{number}} characters.",
"PasswordRequired": "Password cannot be empty.", "PasswordRequired": "Password cannot be empty.",
"ErrorFetchingResource": "Error Fetching Resource : {{error}}", "ErrorFetchingResource": "Error Fetching Resource : {{error}}",
"SelectAtLeastOneServer": "Please select at least one server.", "SelectAtLeastOneServer": "Please select at least one server.",
"UnExpectedError": "UnExpected Error, Please see the console for details.", "UnExpectedError": "Unexpected error, Please see the console for details.",
"ForceUpdate": "Forced upgrade:", "ForceUpdate": "Forced upgrade:",
"NoRowsAreSelected": "No rows are selected", "NoRowsAreSelected": "No rows are selected",
"ThisOperationIsUnrecoverable": "This operation cannot be undone!", "ThisOperationIsUnrecoverable": "This operation cannot be undone!",
@@ -42,7 +42,7 @@
"Version": "Version", "Version": "Version",
"Unknown": "unknown", "Unknown": "unknown",
"Enable": "Enable", "Enable": "Enable",
"HideForGuest": "Hidden from visitors", "HideForGuest": "Hidden from Visitors",
"InstallCommands": "Installation command", "InstallCommands": "Installation command",
"Note": "Note", "Note": "Note",
"Success": "Success", "Success": "Success",
@@ -52,7 +52,7 @@
"Loading": "Loading", "Loading": "Loading",
"NoResults": "No results", "NoResults": "No results",
"Actions": "Actions", "Actions": "Actions",
"EditServer": "Edit server", "EditServer": "Edit Server",
"Weight": "Weight (the larger the number, the higher it is displayed)", "Weight": "Weight (the larger the number, the higher it is displayed)",
"DDNSProfiles": "DDNS Profile IDs", "DDNSProfiles": "DDNS Profile IDs",
"SeparateWithComma": "(Separate with comma)", "SeparateWithComma": "(Separate with comma)",
@@ -61,76 +61,76 @@
"Submit": "Submit", "Submit": "Submit",
"Target": "Target", "Target": "Target",
"Coverage": "Coverage", "Coverage": "Coverage",
"CoverAll": "Cover all", "CoverAll": "Cover All",
"IgnoreAll": "Ignore all", "IgnoreAll": "Ignore All",
"SpecificServers": "Specific server", "SpecificServers": "Specific server",
"Type": "Type", "Type": "Type",
"Interval": "Interval", "Interval": "Interval",
"NotifierGroupID": "Notification group ID", "NotifierGroupID": "Notifier Group ID",
"Trigger": "On Trigger", "Trigger": "On Trigger",
"TasksToTriggerOnAlert": "The task that triggered the alert", "TasksToTriggerOnAlert": "The task that triggered the alert",
"TasksToTriggerAfterRecovery": "Tasks to be triggered after recovery", "TasksToTriggerAfterRecovery": "Tasks to be triggered after recovery",
"Confirm": "Confirm", "Confirm": "Confirm",
"ConfirmDeletion": "Confirm deletion?", "ConfirmDeletion": "Confirm Deletion?",
"Services": "Services", "Services": "Services",
"ShowInService": "Show in Service", "ShowInService": "Show in Service",
"Coverages": { "Coverages": {
"Excludes": "Excludes specific servers", "Excludes": "Excludes Specific Servers",
"Only": "Only specific servers", "Only": "Only Specific Servers",
"Alarmed": "Executed on the server that triggered the alarm" "Alarmed": "Executed on the server that triggered the alarm"
}, },
"EnableFailureNotification": "Enable Failure Notification", "EnableFailureNotification": "Enable Failure Notification",
"MaximumLatency": "Maximum Latency Time (ms)", "MaximumLatency": "Maximum Delay (ms)",
"MinimumLatency": "Minimum delay time (milliseconds)", "MinimumLatency": "Minimum Delay (milliseconds)",
"EnableLatencyNotification": "Enable delayed notifications", "EnableLatencyNotification": "Enable Latency Notification",
"EnableTriggerTask": "Enable Trigger Task", "EnableTriggerTask": "Enable Trigger Task",
"CronExpression": "Cron expression", "CronExpression": "Cron Expression",
"Command": "Order", "Command": "Command",
"NotifierGroup": "Notification group", "NotifierGroup": "Notifier Group",
"SendSuccessNotification": "Send success notification", "SendSuccessNotification": "Send Success Notification",
"LastExecution": "Last Execution", "LastExecution": "Last Execution",
"Result": "Result", "Result": "Result",
"Scheduled": "Scheduled tasks", "Scheduled": "Scheduled Tasks",
"Notifier": "Notifier", "Notifier": "Notifier",
"AlertRule": "Alert rules", "AlertRule": "Alert rules",
"VerifyTLS": "Verify TLS", "VerifyTLS": "Verify TLS",
"TriggerMode": "Trigger mode", "TriggerMode": "Trigger Mode",
"Rules": "Rules", "Rules": "Rules",
"RequestMethod": "Request method", "RequestMethod": "Request Method",
"RequestHeader": "Request header", "RequestHeader": "Request Header",
"DoNotSendTestMessage": "Do Not Send Test Message", "DoNotSendTestMessage": "Do Not Send Test Message",
"Always": "Always", "Always": "Always",
"Once": "Once", "Once": "Once",
"Provider": "Provider", "Provider": "Provider",
"Domains": "domain name", "Domains": "Domains",
"MaximumRetryAttempts": "Maximum number of retries", "MaximumRetryAttempts": "Maximum time for retry attempts",
"Refresh": "Refresh", "Refresh": "Refresh",
"CopyPath": "Copy path", "CopyPath": "Copy path",
"Goto": "Go to", "Goto": "Go to",
"UpdateProfile": "Update profile", "UpdateProfile": "Update Profile",
"NewUsername": "New username", "NewUsername": "New Username",
"OriginalPassword": "Original password", "OriginalPassword": "Original Password",
"NewPassword": "New Password", "NewPassword": "New Password",
"EditDDNS": "Edit DDNS", "EditDDNS": "Edit DDNS",
"CreateDDNS": "Create DDNS", "CreateDDNS": "Create DDNS",
"Credential": "Credential", "Credential": "Credential",
"RequestType": "Request type", "RequestType": "Request Type",
"RequestBody": "Request body", "RequestBody": "Request Body",
"FileManager": "Pseudo File Manager", "FileManager": "Pseudo File Manager",
"Downloading": "Downloading", "Downloading": "Downloading",
"Uploading": "Uploading", "Uploading": "Uploading",
"EditNAT": "Edit intranet penetration", "EditNAT": "Edit NAT Configuration",
"CreateNAT": "Create intranet penetration", "CreateNAT": "Create NAT Configuration",
"LocalService": "Local service", "LocalService": "Local Service",
"BindHostname": "Bind domain name", "BindHostname": "Bind Domain Name",
"EditServerGroup": "Edit server group", "EditServerGroup": "Edit Server Group",
"CreateServerGroup": "Create server group", "CreateServerGroup": "Create Server Group",
"User": "User", "User": "User",
"WAF": "Web application firewall", "WAF": "Web Application Firewall",
"SiteName": "Site name", "SiteName": "Site Name",
"DashboardOriginalHost": "Agent docking address [domain name/IP:port]", "DashboardOriginalHost": "Agent connecting address [domain name/IP:port]",
"ConfigTLS": "Use TLS to connect Agent", "ConfigTLS": "Use TLS to connect Agent",
"LoginFailed": "Login failed", "LoginFailed": "Login Failed",
"BruteForceAttackingToken": "Brute Force Attacking Token", "BruteForceAttackingToken": "Brute Force Attacking Token",
"BruteForceAttackingAgentSecret": "Brute Force Attacking Agent Secret", "BruteForceAttackingAgentSecret": "Brute Force Attacking Agent Secret",
"Language": "Language", "Language": "Language",
@@ -139,19 +139,19 @@
"CustomPublicDNSNameserversforDDNS": "Custom Public DNS Nameservers for DDNS", "CustomPublicDNSNameserversforDDNS": "Custom Public DNS Nameservers for DDNS",
"RealIPHeader": "Real IP request header", "RealIPHeader": "Real IP request header",
"UseDirectConnectingIP": "Use direct connection IP", "UseDirectConnectingIP": "Use direct connection IP",
"IPChangeNotification": "IP Change notification", "IPChangeNotification": "IP Change Notification",
"FullIPNotification": "Show Full IP Address in Notification Messages", "FullIPNotification": "Show Full IP Address in Notification Messages",
"EditService": "Edit service", "EditService": "Edit Service",
"CreateService": "Create service", "CreateService": "Create Service",
"EditTask": "Edit task", "EditTask": "Edit Task",
"CreateTask": "Create task", "CreateTask": "Create Task",
"CreateNotifier": "Create notification", "CreateNotifier": "Create Notifier",
"EditNotifier": "Edit notification", "EditNotifier": "Edit Notifier",
"EditAlertRule": "Edit alarm rules", "EditAlertRule": "Edit Alert Rules",
"CreateAlertRule": "Create alert rules", "CreateAlertRule": "Create Alert Rules",
"EditNotifierGroup": "Edit notification group", "EditNotifierGroup": "Edit Notifier Group",
"CreateNotifierGroup": "Create notification group", "CreateNotifierGroup": "Create Notifier Group",
"NewUser": "New user", "NewUser": "New User",
"Count": "Count", "Count": "Count",
"LastBlockReason": "Last Block Reason", "LastBlockReason": "Last Block Reason",
"LastBlockTime": "Last ban time", "LastBlockTime": "Last ban time",
@@ -161,6 +161,6 @@
"Community": "Community", "Community": "Community",
"Official": "Official", "Official": "Official",
"CommunityThemeWarning": "You are using a community theme", "CommunityThemeWarning": "You are using a community theme",
"CommunityThemeDescription": "This theme is provided by the community, use it at your own risk", "CommunityThemeDescription": "This theme is provided by the community, use at your own risk",
"Cancel": "Cancel" "Cancel": "Cancel"
} }

View File

@@ -119,8 +119,8 @@
"FileManager": "Gestore di File Pseudo", "FileManager": "Gestore di File Pseudo",
"Downloading": "Download in corso", "Downloading": "Download in corso",
"Uploading": "Caricamento", "Uploading": "Caricamento",
"EditNAT": "Modifica la penetrazione della intranet", "EditNAT": "Modifica configurazione NAT",
"CreateNAT": "Creare penetrazione intranet", "CreateNAT": "Crea configurazione NAT",
"LocalService": "servizio locale", "LocalService": "servizio locale",
"BindHostname": "Associa il nome di dominio", "BindHostname": "Associa il nome di dominio",
"EditServerGroup": "Modifica gruppo di server", "EditServerGroup": "Modifica gruppo di server",

View File

@@ -115,12 +115,12 @@
"CreateDDNS": "创建DDNS", "CreateDDNS": "创建DDNS",
"Credential": "凭据", "Credential": "凭据",
"RequestType": "请求类型", "RequestType": "请求类型",
"RequestBody": "请求体", "RequestBody": "请求体",
"FileManager": "文件列表", "FileManager": "文件列表",
"Downloading": "下载中", "Downloading": "下载中",
"Uploading": "上传中", "Uploading": "上传中",
"EditNAT": "编辑内网穿透", "EditNAT": "编辑内网穿透配置",
"CreateNAT": "创建内网穿透", "CreateNAT": "创建内网穿透配置",
"LocalService": "本地服务", "LocalService": "本地服务",
"BindHostname": "绑定域名", "BindHostname": "绑定域名",
"EditServerGroup": "编辑服务器分组", "EditServerGroup": "编辑服务器分组",

View File

@@ -115,12 +115,12 @@
"CreateDDNS": "建立DDNS", "CreateDDNS": "建立DDNS",
"Credential": "憑證", "Credential": "憑證",
"RequestType": "請求類型", "RequestType": "請求類型",
"RequestBody": "請求體", "RequestBody": "請求體",
"FileManager": "檔案列表", "FileManager": "檔案列表",
"Downloading": "下載中", "Downloading": "下載中",
"Uploading": "上傳中", "Uploading": "上傳中",
"EditNAT": "編輯內網穿透", "EditNAT": "編輯內網穿透配置",
"CreateNAT": "創建內網穿透", "CreateNAT": "創建內網穿透配置",
"LocalService": "本地服務", "LocalService": "本地服務",
"BindHostname": "綁定域名", "BindHostname": "綁定域名",
"EditServerGroup": "編輯伺服器分組", "EditServerGroup": "編輯伺服器分組",

View File

@@ -69,9 +69,7 @@ export default function WAFPage() {
header: t("LastBlockReason"), header: t("LastBlockReason"),
accessorKey: "lastBlockReason", accessorKey: "lastBlockReason",
accessorFn: (row) => row.last_block_reason, accessorFn: (row) => row.last_block_reason,
cell: ({ row }) => ( cell: ({ row }) => <span>{wafBlockReasons[row.original.last_block_reason] || ""}</span>,
<span>{wafBlockReasons[row.original.last_block_reason] || ""}</span>
),
}, },
{ {
header: t("LastBlockTime"), header: t("LastBlockTime"),