refactor(i18n): Extracted multiple fields in the Service component for translation.
- Extracted multiple fields in the Service component for translation. - Optimized the structure of the translation file, categorizing it by functional modules.
This commit is contained in:
@@ -2,18 +2,18 @@
|
||||
import { SettingsTranslations } from '../types/settings';
|
||||
|
||||
export const settingsTranslations: SettingsTranslations = {
|
||||
// Tabs
|
||||
// General Settings - Tabs
|
||||
systemSettings: "系统设置",
|
||||
mailSettings: "邮件设置",
|
||||
|
||||
// System Settings
|
||||
// General Settings - System Settings
|
||||
appName: "应用名称",
|
||||
appURL: "应用 URL",
|
||||
senderName: "发送者名称",
|
||||
senderEmail: "发送者邮箱地址",
|
||||
hideControls: "隐藏控件",
|
||||
|
||||
// Mail Settings
|
||||
// General Settings - Mail Settings
|
||||
smtpSettings: "SMTP 配置",
|
||||
smtpEnabled: "启用 SMTP",
|
||||
smtpHost: "SMTP 主机",
|
||||
@@ -24,7 +24,7 @@ export const settingsTranslations: SettingsTranslations = {
|
||||
enableTLS: "启用 TLS",
|
||||
localName: "本地名称",
|
||||
|
||||
// Test Email
|
||||
// General Settings - Test Email
|
||||
testEmail: "测试邮箱",
|
||||
sendTestEmail: "发送测试邮箱",
|
||||
emailTemplate: "邮箱模板",
|
||||
@@ -39,7 +39,7 @@ export const settingsTranslations: SettingsTranslations = {
|
||||
enterEmailAddress: "输入收件人邮箱地址",
|
||||
sending: "发送中...",
|
||||
|
||||
// Actions and status
|
||||
// General Settings - Actions and status
|
||||
save: "保存变更",
|
||||
saving: "保存中...",
|
||||
settingsUpdated: "设置已成功更新",
|
||||
@@ -48,5 +48,12 @@ export const settingsTranslations: SettingsTranslations = {
|
||||
testConnection: "测试连接",
|
||||
testingConnection: "测试连接中...",
|
||||
connectionSuccess: "连接成功",
|
||||
connectionFailed: "连接失败"
|
||||
};
|
||||
connectionFailed: "连接失败",
|
||||
|
||||
// User Management
|
||||
addUser: "添加用户",
|
||||
permissionNotice: "权限问题:",
|
||||
permissionNoticeAddUser: "作为管理员用户,您无权查看或修改系统及邮件设置。这些设置仅超级管理员可访问和修改。如需更改系统配置或邮件设置,请联系您的超级管理员。",
|
||||
loadingSettings: "加载设置中...",
|
||||
loadingSettingsError: "加载设置时出错",
|
||||
};
|
||||
Reference in New Issue
Block a user