From 28c87268345a3e52cd1f79e09b4985d763d9be62 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Wed, 22 Jun 2016 11:26:50 +0200 Subject: [PATCH] Added some translation handles to wizard buttons --- pandora_console/general/login_identification_wizard.php | 8 ++++---- pandora_console/general/login_required.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pandora_console/general/login_identification_wizard.php b/pandora_console/general/login_identification_wizard.php index 9918d3299f..76191459cd 100644 --- a/pandora_console/general/login_identification_wizard.php +++ b/pandora_console/general/login_identification_wizard.php @@ -154,11 +154,11 @@ echo '
'; echo '
'; - html_print_submit_button("Finish", 'finish_dialog_button', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok" style="width:100px;"'); + html_print_submit_button(__("Finish"), 'finish_dialog_button', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok" style="width:100px;"'); echo '
'; $display_status_return = $return_button ? 'block' : 'none'; echo '
'; - html_print_submit_button("Return", 'return_dialog_button', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub upd" style="width:100px;"'); + html_print_submit_button(__("Return"), 'return_dialog_button', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub upd" style="width:100px;"'); echo '
'; echo '
'; html_print_checkbox('register', 1, false, false, false, 'cursor: \'pointer\''); @@ -182,10 +182,10 @@ echo '
'; echo '
'; - html_print_submit_button("No", 'no_registration', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub cancel" style="width:100px;"'); + html_print_submit_button(__("No"), 'no_registration', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub cancel" style="width:100px;"'); echo '
'; echo '
'; - html_print_submit_button("Yes", 'yes_registration', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub upd" style="width:100px;"'); + html_print_submit_button(__("Yes"), 'yes_registration', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub upd" style="width:100px;"'); echo '
'; echo '
'; diff --git a/pandora_console/general/login_required.php b/pandora_console/general/login_required.php index 87367facb4..7657cb9f4d 100644 --- a/pandora_console/general/login_required.php +++ b/pandora_console/general/login_required.php @@ -116,7 +116,7 @@ echo '
'; echo '
'; - html_print_submit_button("Register", 'id_dialog_button', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok" style="width:100px;"'); + html_print_submit_button(__("Register"), 'id_dialog_button', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok" style="width:100px;"'); echo '
'; echo '