From 9481eccfb02aa37c8e361d2a040a3351527ef056 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 17 Feb 2022 15:52:15 +0100 Subject: [PATCH] Make email import dialog translatable --- src/translation/en.json | 15 +++++++++++++-- src/views/email.html | 19 +++++++++---------- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/translation/en.json b/src/translation/en.json index 72af7a619..daead878d 100644 --- a/src/translation/en.json +++ b/src/translation/en.json @@ -1134,7 +1134,9 @@ "name": "Name", "owner": "Owner", "aliases": "Aliases", - "usage": "Usage" + "usage": "Usage", + "importTooltip": "Import Mailboxes", + "exportTooltip": "Export Mailboxes" }, "mailinglists": { "title": "Mailing Lists", @@ -1282,7 +1284,16 @@ "activeCheckbox": "Mailbox is active", "enablePop3": "Enable POP3 access" }, - "howToConnectInfoModal": "Configuring Email Clients" + "howToConnectInfoModal": "Configuring Email Clients", + "mailboxImportDialog": { + "title": "Import Mailboxes", + "description": "The import requires a specific schema for JSON. The detailed schema is described in our documentation", + "fileInput": "Select JSON file", + "mailboxesFound": "Found {{ count }} mailboxes to import", + "success": "{{ count }} mailboxes successfully imported.", + "failed": "The following mailboxes were not imported:", + "importAction": "Import" + } }, "app": { "backAction": "Back to My Apps", diff --git a/src/views/email.html b/src/views/email.html index 4dcb50fa7..d8887a436 100644 --- a/src/views/email.html +++ b/src/views/email.html @@ -204,40 +204,39 @@ -