Portal: Added a "Reload page" button on the error page.

SVN:trunk[4753]
This commit is contained in:
Guillaume Lajarige
2017-05-31 08:55:48 +00:00
parent 602be73d0b
commit 98b4a0178f
8 changed files with 10 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'Page:Home' => 'Domů',
'Page:GoPortalHome' => 'Domů',
'Page:GoPreviousPage' => 'Předchozí stránka',
'Page:ReloadPage' => 'Reload page~~',
'Portal:Button:Submit' => 'Odeslat',
'Portal:Button:Apply' => 'Update~~',
'Portal:Button:Cancel' => 'Zrušit',

View File

@@ -31,6 +31,7 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'Page:Home' => 'Start',
'Page:GoPortalHome' => 'Startseite',
'Page:GoPreviousPage' => 'vorherige Seite',
'Page:ReloadPage' => 'Reload page~~',
'Portal:Button:Submit' => 'Abschicken',
'Portal:Button:Apply' => 'Update~~',
'Portal:Button:Cancel' => 'Zurück',

View File

@@ -30,6 +30,7 @@ Dict::Add('EN US', 'English', 'English', array(
'Page:Home' => 'Home',
'Page:GoPortalHome' => 'Home page',
'Page:GoPreviousPage' => 'Previous page',
'Page:ReloadPage' => 'Reload page',
'Portal:Button:Submit' => 'Submit',
'Portal:Button:Apply' => 'Update',
'Portal:Button:Cancel' => 'Cancel',

View File

@@ -30,6 +30,7 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Page:Home' => 'Bienvenido',
'Page:GoPortalHome' => 'Regresar a bienvenida',
'Page:GoPreviousPage' => 'página anterior',
'Page:ReloadPage' => 'Reload page~~',
'Portal:Button:Submit' => 'Enviar',
'Portal:Button:Apply' => 'Update~~',
'Portal:Button:Cancel' => 'Cancelar',

View File

@@ -30,6 +30,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Page:Home' => 'Accueil',
'Page:GoPortalHome' => 'Revenir à l\'accueil',
'Page:GoPreviousPage' => 'Page précédente',
'Page:ReloadPage' => 'Recharger la page',
'Portal:Button:Submit' => 'Valider',
'Portal:Button:Apply' => 'Mettre à jour',
'Portal:Button:Cancel' => 'Annuler',

View File

@@ -30,6 +30,7 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Page:Home' => 'Welkom',
'Page:GoPortalHome' => 'Startpagina',
'Page:GoPreviousPage' => 'Vorige pagina',
'Page:ReloadPage' => 'Reload page~~',
'Portal:Button:Submit' => 'Verstuur',
'Portal:Button:Apply' => 'Update~~',
'Portal:Button:Cancel' => 'Afbreken',

View File

@@ -35,8 +35,9 @@
<p>{{ error_message }}</p>
<p>{{ 'Error:HTTP:GetHelp'|dict_s }}</p>
<p>
<a class="btn btn-default btn-lg" href="#" onclick="history.back(); return false;">{{ 'Page:GoPreviousPage'|dict_s }}</a>
<a class="btn btn-default btn-lg" href="{{ app.url_generator.generate('p_home') }}">{{ 'Page:GoPortalHome'|dict_s }}</a>
<a class="btn btn-default btn" href="#" onclick="history.back(); return false;">{{ 'Page:GoPreviousPage'|dict_s }}</a>
<a class="btn btn-default btn" href="">{{ 'Page:ReloadPage'|dict_s }}</a>
<a class="btn btn-default btn" href="{{ app.url_generator.generate('p_home') }}">{{ 'Page:GoPortalHome'|dict_s }}</a>
</p>
</div>
</div>

View File

@@ -17,6 +17,7 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'Page:Home' => 'Домашняя страница',
'Page:GoPortalHome' => 'Домашняя страница',
'Page:GoPreviousPage' => 'Предыдущяя страница',
'Page:ReloadPage' => 'Reload page~~',
'Portal:Button:Submit' => 'Применить',
'Portal:Button:Apply' => 'Update~~',
'Portal:Button:Cancel' => 'Отменить',