From 80424b29e00609bf837119fa810b5afdadf2b4e9 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 4 May 2016 18:27:28 +0200 Subject: Work on translations: templates and messages work --- .../webinterface/lang/en/template-tags.json | 17 +++++++++++++++++ .../webinterface/lang/en/templates/httpd-restart.json | 4 ---- .../webinterface/lang/en/templates/https.json | 12 ------------ .../webinterface/lang/en/templates/passwords.json | 7 ------- 4 files changed, 17 insertions(+), 23 deletions(-) create mode 100644 modules-available/webinterface/lang/en/template-tags.json delete mode 100644 modules-available/webinterface/lang/en/templates/httpd-restart.json delete mode 100644 modules-available/webinterface/lang/en/templates/https.json delete mode 100644 modules-available/webinterface/lang/en/templates/passwords.json (limited to 'modules-available/webinterface/lang/en') diff --git a/modules-available/webinterface/lang/en/template-tags.json b/modules-available/webinterface/lang/en/template-tags.json new file mode 100644 index 00000000..0c58fba7 --- /dev/null +++ b/modules-available/webinterface/lang/en/template-tags.json @@ -0,0 +1,17 @@ +{ + "lang_HttpsIsDisabled": "HTTPS is currently disabled", + "lang_applyingSettings": "Applying settings", + "lang_caChain": "Here you can paste an optional certificate chain. It should only be required if you have a certificate that was not directly signed by a certificate authority known by the browsers. It should contain one or more certificate blocks, looking just like the certificate above.", + "lang_certificate": "Please paste your certificate below. It has to be in base64 encoded x509 format (sometimes called pem). It should look something like this:", + "lang_customCert": "Supply own certificate", + "lang_description": "Here you can set whether the web interface should be accessible via https. You can chose if you want to use a random self signed certificate, or supply your own.", + "lang_hidePasswords": "Mask passwords", + "lang_httpsSettings": "HTTPS settings", + "lang_installAndRestart": "Installing certificate and restarting web server", + "lang_noHttps": "Disable HTTPS, delete current certificate", + "lang_passwordFields": "Password fields", + "lang_privateKey": "Please paste the private key belonging to the certificate here. It has to be in \"pem\" format too, which should look like this:", + "lang_randomCert": "Genenrate new self-signed certificate", + "lang_save": "Save", + "lang_showPasswords": "Show passwords" +} \ No newline at end of file diff --git a/modules-available/webinterface/lang/en/templates/httpd-restart.json b/modules-available/webinterface/lang/en/templates/httpd-restart.json deleted file mode 100644 index 0a7d4aea..00000000 --- a/modules-available/webinterface/lang/en/templates/httpd-restart.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "lang_applyingSettings": "Applying settings", - "lang_installAndRestart": "Installing certificate and restarting web server" -} \ No newline at end of file diff --git a/modules-available/webinterface/lang/en/templates/https.json b/modules-available/webinterface/lang/en/templates/https.json deleted file mode 100644 index 64631a9a..00000000 --- a/modules-available/webinterface/lang/en/templates/https.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "lang_HttpsIsDisabled": "HTTPS is currently disabled", - "lang_caChain": "Here you can paste an optional certificate chain. It should only be required if you have a certificate that was not directly signed by a certificate authority known by the browsers. It should contain one or more certificate blocks, looking just like the certificate above.", - "lang_certificate": "Please paste your certificate below. It has to be in base64 encoded x509 format (sometimes called pem). It should look something like this:", - "lang_customCert": "Supply own certificate", - "lang_description": "Here you can set whether the web interface should be accessible via https. You can chose if you want to use a random self signed certificate, or supply your own.", - "lang_httpsSettings": "HTTPS settings", - "lang_noHttps": "Disable HTTPS, delete current certificate", - "lang_privateKey": "Please paste the private key belonging to the certificate here. It has to be in \"pem\" format too, which should look like this:", - "lang_randomCert": "Genenrate new self-signed certificate", - "lang_save": "Save" -} \ No newline at end of file diff --git a/modules-available/webinterface/lang/en/templates/passwords.json b/modules-available/webinterface/lang/en/templates/passwords.json deleted file mode 100644 index 2db88ae2..00000000 --- a/modules-available/webinterface/lang/en/templates/passwords.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "lang_description": "Set whether password fields should be masked or not. The password field of the login page to the web interface is always masked.", - "lang_hidePasswords": "Mask passwords", - "lang_passwordFields": "Password fields", - "lang_save": "Save", - "lang_showPasswords": "Show passwords" -} \ No newline at end of file -- cgit v1.2.3-55-g7522