Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--l10n/preproc.sh5
-rw-r--r--translations.js35
3 files changed, 7 insertions, 35 deletions
diff --git a/.gitignore b/.gitignore
index 8637b834a..047380c8a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,5 @@ js/mail.min.js
# packaged app
build/
+
+translations.js
diff --git a/l10n/preproc.sh b/l10n/preproc.sh
new file mode 100644
index 000000000..718a2f68c
--- /dev/null
+++ b/l10n/preproc.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+SCRIPT=`realpath $0`
+SCRIPTPATH=`dirname $SCRIPT`
+
+php "$SCRIPTPATH/../translation-extractor.php"
diff --git a/translations.js b/translations.js
deleted file mode 100644
index 857e9dae0..000000000
--- a/translations.js
+++ /dev/null
@@ -1,35 +0,0 @@
-t('Add attachment from Files');
-t('Connect your mail account');
-t('Name');
-t('Mail Address');
-t('Password');
-t('Manual configuration');
-t('IMAP Host');
-t('IMAP security');
-t('None');
-t('STARTTLS');
-t('IMAP Port');
-t('IMAP User');
-t('IMAP Password');
-t('SMTP Host');
-t('SMTP security');
-t('SMTP Port');
-t('SMTP User');
-t('SMTP Password');
-t('Connect');
-t('Add mail account');
-t('Check messages');
-t('Load more');
-t('Delete');
-t('No search results for');
-t('to');
-t('cc');
-t('The images have been blocked to protect your privacy.');
-t('Show images from this sender');
-t('Download attachment');
-t('Save to Files');
-t('Save all to Files');
-t('Forward');
-t('from');
-t('bcc');
-t('Subject');