diff --git a/web/inc/i18n/ru.php b/web/inc/i18n/ru.php index bac42dd83..2cc2f30da 100644 --- a/web/inc/i18n/ru.php +++ b/web/inc/i18n/ru.php @@ -470,4 +470,18 @@ $LANG['ru'] = array( 'RESET_CODE_SENT' => 'Код для восстановления пароля был выслан на ваш электронный адрес.
', 'MAIL_RESET_SUBJECT' => 'Восстановление пароля %s', 'PASSWORD_RESET_REQUEST'=>"Чтобы восстановить пароль, пройдите по ссылке:\nhttps://%s/reset/?action=confirm&user=%s&code=%s\n\nВы также можете октрыть страницу https://%s/reset/?action=code&user=%s и вручную ввести код для восстановления:\n%s\n\nЕсли вы не запрашивали процедуру восстановления пароля, пожалуйста проигнорируйте это письмо и примите наши извинения.\n\n--\nПанель управления Vesta\n", + + 'Jan' => 'Янв', + 'Feb' => 'Фев', + 'Mar' => 'Мар', + 'Apr' => 'Апр', + 'May' => 'Май', + 'Jun' => 'Июн', + 'Jul' => 'Июл', + 'Aug' => 'Авг', + 'Sep' => 'Сен', + 'Oct' => 'Окт', + 'Nov' => 'Ноя', + 'Dec' => 'Дек', + ); diff --git a/web/inc/main.php b/web/inc/main.php index 8df32cd59..c7305a6f5 100644 --- a/web/inc/main.php +++ b/web/inc/main.php @@ -134,6 +134,11 @@ function top_panel($user, $TAB) { } } +function translate_date($date){ + $date = strtotime($date); + return strftime("%d  ", $date).__(strftime("%b", $date)).strftime("  %Y", $date); +} + function humanize_time($usage) { if ( $usage > 60 ) { $usage = $usage / 60; diff --git a/web/templates/admin/edit_cron.html b/web/templates/admin/edit_cron.html index ce3b4952b..9fa50fafc 100644 --- a/web/templates/admin/edit_cron.html +++ b/web/templates/admin/edit_cron.html @@ -37,8 +37,8 @@ diff --git a/web/templates/admin/edit_db.html b/web/templates/admin/edit_db.html index 679f84d12..1fcbe9053 100644 --- a/web/templates/admin/edit_db.html +++ b/web/templates/admin/edit_db.html @@ -58,8 +58,8 @@
-
- +
+
diff --git a/web/templates/admin/edit_dns.html b/web/templates/admin/edit_dns.html index 0ed60a2ae..0c20cc949 100644 --- a/web/templates/admin/edit_dns.html +++ b/web/templates/admin/edit_dns.html @@ -38,8 +38,8 @@
-
- +
+
diff --git a/web/templates/admin/edit_dns_rec.html b/web/templates/admin/edit_dns_rec.html index 77188f8d7..a901c8b74 100644 --- a/web/templates/admin/edit_dns_rec.html +++ b/web/templates/admin/edit_dns_rec.html @@ -37,8 +37,8 @@
-
- +
+
diff --git a/web/templates/admin/edit_firewall.html b/web/templates/admin/edit_firewall.html index c03239872..3d0251880 100644 --- a/web/templates/admin/edit_firewall.html +++ b/web/templates/admin/edit_firewall.html @@ -48,8 +48,8 @@
-
- +
+
diff --git a/web/templates/admin/edit_ip.html b/web/templates/admin/edit_ip.html index dcd9d0501..26a88a74a 100644 --- a/web/templates/admin/edit_ip.html +++ b/web/templates/admin/edit_ip.html @@ -48,8 +48,8 @@
-
- +
+
diff --git a/web/templates/admin/edit_mail.html b/web/templates/admin/edit_mail.html index 8e3b911f5..85d514401 100644 --- a/web/templates/admin/edit_mail.html +++ b/web/templates/admin/edit_mail.html @@ -37,8 +37,8 @@
-
- +
+
diff --git a/web/templates/admin/edit_mail_acc.html b/web/templates/admin/edit_mail_acc.html index c2f088c58..7b2507f95 100644 --- a/web/templates/admin/edit_mail_acc.html +++ b/web/templates/admin/edit_mail_acc.html @@ -58,8 +58,8 @@
-
- +
+
diff --git a/web/templates/admin/edit_package.html b/web/templates/admin/edit_package.html index cb35a9acf..6377a0b11 100644 --- a/web/templates/admin/edit_package.html +++ b/web/templates/admin/edit_package.html @@ -37,8 +37,8 @@
-
- +
+
diff --git a/web/templates/admin/edit_user.html b/web/templates/admin/edit_user.html index 27fad5893..b382f474c 100644 --- a/web/templates/admin/edit_user.html +++ b/web/templates/admin/edit_user.html @@ -49,8 +49,8 @@
-
- +
+
diff --git a/web/templates/admin/edit_web.html b/web/templates/admin/edit_web.html index 7a2933937..76655b375 100644 --- a/web/templates/admin/edit_web.html +++ b/web/templates/admin/edit_web.html @@ -71,8 +71,8 @@
-
- +
+
diff --git a/web/templates/admin/list_backup.html b/web/templates/admin/list_backup.html index 50185c99c..13a6e9ed8 100644 --- a/web/templates/admin/list_backup.html +++ b/web/templates/admin/list_backup.html @@ -97,7 +97,7 @@
- +
diff --git a/web/templates/admin/list_cron.html b/web/templates/admin/list_cron.html index a4ce01b69..5ca43c9c9 100644 --- a/web/templates/admin/list_cron.html +++ b/web/templates/admin/list_cron.html @@ -114,7 +114,7 @@
- +
diff --git a/web/templates/admin/list_db.html b/web/templates/admin/list_db.html index c8bb38397..030085be6 100644 --- a/web/templates/admin/list_db.html +++ b/web/templates/admin/list_db.html @@ -139,7 +139,7 @@
- +
diff --git a/web/templates/admin/list_dns.html b/web/templates/admin/list_dns.html index 03d0b239b..259b14bcc 100644 --- a/web/templates/admin/list_dns.html +++ b/web/templates/admin/list_dns.html @@ -100,7 +100,7 @@
- +
@@ -145,7 +145,7 @@
:
- +
diff --git a/web/templates/admin/list_ip.html b/web/templates/admin/list_ip.html index 6f1406239..44af79aa0 100644 --- a/web/templates/admin/list_ip.html +++ b/web/templates/admin/list_ip.html @@ -83,7 +83,7 @@
- +
diff --git a/web/templates/admin/list_log.html b/web/templates/admin/list_log.html index 38acb0590..d0673da39 100644 --- a/web/templates/admin/list_log.html +++ b/web/templates/admin/list_log.html @@ -47,7 +47,7 @@
- +
diff --git a/web/templates/admin/list_mail.html b/web/templates/admin/list_mail.html index 76a2f6e47..94bb2c41b 100644 --- a/web/templates/admin/list_mail.html +++ b/web/templates/admin/list_mail.html @@ -121,7 +121,7 @@
- +
diff --git a/web/templates/admin/list_mail_acc.html b/web/templates/admin/list_mail_acc.html index c739c9de1..df25e6255 100644 --- a/web/templates/admin/list_mail_acc.html +++ b/web/templates/admin/list_mail_acc.html @@ -118,7 +118,7 @@
- +
diff --git a/web/templates/admin/list_packages.html b/web/templates/admin/list_packages.html index a5d800c10..4f6fdf5ef 100644 --- a/web/templates/admin/list_packages.html +++ b/web/templates/admin/list_packages.html @@ -81,7 +81,7 @@
- +
diff --git a/web/templates/admin/list_rrd.html b/web/templates/admin/list_rrd.html index a4fd0e53c..81cf86377 100644 --- a/web/templates/admin/list_rrd.html +++ b/web/templates/admin/list_rrd.html @@ -82,7 +82,7 @@
- +
diff --git a/web/templates/admin/list_search.html b/web/templates/admin/list_search.html index f9dfb5802..08e170447 100644 --- a/web/templates/admin/list_search.html +++ b/web/templates/admin/list_search.html @@ -193,7 +193,7 @@
- +
diff --git a/web/templates/admin/list_stats.html b/web/templates/admin/list_stats.html index 32462c63a..f0ee1d238 100644 --- a/web/templates/admin/list_stats.html +++ b/web/templates/admin/list_stats.html @@ -72,13 +72,13 @@
- +
- +
diff --git a/web/templates/admin/list_user.html b/web/templates/admin/list_user.html index 59b8e8bad..3d849a240 100644 --- a/web/templates/admin/list_user.html +++ b/web/templates/admin/list_user.html @@ -140,7 +140,7 @@
- +
diff --git a/web/templates/admin/list_web.html b/web/templates/admin/list_web.html index 5d8befa4f..dc8f37641 100644 --- a/web/templates/admin/list_web.html +++ b/web/templates/admin/list_web.html @@ -158,7 +158,7 @@
- +
diff --git a/web/templates/user/edit_dns.html b/web/templates/user/edit_dns.html index 1a547d990..3466228ef 100644 --- a/web/templates/user/edit_dns.html +++ b/web/templates/user/edit_dns.html @@ -37,8 +37,8 @@
-
- +
+
diff --git a/web/templates/user/edit_user.html b/web/templates/user/edit_user.html index 9f9038acf..aff17cabf 100644 --- a/web/templates/user/edit_user.html +++ b/web/templates/user/edit_user.html @@ -49,8 +49,8 @@
-
- +
+
diff --git a/web/templates/user/edit_web.html b/web/templates/user/edit_web.html index 0fc65bafe..484d0c61f 100644 --- a/web/templates/user/edit_web.html +++ b/web/templates/user/edit_web.html @@ -71,8 +71,8 @@
-
- +
+
diff --git a/web/templates/user/list_cron.html b/web/templates/user/list_cron.html index 7565d80b1..6f7fd9dcb 100644 --- a/web/templates/user/list_cron.html +++ b/web/templates/user/list_cron.html @@ -114,7 +114,7 @@
- +
diff --git a/web/templates/user/list_db.html b/web/templates/user/list_db.html index e5ecd3335..1901a2d42 100644 --- a/web/templates/user/list_db.html +++ b/web/templates/user/list_db.html @@ -140,7 +140,7 @@
- +
diff --git a/web/templates/user/list_dns.html b/web/templates/user/list_dns.html index 7d7350d4d..e759970ef 100644 --- a/web/templates/user/list_dns.html +++ b/web/templates/user/list_dns.html @@ -100,7 +100,7 @@
- +
@@ -145,7 +145,7 @@
:
- +
diff --git a/web/templates/user/list_mail.html b/web/templates/user/list_mail.html index 58e48a970..fc5b037bd 100644 --- a/web/templates/user/list_mail.html +++ b/web/templates/user/list_mail.html @@ -121,7 +121,7 @@
- +
diff --git a/web/templates/user/list_mail_acc.html b/web/templates/user/list_mail_acc.html index 817b24055..cf1b23c5b 100644 --- a/web/templates/user/list_mail_acc.html +++ b/web/templates/user/list_mail_acc.html @@ -117,7 +117,7 @@
- +
diff --git a/web/templates/user/list_search.html b/web/templates/user/list_search.html index b60ea695c..59495fd8f 100644 --- a/web/templates/user/list_search.html +++ b/web/templates/user/list_search.html @@ -193,7 +193,7 @@
- +
diff --git a/web/templates/user/list_stats.html b/web/templates/user/list_stats.html index eb99dcb02..fe5b92a2e 100644 --- a/web/templates/user/list_stats.html +++ b/web/templates/user/list_stats.html @@ -72,13 +72,13 @@
- +
- +
diff --git a/web/templates/user/list_user.html b/web/templates/user/list_user.html index e12c3f0ad..5dd9887fe 100644 --- a/web/templates/user/list_user.html +++ b/web/templates/user/list_user.html @@ -140,7 +140,7 @@
- +
diff --git a/web/templates/user/list_web.html b/web/templates/user/list_web.html index c200f7da3..e0fcd246d 100644 --- a/web/templates/user/list_web.html +++ b/web/templates/user/list_web.html @@ -159,7 +159,7 @@
- +
-
- +
+