Skip to content

Commit 422d552

Browse files
committed
Translation fixes 1
1 parent a2d33b7 commit 422d552

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

web/add/db/index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@
6666
$_SESSION['error_msg'] = $error;
6767
unset($v_password);
6868
unset($output);
69-
} else {
69+
}
70+
else {
7071
if (empty($v_notify)) {
7172
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]);
7273
if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
@@ -93,6 +94,7 @@
9394
}
9495
}
9596
}
97+
}
9698
exec (VESTA_CMD."v-list-database-types 'json'", $output, $return_var);
9799
$db_types = json_decode(implode('', $output), true);
98100
unset($output);

web/inc/i18n/en.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@
340340
'SERVICE_ACTION_FAILED'=>'Error: Oparaion "%s" for service "%s" has been failed',
341341
'Memory Usage'=>'Memory Usage',
342342
'Bandwidth Usage'=>'Bandwidth Usage',
343+
'IP Address'=>'IP Address',
344+
'Accounts'=>'Accounts',
343345
);
344346

345347
/*error_reporting(E_ALL);

web/inc/i18n/ru.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
'DOMAIN_CREATED_OK'=>'Успех: Домен <a href="/list/dns/?domain=%s"><b>%s</b></a> успешно создан.',
3939
'RECORD_CREATED_OK'=>'Успех: Запись <b>%s.%s</b> успешно создана.',
4040
'ip address'=>'IP-адрес',
41+
'IP Address'=>'IP-адрес',
4142
'netmask'=>'маска подсети',
4243
'Netmask'=>'Маска подсети',
4344
'interface'=>'интерфейс',
@@ -63,6 +64,7 @@
6364
'dns records'=>'DNS записи',
6465
'mail domains'=>'домены с почтой',
6566
'mail accounts'=>'почтовые аккаунты',
67+
'Accounts'=>'Аккаунты',
6668
'Mail Domains'=>'Домены с Почтой',
6769
'Mail Accounts'=>'Почтовые Аккаунты',
6870
'accounts'=>'аккаунты',
@@ -177,7 +179,7 @@
177179
'Packages'=>'Пакеты',
178180
'IP Addresses'=>'IP адреса',
179181
'RRD Graphics'=>'Графики',
180-
'jobs'=>'Задания',
182+
'jobs'=>'задания',
181183
'Reset Code'=>'Код сброса',
182184
'disk'=>'место',
183185
'Disk'=>'Место',

web/templates/admin/add_web.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
</tr>
265265
<tr>
266266
<td class="vst-text" style="padding: 10px 0 0 2px;">
267-
<?php print _('Statisitcs');?>
267+
<?php print _('Statistics');?>
268268
</td>
269269
</tr>
270270
<tr>
@@ -286,7 +286,7 @@
286286
</tr>
287287
<tr>
288288
<td class="vst-text" style="padding: 10px 0 0 2px;">
289-
<?php print _('Statisitcs Authorization');?>
289+
<?php print _('Statistics Authorization');?>
290290
</td>
291291
</tr>
292292
<tr>

web/templates/admin/edit_mail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<table class="data-col1">
3434
<tr><td style="padding: 24px 0 2px 4px;"><a class="data-date" ?><?php echo date("d M Y", strtotime($v_date))?></a></td></tr>
3535
<tr><td style="padding: 0 0 6px 4px;"><a class="data-date" ?><?php echo $v_time?></a></td></tr>
36-
<tr><td style="padding: 0 0 0 21px;" class="data-<?php echo $v_status ?>"><b><?php echo $v_status ?></b></td></tr>
36+
<tr><td style="padding: 0 0 0 21px;" class="data-<?php echo $v_status ?>"><b><?php echo _($v_status); ?></b></td></tr>
3737
</table>
3838
</td>
3939
<td class="data-dotted" width="830px" style="vertical-align:top;">

web/templates/admin/list_user.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<td class="data-controls" width="70px">
7272
<?php
7373
if ($key == $user) {
74-
echo "<a href=\"/logout/\"><img src=\"/images/login-as.png\" width=\"7px\" height=\"8px\"> <?php print _('logout');?></a>";
74+
echo "<a href=\"/logout/\"><img src=\"/images/login-as.png\" width=\"7px\" height=\"8px\"> ". _('logout')."</a>";
7575
if (!empty($_SESSION['look_alert'])) {
7676
?>
7777
<script type="text/javascript">

web/templates/user/add_web.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
</tr>
255255
<tr>
256256
<td class="vst-text" style="padding: 10px 0 0 2px;">
257-
<?php print _('Statisitcs');?>
257+
<?php print _('Statistics');?>
258258
</td>
259259
</tr>
260260
<tr>
@@ -276,7 +276,7 @@
276276
</tr>
277277
<tr>
278278
<td class="vst-text" style="padding: 10px 0 0 2px;">
279-
<?php print _('Statisitcs Authorization');?>
279+
<?php print _('Statistics Authorization');?>
280280
</td>
281281
</tr>
282282
<tr>

0 commit comments

Comments
 (0)