mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-11-16 23:04:24 +08:00
fix(i18n): use English runtime text and localize system UI
This commit is contained in:
@@ -440,15 +440,15 @@
|
||||
"noTemplates": "No notification templates configured. Click the button above to add one.",
|
||||
"editTemplate": "Edit notification template",
|
||||
"addTemplateTitle": "Add notification template",
|
||||
"templateDesc": "Configure template rendering logic. Supports Go `text/template` syntax (e.g. `{{.Code}}` for verification code).",
|
||||
"templateDesc": "Use Go text/template syntax, for example {{.Code}} for a verification code.",
|
||||
"templateKey": "Template key",
|
||||
"templateKeyDesc": "Unique identifier used to reference this template in code.",
|
||||
"templateName": "Template name",
|
||||
"templateNameDesc": "Human-readable name for admin identification.",
|
||||
"templateNameDesc": "Name shown to administrators.",
|
||||
"templateType": "Template type",
|
||||
"templateTypeDesc": "Template category. Currently supports `email`.",
|
||||
"templateTypeDesc": "Currently, only email templates are supported.",
|
||||
"templateSubject": "Subject",
|
||||
"templateSubjectDesc": "Email subject line (effective when type is email).",
|
||||
"templateSubjectDesc": "Subject line used for email templates.",
|
||||
"templateDescription": "Description and variable documentation",
|
||||
"templateContent": "Content",
|
||||
"cancel": "Cancel",
|
||||
@@ -542,22 +542,22 @@
|
||||
"totalSizeDesc": "Total disk/S3 space occupied by files",
|
||||
"weeklyNewFiles": "New files (7 days)",
|
||||
"weeklyNewFilesDesc": "Files uploaded successfully in the last 7 days",
|
||||
"weeklyNewSize": "New size (7 days)",
|
||||
"weeklyNewSizeDesc": "Storage bandwidth consumed by uploads in the last 7 days",
|
||||
"weeklyNewSize": "Data uploaded (7 days)",
|
||||
"weeklyNewSizeDesc": "Total size of files uploaded in the last 7 days",
|
||||
"trendTitle": "7-day upload trend",
|
||||
"trendDesc": "Daily upload statistics over the past week",
|
||||
"trendCount": "New count",
|
||||
"trendSize": "New size (MB)",
|
||||
"trendCount": "File count",
|
||||
"trendSize": "Upload size (MB)",
|
||||
"chartLabelCount": "New files",
|
||||
"chartLabelSize": "New size",
|
||||
"countDistTitle": "File format distribution (count)",
|
||||
"countDistDesc": "Percentage of files by format type",
|
||||
"chartLabelSize": "Upload size",
|
||||
"countDistTitle": "Files by category",
|
||||
"countDistDesc": "Share of uploaded files in each category",
|
||||
"noCategoryData": "No category data",
|
||||
"maxCountHint": "The most common file type is “{name}” with {count} files uploaded.",
|
||||
"sizeDistTitle": "File format distribution (size)",
|
||||
"sizeDistDesc": "Percentage of storage by format type",
|
||||
"maxCountHint": "Most common category: {name} ({count, plural, one {# file} other {# files}}).",
|
||||
"sizeDistTitle": "Storage by category",
|
||||
"sizeDistDesc": "Share of storage used by each category",
|
||||
"noSizeData": "No size data",
|
||||
"maxSizeHint": "The largest storage consumer is “{name}”, using {size} of storage.",
|
||||
"maxSizeHint": "Largest category: {name} ({size}).",
|
||||
"catImages": "Images",
|
||||
"catVideos": "Videos",
|
||||
"catAudio": "Audio",
|
||||
@@ -798,16 +798,16 @@
|
||||
"loadingSchedules": "Loading scheduled tasks...",
|
||||
"noSchedules": "No scheduled tasks configured. Click the button above to add one.",
|
||||
"colScheduleName": "Task name",
|
||||
"colAssociatedTask": "Associated async task",
|
||||
"colAssociatedTask": "Task type",
|
||||
"colCron": "Cron expression",
|
||||
"colPayload": "Payload",
|
||||
"colEnabled": "Enabled",
|
||||
"colActions": "Actions",
|
||||
"editSchedule": "Edit scheduled task",
|
||||
"scheduleDialogDesc": "Configure scheduling parameters and runtime payload for the scheduled task.",
|
||||
"scheduleDialogDesc": "Choose a task type, set its schedule, and configure its parameters.",
|
||||
"scheduleName": "Task name",
|
||||
"scheduleNamePlaceholder": "e.g. daily-data-cleanup",
|
||||
"associatedTask": "Associated async task",
|
||||
"associatedTask": "Task type",
|
||||
"cronExpression": "Cron expression",
|
||||
"cronPlaceholder": "e.g. 0 */2 * * * or @daily",
|
||||
"cronHint": "Uses standard 5-field Cron format (minute, hour, day of month, month, day of week).",
|
||||
@@ -818,7 +818,7 @@
|
||||
"paramOn": "On",
|
||||
"paramOff": "Off",
|
||||
"saveChanges": "Save changes",
|
||||
"confirmCreate": "Confirm create",
|
||||
"confirmCreate": "Create scheduled task",
|
||||
"deleteScheduleTitle": "Delete scheduled task",
|
||||
"deleteScheduleDesc": "Delete this scheduled task? This cannot be undone and will immediately cancel its schedule.",
|
||||
"cancel": "Cancel",
|
||||
@@ -830,20 +830,20 @@
|
||||
"loadingTaskTypes": "Loading task types...",
|
||||
"noTaskTypes": "No task types available",
|
||||
"taskType": "Type:",
|
||||
"taskRetry": "Retry:",
|
||||
"taskRetry": "Retries:",
|
||||
"executeNow": "Execute now",
|
||||
"dispatchTask": "Dispatch task",
|
||||
"dispatchTaskDesc": "Configure parameters and start. The task runs asynchronously in the background.",
|
||||
"executeTask": "Execute task",
|
||||
"startTime": "Start time",
|
||||
"startTimeDesc": "Select the start time for sync",
|
||||
"startTimeDesc": "Start of the time range",
|
||||
"endTime": "End time",
|
||||
"endTimeDesc": "Select the end time for sync",
|
||||
"endTimeDesc": "End of the time range",
|
||||
"noParamsHint": "This task requires no additional parameters. It will be dispatched directly on confirmation.",
|
||||
"start": "Start",
|
||||
"dispatching": "Dispatching...",
|
||||
"selectDate": "Select date",
|
||||
"logPrimaryDb": "Log primary database",
|
||||
"logPrimaryDb": "Primary log database",
|
||||
"retentionDays": "Retention days",
|
||||
"migrationStatus": "Migration status",
|
||||
"migrating": "Migrating",
|
||||
@@ -857,9 +857,9 @@
|
||||
},
|
||||
"push": {
|
||||
"pageTitle": "Push notifications",
|
||||
"eventsTab": "Event management",
|
||||
"historiesTab": "Notification history",
|
||||
"settingsTab": "Channel management & settings",
|
||||
"eventsTab": "Events",
|
||||
"historiesTab": "History",
|
||||
"settingsTab": "Channels",
|
||||
"events": {
|
||||
"eventUpdateSuccess": "Event updated",
|
||||
"eventUpdateFailed": "Event update failed",
|
||||
@@ -876,11 +876,11 @@
|
||||
"noEvents": "No notification events configured. Click the button above to add one.",
|
||||
"colEvent": "Event",
|
||||
"colChannels": "Channels",
|
||||
"colTargets": "Targets",
|
||||
"colTargets": "Recipients",
|
||||
"colStatus": "Status",
|
||||
"colActions": "Actions",
|
||||
"taskBadge": "Task",
|
||||
"noChannelSpecified": "No channel specified",
|
||||
"noChannelSpecified": "No channels selected",
|
||||
"emailChannel": "Email",
|
||||
"configure": "Configure",
|
||||
"deleteEventConfirm": "Delete this notification event configuration? This cannot be undone.",
|
||||
@@ -889,40 +889,40 @@
|
||||
"deleting": "Deleting...",
|
||||
"delete": "Delete",
|
||||
"addEventDialogTitle": "Add notification event",
|
||||
"addEventDialogDesc": "Select a system event and bind push channels. It will be active immediately after creation.",
|
||||
"addEventDialogDesc": "Choose an event, then select its notification channels and recipients.",
|
||||
"eventType": "Event type",
|
||||
"builtinEventType": "System built-in event",
|
||||
"builtinEventType": "Built-in event",
|
||||
"taskEventType": "Task completion event",
|
||||
"systemEvent": "System event",
|
||||
"loadingSystemEvents": "Loading system events...",
|
||||
"allBuiltinEventsConfigured": "All built-in events are already configured. No new events available.",
|
||||
"allBuiltinEventsConfigured": "All built-in events are already configured.",
|
||||
"selectSystemEventPlaceholder": "Select system event",
|
||||
"systemAsyncTask": "System async task",
|
||||
"systemAsyncTask": "Task type",
|
||||
"loadingAsyncTasks": "Loading async tasks...",
|
||||
"noAvailableTasks": "No system tasks available.",
|
||||
"selectAsyncTaskPlaceholder": "Select async task",
|
||||
"selectAsyncTaskPlaceholder": "Select a task type",
|
||||
"eventDescription": "Event description:",
|
||||
"noDescription": "No description",
|
||||
"taskDescription": "Task description:",
|
||||
"pushChannelsMulti": "Push channels (multi-select)",
|
||||
"selectConfiguredChannels": "Select configured push channels",
|
||||
"pushChannelsMulti": "Notification channels",
|
||||
"selectConfiguredChannels": "Select channels",
|
||||
"emailPush": "Email push",
|
||||
"noAvailableChannels": "No channels available. Please create or enable one in “Channel management & settings” first.",
|
||||
"pushTargets": "Push targets (email and similar channels only)",
|
||||
"pushTargetsPlaceholder": "Separate multiple targets with commas, e.g.: user1@test.com, user2@test.com",
|
||||
"contentTemplate": "Content template (JSON)",
|
||||
"noAvailableChannels": "No channels available. Create or enable one in the Channels tab.",
|
||||
"pushTargets": "Recipients (for channels such as email)",
|
||||
"pushTargetsPlaceholder": "Separate recipients with commas, e.g. user1@example.com, user2@example.com",
|
||||
"contentTemplate": "Message template (JSON)",
|
||||
"taskTemplateVars": "Supported variables: {{task_name}}, {{task_status}}, {{task_duration}}, {{user.username}}",
|
||||
"eventTemplateVars": "Supported variables: {{user.username}}, {{ip}}, {{time}}",
|
||||
"enableStatus": "Enabled",
|
||||
"enableStatusDesc": "Whether to start receiving notifications for this event immediately after creation",
|
||||
"enableStatusDesc": "Start sending notifications for this event after it is created.",
|
||||
"cancel": "Cancel",
|
||||
"enableSave": "Enable and save",
|
||||
"editEventDialogTitle": "Event notification channel configuration",
|
||||
"editEventDialogDesc": "Customize the push channels and recipient configuration for this event",
|
||||
"enableSave": "Create event",
|
||||
"editEventDialogTitle": "Configure event notifications",
|
||||
"editEventDialogDesc": "Choose how and where to send notifications for this event.",
|
||||
"eventName": "Event name",
|
||||
"eventKey": "Event key",
|
||||
"relatedAsyncTask": "Associated async task",
|
||||
"noAvailableChannelsEdit": "No channels available. Please create and enable one in “Channel management & settings” first.",
|
||||
"relatedAsyncTask": "Task type",
|
||||
"noAvailableChannelsEdit": "No channels available. Create or enable one in the Channels tab.",
|
||||
"saveChanges": "Save changes",
|
||||
"taskCompleteTitle": "Task completed: {name}",
|
||||
"taskCompleteContent": "Async task {{task_name}} completed. Status: {{task_status}}, duration: {{task_duration}} ms."
|
||||
@@ -943,8 +943,8 @@
|
||||
"sendingTestPush": "Sending test push...",
|
||||
"testPushSuccess": "Test push sent. Please check the target platform.",
|
||||
"connectivityTestFailed": "Connectivity test failed",
|
||||
"customPushChannels": "Custom push channels",
|
||||
"customPushChannelsDesc": "Add, configure, and manage custom data push channels for third-party Webhook integration",
|
||||
"customPushChannels": "Notification channels",
|
||||
"customPushChannelsDesc": "Connect third-party webhooks and notification services.",
|
||||
"createChannel": "Create channel",
|
||||
"loadingChannels": "Loading channels...",
|
||||
"noCustomChannels": "No custom channels configured. Click the button above to create one.",
|
||||
@@ -963,15 +963,15 @@
|
||||
"delete": "Delete",
|
||||
"editChannelDialogTitle": "Edit channel",
|
||||
"createChannelDialogTitle": "Create channel",
|
||||
"channelDialogDesc": "Configure a custom notification push channel. Supports POST requests to third-party Webhooks or push services.",
|
||||
"channelDialogDesc": "Choose a channel type and configure its connection settings.",
|
||||
"channelName": "Name",
|
||||
"channelNamePlaceholder": "Enter channel name. Use only English letters and underscores. Must be unique.",
|
||||
"channelNameHint": "Unique channel identifier. Cannot be changed after creation.",
|
||||
"channelRemark": "Remark",
|
||||
"channelRemarkPlaceholder": "Enter remark",
|
||||
"channelNamePlaceholder": "e.g. alerts_primary",
|
||||
"channelNameHint": "Unique identifier using letters, numbers, and underscores. Cannot be changed after creation.",
|
||||
"channelRemark": "Description",
|
||||
"channelRemarkPlaceholder": "Optional description",
|
||||
"channelType": "Channel type",
|
||||
"selectChannelType": "Select channel type",
|
||||
"quickLoadTemplates": "Quick-load template examples:",
|
||||
"quickLoadTemplates": "Use a template:",
|
||||
"loadedFeishuTemplate": "Feishu Webhook template loaded",
|
||||
"loadedDingTalkTemplate": "DingTalk robot template loaded",
|
||||
"loadedWeChatTemplate": "WeCom robot template loaded",
|
||||
@@ -985,7 +985,7 @@
|
||||
"testPushTargetPlaceholder": "Enter test target identifier, such as Bark token or email",
|
||||
"sendTest": "Send test",
|
||||
"fieldRequired": "{label} is required",
|
||||
"configHelp": "{name} configuration help"
|
||||
"configHelp": "{name} setup"
|
||||
},
|
||||
"histories": {
|
||||
"searchPlaceholder": "Filter by event key...",
|
||||
@@ -995,7 +995,7 @@
|
||||
"sendFailed": "Failed",
|
||||
"colEvent": "Event",
|
||||
"colChannel": "Channel",
|
||||
"colTarget": "Target",
|
||||
"colTarget": "Recipient",
|
||||
"colTitle": "Title",
|
||||
"colLevel": "Level",
|
||||
"colStatus": "Status",
|
||||
@@ -1011,7 +1011,7 @@
|
||||
"eventIdentifier": "Event identifier",
|
||||
"sendChannel": "Send channel",
|
||||
"emailPush": "Email push",
|
||||
"pushTarget": "Push target",
|
||||
"pushTarget": "Recipient",
|
||||
"sendTime": "Send time",
|
||||
"notificationLevel": "Notification level",
|
||||
"failureReason": "Failure reason",
|
||||
@@ -1220,8 +1220,8 @@
|
||||
"totalRequests7dDesc": "Total authenticated API requests recorded by the system",
|
||||
"activeBrowserTypes": "Active browser types",
|
||||
"activeBrowserTypesDesc": "Number of browser agent categories that made requests this week",
|
||||
"activeUsers": "Active unique users",
|
||||
"activeUsersDesc": "Registered accounts with high-frequency requests in the past week",
|
||||
"activeUsers": "Active users (top 10)",
|
||||
"activeUsersDesc": "Accounts in this week's top 10 by API requests.",
|
||||
"weeklyAccessTrend": "Weekly access trend",
|
||||
"weeklyAccessTrendDesc": "Daily API request curve over the last 7 days",
|
||||
"noTrendData": "No trend data",
|
||||
@@ -1337,12 +1337,12 @@
|
||||
"rules": {
|
||||
"structureFocus": {
|
||||
"title": "Structure focus",
|
||||
"description": ": Page title area must be kept absolutely clean. Do not place any description paragraphs or small subtitles below the title. Keep the page minimal and information-pure at first glance."
|
||||
"description": ": Keep the title area simple. Do not add descriptions or subtitles below the page title."
|
||||
},
|
||||
"containerAlignment": {
|
||||
"title": "Container and top-margin alignment",
|
||||
"description": "As the base container for the title row (without bottom border), the outer wrapper uniformly uses",
|
||||
"description2": "for top-margin visual alignment, ensuring consistent top height feel when switching menus."
|
||||
"description": "for the title row, without a bottom border. Use",
|
||||
"description2": "on the outer container to keep page spacing consistent."
|
||||
},
|
||||
"iconPresentation": {
|
||||
"title": "Icon presentation",
|
||||
@@ -1360,7 +1360,7 @@
|
||||
},
|
||||
"complexityDriven": {
|
||||
"title": "Complexity-driven block decomposition",
|
||||
"description": "lines, high-density blocks must be decomposed into sub-components. Route-specific, non-reusable sub-components go in the route's feature directory (e.g.",
|
||||
"description": "lines, split complex sections into smaller components. Keep route-specific components in the feature directory (e.g.",
|
||||
"description2": "). Only truly cross-page reusable components go into the global",
|
||||
"description3": ". A typical reference case is \"Database\" ("
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user