changed tranlsate function name from _() to __()

This commit is contained in:
Serghey Rodin 2013-04-25 21:33:43 +03:00
commit 25c2b5c4cb
104 changed files with 1277 additions and 1277 deletions

View file

@ -28,7 +28,7 @@ $v_job = escapeshellarg($_GET['job']);
exec (VESTA_CMD."v-list-cron-job ".$user." ".$v_job." 'json'", $output, $return_var);
if ($return_var != 0) {
$error = implode('<br>', $output);
if (empty($error)) $error = _('Error code:',$return_var);
if (empty($error)) $error = __('Error code:',$return_var);
$_SESSION['error_msg'] = $error;
} else {
$data = json_decode(implode('', $output), true);
@ -64,14 +64,14 @@ if ($return_var != 0) {
exec (VESTA_CMD."v-change-cron-job ".$v_username." ".$v_job." ".$v_min." ".$v_hour." ".$v_day." ".$v_month." ".$v_wday." ".$v_cmd, $output, $return_var);
if ($return_var != 0) {
$error = implode('<br>', $output);
if (empty($error)) $error = _('Error code:',$return_var);
if (empty($error)) $error = __('Error code:',$return_var);
$_SESSION['error_msg'] = $error;
}
unset($output);
$v_cmd = $_POST['v_cmd'];
}
if (empty($_SESSION['error_msg'])) {
$_SESSION['ok_msg'] = _("Changes has been saved.");
$_SESSION['ok_msg'] = __("Changes has been saved.");
}
}
}