Преглед изворни кода

Add i18n translations for Global Email settings in en, de, ja locales

Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
copilot-swe-agent[bot] пре 3 месеци
родитељ
комит
14c9e9120e

+ 29 - 0
frontend/src/i18n/locales/de.ts

@@ -1000,6 +1000,35 @@ export default {
       virtualPrinter: 'Virtueller Drucker',
       virtualPrinter: 'Virtueller Drucker',
       users: 'Benutzer',
       users: 'Benutzer',
       backup: 'Sicherung',
       backup: 'Sicherung',
+      globalEmail: 'Globale E-Mail',
+    },
+    // Email settings
+    email: {
+      smtpSettings: 'SMTP-Konfiguration',
+      smtpHost: 'SMTP-Server',
+      smtpPort: 'SMTP-Port',
+      security: 'Sicherheit',
+      authentication: 'Authentifizierung',
+      username: 'Benutzername',
+      password: 'Passwort',
+      fromEmail: 'Absender-E-Mail',
+      fromName: 'Absendername',
+      testConnection: 'SMTP-Verbindung testen',
+      testRecipient: 'Test-Empfänger-E-Mail',
+      sendTest: 'Test-E-Mail senden',
+      sending: 'Wird gesendet...',
+      save: 'Einstellungen speichern',
+      saving: 'Wird gespeichert...',
+      advancedAuth: 'Erweiterte Authentifizierung',
+      advancedAuthEnabled: 'Erweiterte Authentifizierung ist aktiviert',
+      advancedAuthDisabled: 'Erweiterte Authentifizierung ist deaktiviert',
+      advancedAuthDisabledDesc: 'Aktivieren Sie die erweiterte Authentifizierung, um E-Mail-basierte Funktionen für die Benutzerverwaltung zu aktivieren.',
+      enable: 'Aktivieren',
+      disable: 'Deaktivieren',
+      feature1: 'Passwörter werden automatisch generiert und an neue Benutzer gesendet',
+      feature2: 'Benutzer können sich mit Benutzername oder E-Mail anmelden',
+      feature3: 'Passwort vergessen Funktion ist verfügbar',
+      feature4: 'Administratoren können Benutzerpasswörter per E-Mail zurücksetzen',
     },
     },
     appearance: 'Erscheinungsbild',
     appearance: 'Erscheinungsbild',
     notifications: 'Benachrichtigungen',
     notifications: 'Benachrichtigungen',

+ 29 - 0
frontend/src/i18n/locales/en.ts

@@ -1000,6 +1000,35 @@ export default {
       virtualPrinter: 'Virtual Printer',
       virtualPrinter: 'Virtual Printer',
       users: 'Users',
       users: 'Users',
       backup: 'Backup',
       backup: 'Backup',
+      globalEmail: 'Global Email',
+    },
+    // Email settings
+    email: {
+      smtpSettings: 'SMTP Configuration',
+      smtpHost: 'SMTP Server',
+      smtpPort: 'SMTP Port',
+      security: 'Security',
+      authentication: 'Authentication',
+      username: 'Username',
+      password: 'Password',
+      fromEmail: 'From Email',
+      fromName: 'From Name',
+      testConnection: 'Test SMTP Connection',
+      testRecipient: 'Test Recipient Email',
+      sendTest: 'Send Test Email',
+      sending: 'Sending...',
+      save: 'Save Settings',
+      saving: 'Saving...',
+      advancedAuth: 'Advanced Authentication',
+      advancedAuthEnabled: 'Advanced Authentication is enabled',
+      advancedAuthDisabled: 'Advanced Authentication is disabled',
+      advancedAuthDisabledDesc: 'Enable advanced authentication to activate email-based features for user management.',
+      enable: 'Enable',
+      disable: 'Disable',
+      feature1: 'Passwords are auto-generated and emailed to new users',
+      feature2: 'Users can login with username or email',
+      feature3: 'Forgot password feature is available',
+      feature4: 'Admins can reset user passwords via email',
     },
     },
     appearance: 'Appearance',
     appearance: 'Appearance',
     notifications: 'Notifications',
     notifications: 'Notifications',

+ 43 - 0
frontend/src/i18n/locales/ja.ts

@@ -1139,6 +1139,49 @@ export default {
     tabApiKeys: 'APIキー',
     tabApiKeys: 'APIキー',
     tabVirtualPrinter: '仮想プリンター',
     tabVirtualPrinter: '仮想プリンター',
     tabUsers: 'ユーザー',
     tabUsers: 'ユーザー',
+    tabGlobalEmail: 'グローバルメール',
+    tabBackup: 'バックアップ',
+    // Settings tabs object (for consistency with other locales)
+    tabs: {
+      general: '一般',
+      smartPlugs: 'スマートプラグ',
+      notifications: '通知',
+      filament: 'フィラメント',
+      network: 'ネットワーク',
+      apiKeys: 'APIキー',
+      virtualPrinter: '仮想プリンター',
+      users: 'ユーザー',
+      backup: 'バックアップ',
+      globalEmail: 'グローバルメール',
+    },
+    // Email settings
+    email: {
+      smtpSettings: 'SMTP設定',
+      smtpHost: 'SMTPサーバー',
+      smtpPort: 'SMTPポート',
+      security: 'セキュリティ',
+      authentication: '認証',
+      username: 'ユーザー名',
+      password: 'パスワード',
+      fromEmail: '送信元メールアドレス',
+      fromName: '送信者名',
+      testConnection: 'SMTP接続テスト',
+      testRecipient: 'テスト受信者メール',
+      sendTest: 'テストメール送信',
+      sending: '送信中...',
+      save: '設定を保存',
+      saving: '保存中...',
+      advancedAuth: '高度な認証',
+      advancedAuthEnabled: '高度な認証が有効です',
+      advancedAuthDisabled: '高度な認証が無効です',
+      advancedAuthDisabledDesc: '高度な認証を有効にして、ユーザー管理のメールベース機能を有効化してください。',
+      enable: '有効にする',
+      disable: '無効にする',
+      feature1: 'パスワードは自動生成され、新規ユーザーにメールで送信されます',
+      feature2: 'ユーザーはユーザー名またはメールでログインできます',
+      feature3: 'パスワード忘れ機能が利用可能です',
+      feature4: '管理者はメールでユーザーパスワードをリセットできます',
+    },
 
 
     // General - Date/Time
     // General - Date/Time
     dateFormat: '日付形式',
     dateFormat: '日付形式',

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
static/assets/index-DywTesim.js


+ 1 - 1
static/index.html

@@ -23,7 +23,7 @@
 
 
     <!-- Splash screens for iOS -->
     <!-- Splash screens for iOS -->
     <link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
     <link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
-    <script type="module" crossorigin src="/assets/index-CXR9zkfR.js"></script>
+    <script type="module" crossorigin src="/assets/index-DywTesim.js"></script>
     <link rel="stylesheet" crossorigin href="/assets/index-962x7uln.css">
     <link rel="stylesheet" crossorigin href="/assets/index-962x7uln.css">
   </head>
   </head>
   <body>
   <body>

Неке датотеке нису приказане због велике количине промена