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

@ -25,14 +25,14 @@ if ($_GET['type'] == 'udir') $udir = escapeshellarg($_GET['object']);
if (!empty($_GET['type'])) {
exec (VESTA_CMD."v-schedule-user-restore ".$user." ".$backup." ".$web." ".$dns." ".$mail." ".$db." ".$cron." ".$udir, $output, $return_var);
if ($return_var == 0) {
$_SESSION['restore_msg'] = _('RESTORE_SCHEDULED');
$_SESSION['restore_msg'] = __('RESTORE_SCHEDULED');
} else {
$_SESSION['restore_msg'] = implode('<br>', $output);
if (empty($_SESSION['restore_msg'])) {
$_SESSION['restore_msg'] = _('Error: vesta did not return any output.');
$_SESSION['restore_msg'] = __('Error: vesta did not return any output.');
}
if ($return_var == 4) {
$_SESSION['restore_msg'] = _('RESTORE_EXISTS');
$_SESSION['restore_msg'] = __('RESTORE_EXISTS');
}
}
}