Skip to content
Snippets Groups Projects
Commit 8b335f7c authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Add suggestion about bad link to nostate page.

Closes: #177
parent 4d0f6c5d
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,9 @@ ...@@ -8,6 +8,9 @@
"suggestions": { "suggestions": {
"en": "Suggestions for resolving this problem:" "en": "Suggestions for resolving this problem:"
}, },
"suggestion_badlink": {
"en": "Check that the link you used to access the web site is correct."
},
"suggestion_goback": { "suggestion_goback": {
"en": "Go back to the previous page and try again." "en": "Go back to the previous page and try again."
}, },
...@@ -17,6 +20,9 @@ ...@@ -17,6 +20,9 @@
"causes": { "causes": {
"en": "This error may be caused by:" "en": "This error may be caused by:"
}, },
"cause_badlink": {
"en": "The link used to get here was bad, perhaps a bookmark."
},
"cause_backforward": { "cause_backforward": {
"en": "Using the back and forward buttons in the web browser." "en": "Using the back and forward buttons in the web browser."
}, },
......
...@@ -92,6 +92,10 @@ ...@@ -92,6 +92,10 @@
"zu": "Iziphakamiso zokuxazulula le nkinga:", "zu": "Iziphakamiso zokuxazulula le nkinga:",
"xh": "Iingcebiso zokulungisa le ngxaki:" "xh": "Iingcebiso zokulungisa le ngxaki:"
}, },
"suggestion_badlink": {
"sv": "Kontrollera att länken du använde för att komma åt webplatsen är korrekt.",
"nl": "Controleer of u de juiste link gebruikt om de website te benaderen."
},
"suggestion_goback": { "suggestion_goback": {
"no": "G\u00e5 tilbake til forrige side og pr\u00f8v p\u00e5 nytt.", "no": "G\u00e5 tilbake til forrige side og pr\u00f8v p\u00e5 nytt.",
"nn": "G\u00e5 tilbake til forrige side og pr\u00f8v p\u00e5 nytt.", "nn": "G\u00e5 tilbake til forrige side og pr\u00f8v p\u00e5 nytt.",
...@@ -185,6 +189,10 @@ ...@@ -185,6 +189,10 @@
"zu": "Leli phutha kungenzeka libangelwa ukuthi:", "zu": "Leli phutha kungenzeka libangelwa ukuthi:",
"xh": "Le mpazamo isenokuba ibangelwe:" "xh": "Le mpazamo isenokuba ibangelwe:"
}, },
"cause_badlink": {
"sv": "Länken till websidan var felaktig, kanske till följd av elak automatisk ifyllning, en trasig länk eller ett trasigt bokmärke.",
"nl": "Verkeerde link gebruikt, bijvoorbeeld een bookmark (bladwijzer)."
},
"cause_backforward": { "cause_backforward": {
"no": "Bruk av \"frem\"- og \"tilbake\"-knappene i nettleseren.", "no": "Bruk av \"frem\"- og \"tilbake\"-knappene i nettleseren.",
"nn": "Bruk av \"fram\"- og \"attende\"-knappane i nettlesaren.", "nn": "Bruk av \"fram\"- og \"attende\"-knappane i nettlesaren.",
......
...@@ -21,6 +21,9 @@ msgstr "PHP info" ...@@ -21,6 +21,9 @@ msgstr "PHP info"
msgid "{core:no_state:report_text}" msgid "{core:no_state:report_text}"
msgstr "If this problem persists, you can report it to the system administrators." msgstr "If this problem persists, you can report it to the system administrators."
msgid "{core:no_state:cause_badlink}"
msgstr "The link used to get here was bad, perhaps a bookmark."
msgid "{core:no_state:cause_backforward}" msgid "{core:no_state:cause_backforward}"
msgstr "Using the back and forward buttons in the web browser." msgstr "Using the back and forward buttons in the web browser."
...@@ -81,6 +84,9 @@ msgstr "Sanity check of your SimpleSAMLphp setup" ...@@ -81,6 +84,9 @@ msgstr "Sanity check of your SimpleSAMLphp setup"
msgid "{core:frontpage:link_diagnostics}" msgid "{core:frontpage:link_diagnostics}"
msgstr "Diagnostics on hostname, port and protocol" msgstr "Diagnostics on hostname, port and protocol"
msgid "{core:no_state:suggestion_badlink}"
msgstr "Check that the link you used to access the web site is correct."
msgid "{core:no_state:suggestion_goback}" msgid "{core:no_state:suggestion_goback}"
msgstr "Go back to the previous page and try again." msgstr "Go back to the previous page and try again."
......
...@@ -60,6 +60,9 @@ msgstr "Installatie van SimpleSAMLphp" ...@@ -60,6 +60,9 @@ msgstr "Installatie van SimpleSAMLphp"
msgid "{core:frontpage:link_diagnostics}" msgid "{core:frontpage:link_diagnostics}"
msgstr "Inspectie op hostnaam, poort en protocol" msgstr "Inspectie op hostnaam, poort en protocol"
msgid "{core:no_state:suggestion_badlink}"
msgstr "Controleer of u de juiste link gebruikt om de website te benaderen."
msgid "{core:no_state:suggestion_goback}" msgid "{core:no_state:suggestion_goback}"
msgstr "Ga terug naar de vorige pagina, en probeer opnieuw." msgstr "Ga terug naar de vorige pagina, en probeer opnieuw."
...@@ -211,6 +214,9 @@ msgstr "Federatie" ...@@ -211,6 +214,9 @@ msgstr "Federatie"
msgid "{core:frontpage:required_radius}" msgid "{core:frontpage:required_radius}"
msgstr "Vereist voor Radius" msgstr "Vereist voor Radius"
msgid "{core:no_state:cause_badlink}"
msgstr "Verkeerde link gebruikt, bijvoorbeeld een bookmark (bladwijzer)."
msgid "{core:no_state:cause_openbrowser}" msgid "{core:no_state:cause_openbrowser}"
msgstr "Web browser geopend met tabs opgeslagen van de vorige sessie." msgstr "Web browser geopend met tabs opgeslagen van de vorige sessie."
......
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
echo '<h3>'.$this->t('{core:no_state:suggestions}').'</h3>'; echo '<h3>'.$this->t('{core:no_state:suggestions}').'</h3>';
echo '<ul>'; echo '<ul>';
echo '<li>'.$this->t('{core:no_state:suggestion_badlink}').'</li>';
echo '<li>'.$this->t('{core:no_state:suggestion_goback}').'</li>'; echo '<li>'.$this->t('{core:no_state:suggestion_goback}').'</li>';
echo '<li>'.$this->t('{core:no_state:suggestion_closebrowser}').'</li>'; echo '<li>'.$this->t('{core:no_state:suggestion_closebrowser}').'</li>';
echo '</ul>'; echo '</ul>';
echo '<h3>'.$this->t('{core:no_state:causes}').'</h3>'; echo '<h3>'.$this->t('{core:no_state:causes}').'</h3>';
echo '<ul>'; echo '<ul>';
echo '<li>'.$this->t('{core:no_state:cause_badlink}').'</li>';
echo '<li>'.$this->t('{core:no_state:cause_backforward}').'</li>'; echo '<li>'.$this->t('{core:no_state:cause_backforward}').'</li>';
echo '<li>'.$this->t('{core:no_state:cause_openbrowser}').'</li>'; echo '<li>'.$this->t('{core:no_state:cause_openbrowser}').'</li>';
echo '<li>'.$this->t('{core:no_state:cause_nocookie}').'</li>'; echo '<li>'.$this->t('{core:no_state:cause_nocookie}').'</li>';
......
<h3>{{ '{core:no_state:suggestions}'|trans }}</h3> <h3>{{ '{core:no_state:suggestions}'|trans }}</h3>
<ul> <ul>
<li>{{ '{core:no_state:suggestion_badlink}'|trans }}</li>
<li>{{ '{core:no_state:suggestion_goback}'|trans }}</li> <li>{{ '{core:no_state:suggestion_goback}'|trans }}</li>
<li>{{ '{core:no_state:suggestion_closebrowser}'|trans }}</li> <li>{{ '{core:no_state:suggestion_closebrowser}'|trans }}</li>
</ul> </ul>
<h3>{{ '{core:no_state:causes}'|trans }}</h3> <h3>{{ '{core:no_state:causes}'|trans }}</h3>
<ul> <ul>
<li>{{ '{core:no_state:cause_badlink}'|trans }}</li>
<li>{{ '{core:no_state:cause_backforward}'|trans }}</li> <li>{{ '{core:no_state:cause_backforward}'|trans }}</li>
<li>{{ '{core:no_state:cause_openbrowser}'|trans }}</li> <li>{{ '{core:no_state:cause_openbrowser}'|trans }}</li>
<li>{{ '{core:no_state:cause_nocookie}'|trans }}</li> <li>{{ '{core:no_state:cause_nocookie}'|trans }}</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment