Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 8504b92

Browse files
committed
Dictionary update
1 parent e2f237f commit 8504b92

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

dictionaries/perun.definition.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,13 @@
5454
"organization": {
5555
"en": "Organization / Virtual Organization ",
5656
"cs": "Organizace / Virtuální organizace "
57+
},
58+
"unsupported_redirection": {
59+
"en": "Unsupported redirection",
60+
"cs": "Nepodporované přesměrování"
61+
},
62+
"go_back": {
63+
"en": "Go back to ",
64+
"cs": "Vraťte se zpět na "
5765
}
5866
}

www/protected/reportIdp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
$email->send();
6363
}
6464

65-
echo '<h1>Unssuported redirection</h1>';
65+
echo '<h1>' . $this->t('{perun:perun:unsupported_redirection}') . '</h1>';
6666

67-
echo "Go back to <a href='{$_POST['redirectUri']}'>{$_POST['redirectUri']}</a>";
67+
echo $this->t('{perun:perun:go_back}') . "<a href='{$_POST['redirectUri']}'>{$_POST['redirectUri']}</a>";
6868

6969
// redirect the user back
7070
\SimpleSAML\Utils\HTTP::redirectTrustedURL($_POST['redirectUri'], array('mailSended' => true));

0 commit comments

Comments
 (0)