diff options
author | rub <rub@piwigo.org> | 2008-01-30 22:16:01 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-01-30 22:16:01 +0000 |
commit | 7bb12f4f481639547b7aabd38eb044eb1f942c66 (patch) | |
tree | 5e175322389e678094ea0cae3a12c07e062d0a79 /admin/ws_checker.php | |
parent | 49b663ecec19a8b12f4986c2c2e8f193e2802366 (diff) |
Replace old use of $lang by l10n function.
Merge BSF 2200:2201 into branch-1_7
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2202 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/ws_checker.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/admin/ws_checker.php b/admin/ws_checker.php index cec12d4e9..6a5efb4fc 100644 --- a/admin/ws_checker.php +++ b/admin/ws_checker.php @@ -157,7 +157,7 @@ VALUES (' . " $template->assign_block_vars( 'update_result', array( - 'UPD_ELEMENT'=> $lang['ws_adding_legend'].$lang['ws_success_upd'], + 'UPD_ELEMENT'=> l10n('ws_adding_legend').l10n('ws_success_upd'), ) ); } @@ -179,14 +179,14 @@ if (isset($_POST['wsu_submit'])) $template->assign_block_vars( 'update_result', array( - 'UPD_ELEMENT'=> $lang['ws_update_legend'].$lang['ws_success_upd'], + 'UPD_ELEMENT'=> l10n('ws_update_legend').l10n('ws_success_upd'), ) ); } else { $template->assign_block_vars( 'update_result', array( - 'UPD_ELEMENT'=> $lang['ws_update_legend'].$lang['ws_failed_upd'], + 'UPD_ELEMENT'=> l10n('ws_update_legend').l10n('ws_failed_upd'), ) ); } @@ -205,15 +205,15 @@ if (isset($_POST['wsX_submit'])) $template->assign_block_vars( 'update_result', array( - 'UPD_ELEMENT'=> $lang['ws_delete_legend'].$lang['ws_success_upd'], + 'UPD_ELEMENT'=> l10n('ws_delete_legend').l10n('ws_success_upd'), ) ); } else { $template->assign_block_vars( 'update_result', array( - 'UPD_ELEMENT'=> $lang['Not selected / Not confirmed'] - .$lang['ws_failed_upd'], + 'UPD_ELEMENT'=> l10n('Not selected / Not confirmed') + .l10n('ws_failed_upd'), ) ); } |