summaryrefslogtreecommitdiffstats
path: root/modules-available/webinterface/lang/en
diff options
context:
space:
mode:
authorSimon Rettberg2017-03-20 21:30:33 +0100
committerSimon Rettberg2017-03-20 21:30:33 +0100
commit2aa709e968482756c0343dbecf079913cd16ba52 (patch)
tree6284e55c25d48b0d434042c9baccfeb9842db8bc /modules-available/webinterface/lang/en
parent[sysconfig] Add ConfigTgz::rebuildAllConfigs() (diff)
downloadslx-admin-2aa709e968482756c0343dbecf079913cd16ba52.tar.gz
slx-admin-2aa709e968482756c0343dbecf079913cd16ba52.tar.xz
slx-admin-2aa709e968482756c0343dbecf079913cd16ba52.zip
[webinterface] Remember last HTTPS config; add redirect to HTTPS setting
Functionality in the LighttpdHttps task is still missing, so the new redirect setting doesn't really do anything yet. This refs #3058 @2h
Diffstat (limited to 'modules-available/webinterface/lang/en')
-rw-r--r--modules-available/webinterface/lang/en/messages.json6
-rw-r--r--modules-available/webinterface/lang/en/template-tags.json12
2 files changed, 15 insertions, 3 deletions
diff --git a/modules-available/webinterface/lang/en/messages.json b/modules-available/webinterface/lang/en/messages.json
new file mode 100644
index 00000000..803dc73f
--- /dev/null
+++ b/modules-available/webinterface/lang/en/messages.json
@@ -0,0 +1,6 @@
+{
+ "https-on-cert-missing": "HTTPS is enabled, but the certificate is missing. Please redo the configuration steps.",
+ "https-used-without-cert": "HTTPS is currently used, but there is no certificate installed. If you tweaked the web server's configuration manually to enable HTTPS bear in mind that a future server update might overwrite your modified configuration without asking.",
+ "https-want-off-is-used": "HTTPS is currently in use although it is disabled in the settings. Very weird indeed.",
+ "https-want-redirect-is-plain": "HTTP to HTTPS redirects are enabled, but the connection from your browser appears to be unencrypted. Please redo the HTTPS configuration and contact support if the problem persists."
+} \ No newline at end of file
diff --git a/modules-available/webinterface/lang/en/template-tags.json b/modules-available/webinterface/lang/en/template-tags.json
index 4d91e4b6..cdf2b920 100644
--- a/modules-available/webinterface/lang/en/template-tags.json
+++ b/modules-available/webinterface/lang/en/template-tags.json
@@ -1,17 +1,23 @@
{
- "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_generatedSelected": "The server is currently using an automatically generated, self-signed certificate.",
"lang_hidePasswords": "Mask passwords",
"lang_httpsDescription": "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_httpsRedirect": "Redirect incoming HTTP requests to HTTPS (if enabled).",
"lang_httpsSettings": "HTTPS settings",
"lang_installAndRestart": "Installing certificate and restarting web server",
"lang_noHttps": "Disable HTTPS, delete current certificate",
+ "lang_offSelected": "HTTPS is currently disabled.",
"lang_passwordFields": "Password fields",
"lang_passwordsDescription": "Set whether password fields should be masked or not. The password field of the login page to the web interface is always masked.",
"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": "Generate new self-signed certificate",
- "lang_showPasswords": "Show passwords"
-}
+ "lang_showPasswords": "Show passwords",
+ "lang_suppliedSelected": "The server is currently using a certificate supplied using the \"Supply own certificate\" option.",
+ "lang_unknownSelected": "Unknown or invalid certificate in use. The server war probably updated from an old version while HTTPS was already enabled. Redo the HTTPS configuration steps to get rid of this message.",
+ "lang_youreNotUsingHttps": "You're not using HTTPS to visit this website (or the HTTPS termination is done by a reverse proxy).",
+ "lang_youreUsingHttps": "You're visiting this server through an HTTPS connection (from the server's point of view)."
+} \ No newline at end of file