fix: add email export/import localization keys for multiple languages

This commit is contained in:
Linus Rath
2026-03-18 18:00:51 +01:00
parent 9fdbb62205
commit ef562bcaad
8 changed files with 43 additions and 7 deletions
+1
View File
@@ -1,3 +1,4 @@
// @vitest-environment node
import fs from 'fs';
import path from 'path';
import { describe, expect, it } from 'vitest';
+6 -1
View File
@@ -191,6 +191,8 @@
"mark_read": "Als gelesen markieren",
"print": "Drucken",
"view_source": "Quelltext anzeigen",
"export_email": "Als .eml exportieren",
"import_email": ".eml importieren",
"keyboard_shortcuts": "Tastaturkürzel (?)",
"email_source": "E-Mail-Quelltext",
"copy_source": "In Zwischenablage kopieren",
@@ -527,7 +529,10 @@
"templates_exported": "Vorlagen erfolgreich exportiert",
"templates_imported": "{count, plural, one {# Vorlage importiert} other {# Vorlagen importiert}}",
"templates_import_errors": "Einige Vorlagen konnten nicht importiert werden",
"templates_import_empty": "Keine Vorlagen in der Datei gefunden"
"templates_import_empty": "Keine Vorlagen in der Datei gefunden",
"export_email_error": "Fehler beim Exportieren der E-Mail",
"import_email_success": "E-Mail erfolgreich importiert",
"import_email_error": "Fehler beim Importieren der E-Mail"
},
"date": {
"today": "Heute",
+6 -1
View File
@@ -191,6 +191,8 @@
"mark_read": "Marcar como leído",
"print": "Imprimir",
"view_source": "Ver código fuente",
"export_email": "Exportar como .eml",
"import_email": "Importar .eml",
"keyboard_shortcuts": "Atajos de teclado (?)",
"email_source": "Código Fuente del Correo",
"copy_source": "Copiar al portapapeles",
@@ -527,7 +529,10 @@
"templates_exported": "Plantillas exportadas correctamente",
"templates_imported": "{count, plural, one {# plantilla importada} other {# plantillas importadas}}",
"templates_import_errors": "Algunas plantillas no se pudieron importar",
"templates_import_empty": "No se encontraron plantillas en el archivo"
"templates_import_empty": "No se encontraron plantillas en el archivo",
"export_email_error": "Error al exportar el correo electrónico",
"import_email_success": "Correo electrónico importado correctamente",
"import_email_error": "Error al importar el correo electrónico"
},
"date": {
"today": "Hoy",
+6 -1
View File
@@ -191,6 +191,8 @@
"mark_read": "Marquer comme lu",
"print": "Imprimer",
"view_source": "Voir la source",
"export_email": "Exporter en .eml",
"import_email": "Importer un .eml",
"keyboard_shortcuts": "Raccourcis clavier (?)",
"email_source": "Source de l'email",
"copy_source": "Copier dans le presse-papiers",
@@ -527,7 +529,10 @@
"templates_exported": "Modèles exportés avec succès",
"templates_imported": "{count, plural, one {# modèle importé} other {# modèles importés}}",
"templates_import_errors": "Certains modèles n'ont pas pu être importés",
"templates_import_empty": "Aucun modèle trouvé dans le fichier"
"templates_import_empty": "Aucun modèle trouvé dans le fichier",
"export_email_error": "Échec de l'exportation de l'e-mail",
"import_email_success": "E-mail importé avec succès",
"import_email_error": "Échec de l'importation de l'e-mail"
},
"date": {
"today": "Aujourd'hui",
+6 -1
View File
@@ -191,6 +191,8 @@
"mark_read": "Segna come letto",
"print": "Stampa",
"view_source": "Visualizza sorgente",
"export_email": "Esporta come .eml",
"import_email": "Importa .eml",
"keyboard_shortcuts": "Scorciatoie da tastiera (?)",
"email_source": "Sorgente del messaggio",
"copy_source": "Copia negli appunti",
@@ -527,7 +529,10 @@
"templates_exported": "Modelli esportati con successo",
"templates_imported": "{count, plural, one {# modello importato} other {# modelli importati}}",
"templates_import_errors": "Alcuni modelli non sono stati importati",
"templates_import_empty": "Nessun modello trovato nel file"
"templates_import_empty": "Nessun modello trovato nel file",
"export_email_error": "Impossibile esportare l'e-mail",
"import_email_success": "E-mail importata con successo",
"import_email_error": "Impossibile importare l'e-mail"
},
"date": {
"today": "Oggi",
+6 -1
View File
@@ -191,6 +191,8 @@
"mark_read": "既読にする",
"print": "印刷",
"view_source": "ソースを表示",
"export_email": ".emlとしてエクスポート",
"import_email": ".emlをインポート",
"keyboard_shortcuts": "キーボードショートカット (?)",
"email_source": "メールソース",
"copy_source": "クリップボードにコピー",
@@ -527,7 +529,10 @@
"templates_exported": "テンプレートをエクスポートしました",
"templates_imported": "{count}件のテンプレートをインポートしました",
"templates_import_errors": "一部のテンプレートをインポートできませんでした",
"templates_import_empty": "ファイルにテンプレートが見つかりません"
"templates_import_empty": "ファイルにテンプレートが見つかりません",
"export_email_error": "メールのエクスポートに失敗しました",
"import_email_success": "メールを正常にインポートしました",
"import_email_error": "メールのインポートに失敗しました"
},
"date": {
"today": "今日",
+6 -1
View File
@@ -191,6 +191,8 @@
"mark_read": "Markeren als gelezen",
"print": "Afdrukken",
"view_source": "Bron bekijken",
"export_email": "Exporteren als .eml",
"import_email": ".eml importeren",
"keyboard_shortcuts": "Sneltoetsen (?)",
"email_source": "E-mailbron",
"copy_source": "Kopiëren naar klembord",
@@ -527,7 +529,10 @@
"templates_exported": "Sjablonen succesvol geëxporteerd",
"templates_imported": "{count, plural, one {# sjabloon geïmporteerd} other {# sjablonen geïmporteerd}}",
"templates_import_errors": "Sommige sjablonen konden niet worden geïmporteerd",
"templates_import_empty": "Geen sjablonen gevonden in het bestand"
"templates_import_empty": "Geen sjablonen gevonden in het bestand",
"export_email_error": "Kan e-mail niet exporteren",
"import_email_success": "E-mail succesvol geïmporteerd",
"import_email_error": "Kan e-mail niet importeren"
},
"date": {
"today": "Vandaag",
+6 -1
View File
@@ -191,6 +191,8 @@
"mark_read": "Marcar como lido",
"print": "Imprimir",
"view_source": "Ver código-fonte",
"export_email": "Exportar como .eml",
"import_email": "Importar .eml",
"keyboard_shortcuts": "Atalhos de teclado (?)",
"email_source": "Código-fonte do E-mail",
"copy_source": "Copiar para a área de transferência",
@@ -527,7 +529,10 @@
"templates_exported": "Modelos exportados com sucesso",
"templates_imported": "{count, plural, one {# modelo importado} other {# modelos importados}}",
"templates_import_errors": "Alguns modelos não puderam ser importados",
"templates_import_empty": "Nenhum modelo encontrado no arquivo"
"templates_import_empty": "Nenhum modelo encontrado no arquivo",
"export_email_error": "Falha ao exportar o e-mail",
"import_email_success": "E-mail importado com sucesso",
"import_email_error": "Falha ao importar o e-mail"
},
"date": {
"today": "Hoje",