diff options
author | Marc Delisle <marc@infomarc.info> | 2012-03-07 17:24:43 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2012-03-07 17:24:43 +0400 |
commit | 454047a121afa20fa2f00cb2bb14094baa297d8e (patch) | |
tree | a416ec94402e8821baa1d399f035c07357e1a6c0 /server_privileges.php | |
parent | b33fb924d2e333caf3177832fa4d93e828108048 (diff) |
These should be translatable
Diffstat (limited to 'server_privileges.php')
-rw-r--r-- | server_privileges.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/server_privileges.php b/server_privileges.php index a2137880f2..bb9bda868c 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -9,12 +9,6 @@ * */ require_once './libraries/common.inc.php'; -if (! defined('ALL_USERS')) { - define("ALL_USERS", "All Users"); -} -if (! defined('ALL_DB')) { - define("ALL_DB", "All Databases"); -} /** * Does the common work @@ -1593,7 +1587,7 @@ if (isset($viewing_mode) && $viewing_mode == 'db') { // export user definition if (isset($_REQUEST['export'])) { $response = '<textarea cols="' . $GLOBALS['cfg']['TextareaCols'] . '" rows="' . $GLOBALS['cfg']['TextareaRows'] . '">'; - if (! strcmp(htmlspecialchars($username), ALL_USERS)) { + if (! strcmp(htmlspecialchars($username), __('All users'))) { // export privileges for all users $title = __('Privileges for ') . htmlspecialchars($username) . ' @ ' . htmlspecialchars($hostname); foreach ($_SESSION['user_host_pairs'] as $pair) { @@ -1834,7 +1828,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs . '</div>' . '<div class="clear_both" style="clear:both"></div>' . '<div style="float:left; padding-left:10px;">'; - printf($link_export_all, urlencode(ALL_USERS), urlencode(ALL_DB), (isset($initial) ? $initial : '')); + printf($link_export_all, urlencode(__('All users')), urlencode(__('All databases')), (isset($initial) ? $initial : '')); echo '</div>' . '</div>' . '<div class="clear_both" style="clear:both"></div>' |