summaryrefslogtreecommitdiff
path: root/site/i18n.js
diff options
context:
space:
mode:
authorstuebinm2021-04-12 16:50:20 +0200
committerstuebinm2021-04-12 16:50:20 +0200
commit15d7a47bea2815d4852c62984b256d658e8b3742 (patch)
treeb775077c2af936d409967e7f6747b05cb008636e /site/i18n.js
parentf02af23dd7f478a86c0522d1f4c3d924df06f3f0 (diff)
site: show hint for unselected radio buttons
In surveys containing radio buttons, there will now be a nice little hint directly beneath them if none were selected when attempting to submit (in addition to the relatively nondescript "not all required questions were filled in"-hint at the bottom of the form)
Diffstat (limited to '')
-rw-r--r--site/i18n.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/site/i18n.js b/site/i18n.js
index 829373e..e3d7662 100644
--- a/site/i18n.js
+++ b/site/i18n.js
@@ -28,7 +28,10 @@ let langs = {
// error message in case the post request failed entirely (i.e. printed if the .catch-clause of the fetch() function is reached)
"Error: could not post":"Error: The http POST request did not succeed.",
// error message in case the post request returned some other status code than 200; its status code and message will be appended in the next line after the text given here
- "Error: post returned error":"Error: The http POST request returned an error code:"
+ "Error: post returned error":"Error: The http POST request returned an error code:",
+
+ // HINTS WHEN ATTEMPTING TO SUBMIT
+ "Have to select an option": "You have to select an option here"
},
de : {
"Error: nothing here": "Hier ist nichts. Evtl. hilft es, etwas hinten an die url dranzuhängen?\n\nAnsonsten: bist du dir sicher, dass du den ganzen Link hierher kopiert hast?",
@@ -43,7 +46,8 @@ let langs = {
"Enter Passphrase": "Passphrase eingeben",
"Error: answers invalid":"Einige verpflichtenden Antworten fehlen!",
"Error: could not post":"Fehler: Die http POST Anfrage schlug fehl.",
- "Error: post returned error":"Fehler: Die http POST Anfragen schlug fehl und gab einen Fehlercode zurück:"
+ "Error: post returned error":"Fehler: Die http POST Anfragen schlug fehl und gab einen Fehlercode zurück:",
+ "Have to select an option": "Pflichtfeld",
}
}