1
0
mirror of https://github.com/serghey-rodin/vesta.git synced 2025-03-12 04:36:25 -07:00

Translation fixes 1

This commit is contained in:
ZonD Eighty 2013-01-16 17:03:41 +04:00
parent a2d33b72ec
commit 422d552cc8
7 changed files with 14 additions and 8 deletions

@ -66,7 +66,8 @@ if (!empty($_POST['ok'])) {
$_SESSION['error_msg'] = $error;
unset($v_password);
unset($output);
} else {
}
else {
if (empty($v_notify)) {
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]);
if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
@ -93,6 +94,7 @@ if (!empty($_POST['ok'])) {
}
}
}
}
exec (VESTA_CMD."v-list-database-types 'json'", $output, $return_var);
$db_types = json_decode(implode('', $output), true);
unset($output);

@ -340,6 +340,8 @@ $LANG = array(
'SERVICE_ACTION_FAILED'=>'Error: Oparaion "%s" for service "%s" has been failed',
'Memory Usage'=>'Memory Usage',
'Bandwidth Usage'=>'Bandwidth Usage',
'IP Address'=>'IP Address',
'Accounts'=>'Accounts',
);
/*error_reporting(E_ALL);

@ -38,6 +38,7 @@ $LANG = array(
'DOMAIN_CREATED_OK'=>'Успех: Домен <a href="/list/dns/?domain=%s"><b>%s</b></a> успешно создан.',
'RECORD_CREATED_OK'=>'Успех: Запись <b>%s.%s</b> успешно создана.',
'ip address'=>'IP-адрес',
'IP Address'=>'IP-адрес',
'netmask'=>'маска подсети',
'Netmask'=>'Маска подсети',
'interface'=>'интерфейс',
@ -63,6 +64,7 @@ $LANG = array(
'dns records'=>'DNS записи',
'mail domains'=>'домены с почтой',
'mail accounts'=>'почтовые аккаунты',
'Accounts'=>'Аккаунты',
'Mail Domains'=>'Домены с Почтой',
'Mail Accounts'=>'Почтовые Аккаунты',
'accounts'=>'аккаунты',
@ -177,7 +179,7 @@ $LANG = array(
'Packages'=>'Пакеты',
'IP Addresses'=>'IP адреса',
'RRD Graphics'=>'Графики',
'jobs'=>'Задания',
'jobs'=>'задания',
'Reset Code'=>'Код сброса',
'disk'=>'место',
'Disk'=>'Место',

@ -264,7 +264,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Statisitcs');?>
<?php print _('Statistics');?>
</td>
</tr>
<tr>
@ -286,7 +286,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Statisitcs Authorization');?>
<?php print _('Statistics Authorization');?>
</td>
</tr>
<tr>

@ -33,7 +33,7 @@
<table class="data-col1">
<tr><td style="padding: 24px 0 2px 4px;"><a class="data-date" ?><?php echo date("d M Y", strtotime($v_date))?></a></td></tr>
<tr><td style="padding: 0 0 6px 4px;"><a class="data-date" ?><?php echo $v_time?></a></td></tr>
<tr><td style="padding: 0 0 0 21px;" class="data-<?php echo $v_status ?>"><b><?php echo $v_status ?></b></td></tr>
<tr><td style="padding: 0 0 0 21px;" class="data-<?php echo $v_status ?>"><b><?php echo _($v_status); ?></b></td></tr>
</table>
</td>
<td class="data-dotted" width="830px" style="vertical-align:top;">

@ -71,7 +71,7 @@
<td class="data-controls" width="70px">
<?php
if ($key == $user) {
echo "<a href=\"/logout/\"><img src=\"/images/login-as.png\" width=\"7px\" height=\"8px\"> <?php print _('logout');?></a>";
echo "<a href=\"/logout/\"><img src=\"/images/login-as.png\" width=\"7px\" height=\"8px\"> ". _('logout')."</a>";
if (!empty($_SESSION['look_alert'])) {
?>
<script type="text/javascript">

@ -254,7 +254,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Statisitcs');?>
<?php print _('Statistics');?>
</td>
</tr>
<tr>
@ -276,7 +276,7 @@
</tr>
<tr>
<td class="vst-text" style="padding: 10px 0 0 2px;">
<?php print _('Statisitcs Authorization');?>
<?php print _('Statistics Authorization');?>
</td>
</tr>
<tr>