mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Merge branch 'master' of https://github.com/serghey-rodin/vesta
This commit is contained in:
commit
40d8f2c0df
13 changed files with 213 additions and 105 deletions
|
@ -65,10 +65,13 @@ echo "$user:$password" | /usr/sbin/chpasswd
|
|||
mkdir $HOMEDIR/$user/conf
|
||||
|
||||
if [ ! -z "$WEB_SYSTEM" ]; then
|
||||
nginxuser=$(ps -eo user,comm|grep nginx|uniq|grep -v "root"|awk '{ print $1}')
|
||||
mkdir $HOMEDIR/$user/conf/web $HOMEDIR/$user/web $HOMEDIR/$user/tmp
|
||||
chmod 751 $HOMEDIR/$user/conf/web $HOMEDIR/$user/web
|
||||
chmod 771 $HOMEDIR/$user/tmp
|
||||
chown $user:$user $HOMEDIR/$user/web $HOMEDIR/$user/tmp
|
||||
chmod 751 $HOMEDIR/$user/conf/web
|
||||
chmod 710 $HOMEDIR/$user/web
|
||||
chmod 700 $HOMEDIR/$user/tmp
|
||||
chown $user:$nginxuser $HOMEDIR/$user/web
|
||||
chown $user:$user $HOMEDIR/$user/tmp
|
||||
fi
|
||||
|
||||
if [ ! -z "$MAIL_SYSTEM" ]; then
|
||||
|
|
|
@ -27,7 +27,7 @@ json_list() {
|
|||
echo -n ' "'$ID'": {
|
||||
"CMD": "'$CMD'",
|
||||
"UNDO": "'$UNDO'",
|
||||
"DATE": "'$DATE'",
|
||||
"TIME": "'$TIME'",
|
||||
"DATE": "'$DATE'"
|
||||
}'
|
||||
if [ "$i" -lt "$objects" ]; then
|
||||
|
|
91
bin/v-update-web-domain-ssl
Normal file
91
bin/v-update-web-domain-ssl
Normal file
|
@ -0,0 +1,91 @@
|
|||
#!/bin/bash
|
||||
# info: updating ssl certificate for domain
|
||||
# options: USER DOMAIN SSL_DIR [RESTART]
|
||||
#
|
||||
# The function updates the SSL certificate for a domain. Parameter ssl_dir is a path
|
||||
# to directory where 2 or 3 ssl files can be found. Certificate file
|
||||
# domain.tld.crt and its key domain.tld.key are mandatory. Certificate
|
||||
# authority domain.tld.ca file is optional.
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Variable&Function #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Argument definition
|
||||
user=$1
|
||||
domain=$(idn -t --quiet -u "$2" )
|
||||
domain_idn=$(idn -t --quiet -a "$domain")
|
||||
ssl_dir=$3
|
||||
restart="$4"
|
||||
|
||||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/func/domain.sh
|
||||
source $VESTA/func/ip.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Verifications #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
check_args '3' "$#" 'USER DOMAIN SSL_DIR [RESTART]'
|
||||
validate_format 'user' 'domain' 'ssl_dir'
|
||||
is_system_enabled "$WEB_SYSTEM" 'WEB_SYSTEM'
|
||||
is_system_enabled "$WEB_SSL" 'SSL_SUPPORT'
|
||||
is_object_valid 'user' 'USER' "$user"
|
||||
is_object_unsuspended 'user' 'USER' "$user"
|
||||
is_object_valid 'web' 'DOMAIN' "$domain"
|
||||
is_object_unsuspended 'web' 'DOMAIN' "$domain"
|
||||
is_object_value_exist 'web' 'DOMAIN' "$domain" '$SSL'
|
||||
is_web_domain_cert_valid
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Adding certificate to user data directory
|
||||
cp -f $ssl_dir/$domain.crt $USER_DATA/ssl/$domain.crt
|
||||
cp -f $ssl_dir/$domain.key $USER_DATA/ssl/$domain.key
|
||||
cp -f $ssl_dir/$domain.crt $USER_DATA/ssl/$domain.pem
|
||||
if [ -e "$ssl_dir/$domain.ca" ]; then
|
||||
cp -f $ssl_dir/$domain.ca $USER_DATA/ssl/$domain.ca
|
||||
echo >> $USER_DATA/ssl/$domain.pem
|
||||
cat $USER_DATA/ssl/$domain.ca >> $USER_DATA/ssl/$domain.pem
|
||||
fi
|
||||
chmod 660 $USER_DATA/ssl/$domain.*
|
||||
|
||||
|
||||
|
||||
# Adding certificate to user dir
|
||||
cp -f $USER_DATA/ssl/$domain.crt $HOMEDIR/$user/conf/web/ssl.$domain.crt
|
||||
cp -f $USER_DATA/ssl/$domain.key $HOMEDIR/$user/conf/web/ssl.$domain.key
|
||||
cp -f $USER_DATA/ssl/$domain.pem $HOMEDIR/$user/conf/web/ssl.$domain.pem
|
||||
if [ -e "$USER_DATA/ssl/$domain.ca" ]; then
|
||||
cp -f $USER_DATA/ssl/$domain.ca $HOMEDIR/$user/conf/web/ssl.$domain.ca
|
||||
fi
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Vesta #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Restarting web server
|
||||
if [ "$restart" != 'no' ]; then
|
||||
$BIN/v-restart-web
|
||||
check_result $? "Web restart failed" >/dev/null
|
||||
|
||||
if [ ! -z "$PROXY_SYSTEM" ]; then
|
||||
$BIN/v-restart-proxy
|
||||
check_result $? "Proxy restart failed" >/dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
# Logging
|
||||
log_history "update ssl certificate for $domain"
|
||||
log_event "$OK" "$EVENT"
|
||||
|
||||
exit
|
|
@ -223,7 +223,7 @@ add_web_config() {
|
|||
trigger="${2/.*pl/.sh}"
|
||||
if [ -x "$WEBTPL/$1/$WEB_BACKEND/$trigger" ]; then
|
||||
$WEBTPL/$1/$WEB_BACKEND/$trigger \
|
||||
$user $domain $ip $HOMEDIR $HOMEDIR/$user/web/$domain/public_html
|
||||
$user $domain $local_ip $HOMEDIR $HOMEDIR/$user/web/$domain/public_html
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -602,10 +602,10 @@ is_dns_record_format_valid() {
|
|||
is_ip_format_valid "$1"
|
||||
fi
|
||||
if [ "$rtype" = 'NS' ]; then
|
||||
is_domain_format_valid "$1" 'ns_record'
|
||||
is_domain_format_valid "${1::-1}" 'ns_record'
|
||||
fi
|
||||
if [ "$rtype" = 'MX' ]; then
|
||||
is_domain_format_valid "$1" 'mx_record'
|
||||
is_domain_format_valid "${1::-1}" 'mx_record'
|
||||
is_int_format_valid "$priority" 'priority_record'
|
||||
fi
|
||||
|
||||
|
|
10
install/debian/7/php5-fpm/www.conf
Normal file
10
install/debian/7/php5-fpm/www.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
[www]
|
||||
listen = 127.0.0.1:9000
|
||||
listen.allowed_clients = 127.0.0.1
|
||||
user = www-data
|
||||
group = www-data
|
||||
pm = dynamic
|
||||
pm.max_children = 50
|
||||
pm.start_servers = 5
|
||||
pm.min_spare_servers = 3
|
||||
pm.max_spare_servers = 35
|
|
@ -1037,6 +1037,10 @@ if [ "$clamd" = 'yes' ]; then
|
|||
wget $vestacp/clamav/clamd.conf -O /etc/clamav/clamd.conf
|
||||
/usr/bin/freshclam
|
||||
update-rc.d clamav-daemon defaults
|
||||
if [ ! -d "/var/run/clamav" ]; then
|
||||
mkdir /var/run/clamav
|
||||
fi
|
||||
chown -R clamav:clamav /var/run/clamav
|
||||
service clamav-daemon start
|
||||
check_result $? "clamav-daeom start failed"
|
||||
fi
|
||||
|
|
|
@ -241,13 +241,13 @@ $LANG['nl'] = array(
|
|||
'Users' => 'Gebruikers',
|
||||
'Load Average' => 'Gemiddelde Belasting',
|
||||
'Memory Usage' => 'Geheugengebruik',
|
||||
'APACHE2 Usage' => 'APACHE2 Usage',
|
||||
'APACHE2 Usage' => 'APACHE2 Gebruik',
|
||||
'HTTPD Usage' => 'HTTPD Gebruik',
|
||||
'NGINX Usage' => 'NGINX Gebruik',
|
||||
'MySQL Usage on localhost' => 'MySQL Gebruik op localhost',
|
||||
'PostgreSQL Usage on localhost' => 'PostgreSQL Gebruik op localhost',
|
||||
'Bandwidth Usage eth0' => 'Bandbreedtegebruik eth0',
|
||||
'Exim Usage' => 'Exim Usage',
|
||||
'Exim Usage' => 'Exim Gebruik',
|
||||
'FTP Usage' => 'FTP Gebruik',
|
||||
'SSH Usage' => 'SSH Gebruik',
|
||||
'reverse proxy' => 'reverse proxy',
|
||||
|
@ -366,10 +366,10 @@ $LANG['nl'] = array(
|
|||
'ftp user password' => 'FTP gebruikerswachtwoord',
|
||||
'ftp user' => 'FTP gebruiker',
|
||||
'Last 70 lines of %s.%s.log' => 'Laatste 70 lijnen van %s.%s.log',
|
||||
'AccessLog' => 'AccessLog',
|
||||
'ErrorLog' => 'ErrorLog',
|
||||
'Download AccessLog' => 'Download Access Log',
|
||||
'Download ErrorLog' => 'Download Error Log',
|
||||
'AccessLog' => 'ToegangLog',
|
||||
'ErrorLog' => 'FoutenLog',
|
||||
'Download AccessLog' => 'Download Toegang Log',
|
||||
'Download ErrorLog' => 'Download Fout Log',
|
||||
'Country' => 'Land',
|
||||
'2 letter code' => '2 letterige landcode',
|
||||
'State / Province' => 'Staat / Provincie',
|
||||
|
@ -390,19 +390,19 @@ $LANG['nl'] = array(
|
|||
'SSH' => 'SSH',
|
||||
'FTP' => 'FTP',
|
||||
'VESTA' => 'VESTA',
|
||||
'Add one more Name Server' => 'Add one more Name Server',
|
||||
'Add one more Name Server' => 'Voeg nog een Name Server toe',
|
||||
|
||||
'web domain' => 'web domain',
|
||||
'dns domain' => 'dns domain',
|
||||
'web domain' => 'web domein',
|
||||
'dns domain' => 'dns domein',
|
||||
'dns record' => 'dns record',
|
||||
'mail domain' => 'mail domain',
|
||||
'mail domain' => 'mail domein',
|
||||
'mail account' => 'mail account',
|
||||
'cron job' => 'cron job',
|
||||
|
||||
'cron' => 'cron',
|
||||
'user dir' => 'user dir',
|
||||
|
||||
'unlimited' => 'unlimited',
|
||||
'unlimited' => 'oneindig',
|
||||
'1 account' => '1 account',
|
||||
'%s accounts' => '%s accounts',
|
||||
'1 domain' => '1 domein',
|
||||
|
@ -540,14 +540,14 @@ $LANG['nl'] = array(
|
|||
'Nov' => 'Nov',
|
||||
'Dec' => 'Dec',
|
||||
|
||||
'Configuring Server' => 'Configuring Server',
|
||||
'Configuring Server' => 'Server Instellen',
|
||||
'Hostname' => 'Hostname',
|
||||
'Time Zone' => 'Time Zone',
|
||||
'Default Language' => 'Default Language',
|
||||
'Time Zone' => 'Tijdzone',
|
||||
'Default Language' => 'Standaard Taal',
|
||||
'Proxy Server' => 'Proxy Server',
|
||||
'Web Server' => 'Web Server',
|
||||
'Backend Server' => 'Backend Server',
|
||||
'Backend Pool Mode' => 'Backend Pool Mode',
|
||||
'Backend Pool Mode' => 'Backend Pool Stand',
|
||||
'DNS Server' => 'DNS Server',
|
||||
'DNS Cluster' => 'DNS Cluster',
|
||||
'MAIL Server' => 'MAIL Server',
|
||||
|
@ -560,19 +560,19 @@ $LANG['nl'] = array(
|
|||
'phpPgAdmin URL' => 'phpPgAdmin URL',
|
||||
'Maximum Number Of Databases' => 'Maximum Number Of Databases',
|
||||
'Current Number Of Databases' => 'Current Number Of Databases',
|
||||
'Local backup' => 'Local backup',
|
||||
'Local backup' => 'Lokale backup',
|
||||
'Compression level' => 'Compression level',
|
||||
'Directory' => 'Directory',
|
||||
'Remote backup' => 'Remote backup',
|
||||
'Remote backup' => 'Afstand backup',
|
||||
'ftp' => 'FTP',
|
||||
'sftp' => 'SFTP',
|
||||
'SFTP Chroot' => 'SFTP Chroot',
|
||||
'FileSystem Disk Quota' => 'FileSystem Disk Quota',
|
||||
'FileSystem Disk Quota' => 'BestandenSystem Schijf Quotum',
|
||||
'Vesta Control Panel Plugins' => 'Vesta Control Panel Plugins',
|
||||
'preview' => 'preview',
|
||||
'preview' => 'Voorbeeld',
|
||||
'Reseller Role' => 'Reseller Role',
|
||||
'Web Config Editor' => 'Web Config Editor',
|
||||
'Template Manager' => 'Template Manager',
|
||||
'Web Config Editor' => 'Web Configuratie Bewerker',
|
||||
'Template Manager' => 'Voorbeeld Manager',
|
||||
'Backup Migration Manager' => 'Backup Migration Manager',
|
||||
'FileManager' => 'FileManager',
|
||||
'show: CPU / MEM / NET / DISK' => 'show: CPU / MEM / NET / DISK',
|
||||
|
@ -700,10 +700,10 @@ $LANG['nl'] = array(
|
|||
'Browse, copy, edit, view, and retrieve all of your web domain files using fully featured File Manager.' => 'Browse, copy, edit, view, and retrieve all of your web domain files using fully featured File Manager.',
|
||||
'This is a commercial module, you would need to purchace license key to enable it.' => 'This is a commercial module, you would need to purchace license key to enable it.',
|
||||
|
||||
'Minutes' => 'Minutes',
|
||||
'Hourly' => 'Hourly',
|
||||
'Run Command' => 'Run Command',
|
||||
'every month' => 'every month',
|
||||
'Minutes' => 'Minuten',
|
||||
'Hourly' => 'Ieder Uur',
|
||||
'Run Command' => 'Voer commando uit',
|
||||
'every month' => 'elke maand',
|
||||
'every odd month' => 'every odd month',
|
||||
'every even month' => 'every even month',
|
||||
'every day' => 'every day',
|
||||
|
@ -711,19 +711,19 @@ $LANG['nl'] = array(
|
|||
'every even day' => 'every even day',
|
||||
'weekdays (5 days)' => 'weekdays (5 days)',
|
||||
'weekend (2 days)' => 'weekend (2 days)',
|
||||
'Monday' => 'Monday',
|
||||
'Tuesday' => 'Tuesday',
|
||||
'Wednesday' => 'Wednesday',
|
||||
'Thursday' => 'Thursday',
|
||||
'Friday' => 'Friday',
|
||||
'Saturday' => 'Saturday',
|
||||
'Sunday' => 'Sunday',
|
||||
'every hour' => 'every hour',
|
||||
'every two hours' => 'every two hours',
|
||||
'every minute' => 'every minute',
|
||||
'every two minutes' => 'every two minutes',
|
||||
'every' => 'every',
|
||||
'Generate' => 'Generate',
|
||||
'Monday' => 'Maandag',
|
||||
'Tuesday' => 'Dinsdag',
|
||||
'Wednesday' => 'Woensdag',
|
||||
'Thursday' => 'Donderdag',
|
||||
'Friday' => 'Vrijdag',
|
||||
'Saturday' => 'Zaterdag',
|
||||
'Sunday' => 'Zondag',
|
||||
'every hour' => 'elk uur',
|
||||
'every two hours' => 'elke twee uur',
|
||||
'every minute' => 'elke minuut',
|
||||
'every two minutes' => 'elke twee minuten',
|
||||
'every' => 'alle',
|
||||
'Generate' => 'Genereer',
|
||||
|
||||
'webalizer' => 'webalizer',
|
||||
'awstats' => 'awstats',
|
||||
|
|
|
@ -39,7 +39,7 @@ $LANG['ua'] = array(
|
|||
'MEMORY' => "ПАМ'ЯТЬ",
|
||||
'DISK' => 'ДИСК',
|
||||
'NETWORK' => 'МЕРЕЖА',
|
||||
'Web Log Manager' => 'Web Log Manager',
|
||||
'Web Log Manager' => 'Менеджер Web журналу',
|
||||
|
||||
'Add User' => 'Додати користувача',
|
||||
'Add Domain' => 'Додати домен',
|
||||
|
@ -48,7 +48,7 @@ $LANG['ua'] = array(
|
|||
'Add DNS Record' => 'Додати DNS запис',
|
||||
'Add Mail Domain' => 'Додати поштовий домен',
|
||||
'Add Mail Account' => 'Додати поштовий акаунт',
|
||||
'Add Database' => 'Додати Базу даних',
|
||||
'Add Database' => 'Додати базу даних',
|
||||
'Add Cron Job' => 'Додати завдання',
|
||||
'Create Backup' => 'Створити архів',
|
||||
'Configure' => 'Налаштувати',
|
||||
|
@ -182,8 +182,8 @@ $LANG['ua'] = array(
|
|||
'Mail Domains' => 'Поштові домени',
|
||||
'Mail Accounts' => 'Поштові акаунти',
|
||||
'Cron Jobs' => 'Cron завдання',
|
||||
'SSH Access' => 'SSH Доступ',
|
||||
'IP Address' => 'IP Address',
|
||||
'SSH Access' => 'SSH доступ',
|
||||
'IP Address' => 'IP адреса',
|
||||
'IP Addresses' => 'IP адреси',
|
||||
'Backups' => 'Архіви',
|
||||
'Backup System' => 'Система резервного копіювання',
|
||||
|
@ -210,16 +210,16 @@ $LANG['ua'] = array(
|
|||
'Autoreply' => 'Автовідповідач',
|
||||
'Forward to' => 'Перенаправлення',
|
||||
'Do not store forwarded mail' => 'Не зберігати перенаправлені письма',
|
||||
'IMAP hostname' => 'IMAP hostname',
|
||||
'IMAP port' => 'IMAP port',
|
||||
'IMAP security' => 'IMAP security',
|
||||
'IMAP auth method' => 'IMAP auth method',
|
||||
'SMTP hostname' => 'SMTP hostname',
|
||||
'SMTP port' => 'SMTP port',
|
||||
'SMTP security' => 'SMTP security',
|
||||
'SMTP auth method' => 'SMTP auth method',
|
||||
'IMAP hostname' => "Ім'я IMAP хоста",
|
||||
'IMAP port' => 'Порт IMAP',
|
||||
'IMAP security' => 'Безпека IMAP',
|
||||
'IMAP auth method' => 'Метод аутентифікації IMAP',
|
||||
'SMTP hostname' => "Ім'я SMTP хоста",
|
||||
'SMTP port' => ' Порт SMTP',
|
||||
'SMTP security' => 'Безпека SMTP',
|
||||
'SMTP auth method' => 'Метод аутентифікації SMTP',
|
||||
'STARTTLS' => 'STARTTLS',
|
||||
'Normal password' => 'Normal password',
|
||||
'Normal password' => 'Нормальний пароль',
|
||||
'database' => 'база даних',
|
||||
'User' => 'Користувач',
|
||||
'Host' => 'Сервер',
|
||||
|
@ -239,19 +239,19 @@ $LANG['ua'] = array(
|
|||
'dedicated' => 'виділений',
|
||||
'Owner' => 'Власник',
|
||||
'Users' => 'Користувачі',
|
||||
'Load Average' => 'Загальне Навантаження',
|
||||
'Memory Usage' => "Використання Пам'яті",
|
||||
'APACHE2 Usage' => 'APACHE2 Usage',
|
||||
'Load Average' => 'Загальне навантаження',
|
||||
'Memory Usage' => "Використання пам'яті",
|
||||
'APACHE2 Usage' => 'Використання APACHE2',
|
||||
'HTTPD Usage' => 'Використання HTTPd',
|
||||
'NGINX Usage' => 'Використання Proxy',
|
||||
'MySQL Usage on localhost' => 'Локальний сервер бази даних MySQL',
|
||||
'PostgreSQL Usage on localhost' => 'Локальний сервер бази даних PostgreSQL',
|
||||
'MySQL Usage on localhost' => 'Використання локальної MySQL',
|
||||
'PostgreSQL Usage on localhost' => 'Використання локальної PostgreSQL',
|
||||
'Bandwidth Usage eth0' => 'Використання мережі eth0',
|
||||
'Exim Usage' => 'Exim Usage',
|
||||
'Exim Usage' => 'Використання Exim',
|
||||
'FTP Usage' => 'Використання FTP',
|
||||
'SSH Usage' => 'Використання SSH',
|
||||
'reverse proxy' => 'зворотній проксі',
|
||||
'web server' => 'Web сервер',
|
||||
'reverse proxy' => 'зворотній proxy',
|
||||
'web server' => 'web сервер',
|
||||
'dns server' => 'DNS сервер ',
|
||||
'mail server' => 'поштовий сервер',
|
||||
'pop/imap server' => 'POP/IMAP сервер',
|
||||
|
@ -261,10 +261,10 @@ $LANG['ua'] = array(
|
|||
'ftp server' => 'FTP сервер',
|
||||
'job scheduler' => 'планувальник завдань',
|
||||
'firewall' => 'firewall',
|
||||
'brute-force monitor' => 'brute-force monitor',
|
||||
'brute-force monitor' => 'брутфорс монітор',
|
||||
'CPU' => 'Процесор',
|
||||
'Memory' => "Пам'ять",
|
||||
'Uptime' => 'Запущений',
|
||||
'Uptime' => 'Працює',
|
||||
'core package' => 'головний пакет',
|
||||
'php interpreter' => 'PHP інтерпретатор',
|
||||
'internal web server' => 'внутрішній веб сервер',
|
||||
|
@ -286,7 +286,7 @@ $LANG['ua'] = array(
|
|||
'DNS Support' => 'Підтримка DNS',
|
||||
'Mail Support' => 'Підтримка пошти',
|
||||
'Advanced options' => 'Додаткові опції',
|
||||
'Basic options' => 'Basic options',
|
||||
'Basic options' => 'Основні параметри',
|
||||
'Aliases' => 'Аліаси',
|
||||
'SSL Certificate' => 'SSL сертификат',
|
||||
'SSL Key' => 'Ключ SSL сертифікату',
|
||||
|
@ -351,8 +351,8 @@ $LANG['ua'] = array(
|
|||
'netmask' => 'маска підмережі',
|
||||
'interface' => 'інтерфейс',
|
||||
'assigned user' => 'призначений користувач',
|
||||
'ns1' => 'сервер імен #1',
|
||||
'ns2' => 'сервер імен #2',
|
||||
'ns1' => 'сервер імен №1',
|
||||
'ns2' => 'сервер імен №2',
|
||||
'user' => 'користувач',
|
||||
'email' => 'пошта',
|
||||
'first name' => "Ім'я",
|
||||
|
@ -390,17 +390,17 @@ $LANG['ua'] = array(
|
|||
'SSH' => 'SSH',
|
||||
'FTP' => 'FTP',
|
||||
'VESTA' => 'VESTA',
|
||||
'Add one more Name Server' => 'Add one more Name Server',
|
||||
'Add one more Name Server' => 'Додати ще один сервер імен',
|
||||
|
||||
'web domain' => 'web domain',
|
||||
'dns domain' => 'dns domain',
|
||||
'dns record' => 'dns record',
|
||||
'mail domain' => 'mail domain',
|
||||
'mail account' => 'mail account',
|
||||
'cron job' => 'cron job',
|
||||
'web domain' => 'web домен',
|
||||
'dns domain' => 'dns домен',
|
||||
'dns record' => 'dns запис',
|
||||
'mail domain' => 'mail домен',
|
||||
'mail account' => 'mail акаунт',
|
||||
'cron job' => 'cron завдання',
|
||||
|
||||
'cron' => 'cron',
|
||||
'user dir' => 'user dir',
|
||||
'user dir' => 'тека користувача',
|
||||
|
||||
'unlimited' => 'безлімітний',
|
||||
'1 account' => ' 1 акаунт',
|
||||
|
@ -446,7 +446,7 @@ $LANG['ua'] = array(
|
|||
'PACKAGE_CREATED_OK' => 'Пакет <a href="/edit/package/?package=%s"><b>%s</b></a> успішно створено.',
|
||||
'SSL_GENERATED_OK' => 'SSL cертификат успішно згенеровано.',
|
||||
'RULE_CREATED_OK' => 'Правило успішно створено.',
|
||||
'BANLIST_CREATED_OK' => 'IP address has been banned successfully', // I'm not sure about this text
|
||||
'BANLIST_CREATED_OK' => 'IP адреса успішно заблокована', // I'm not sure about this text
|
||||
'Autoupdate has been successfully enabled' => 'Aвтооновлення було успішно увімкнено',
|
||||
'Autoupdate has been successfully disabled' => 'Aвтооновлення було успішно вимкнено',
|
||||
'Cronjob email reporting has been successfully enabled' => 'Cronjob звітування було успішно увімкнено',
|
||||
|
@ -478,7 +478,7 @@ $LANG['ua'] = array(
|
|||
'DELETE_RULE_CONFIRMATION' => 'Ви впевнені, що хочете видалити правило #%s?',
|
||||
'SUSPEND_RULE_CONFIRMATION' => 'Ви впевнені, що хочете заблокувати правило #%s?',
|
||||
'UNSUSPEND_RULE_CONFIRMATION' => 'Ви впевнені, що хочете розблокувати правило #%s?',
|
||||
'LEAVE_PAGE_CONFIRMATION' => 'Leave Page?',
|
||||
'LEAVE_PAGE_CONFIRMATION' => 'Покинути сторінку?',
|
||||
'RESTART_CONFIRMATION' => 'Ви впевнені, що хочете перезапустити %s?',
|
||||
'Welcome' => 'Ласкаво просимо',
|
||||
'LOGGED_IN_AS' => 'Ви увійшли як користувач %s',
|
||||
|
@ -522,7 +522,7 @@ $LANG['ua'] = array(
|
|||
'Confirm Password' => 'Підтвердження паролю',
|
||||
'Reset' => 'Скинути',
|
||||
'Reset Code' => 'Код скидання',
|
||||
'RESET_NOTICE' => '', // should we add something here?
|
||||
'RESET_NOTICE' => 'Скинути сповіщення', // should we add something here?
|
||||
'RESET_CODE_SENT' => 'Код для відновлення паролю успішно відправлено на вашу електронну пошту.<br>',
|
||||
'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",
|
||||
|
@ -540,17 +540,17 @@ $LANG['ua'] = array(
|
|||
'Nov' => 'Лист',
|
||||
'Dec' => 'Груд',
|
||||
|
||||
'Configuring Server' => 'Налаштування Серверу',
|
||||
'Configuring Server' => 'Налаштування серверу',
|
||||
'Hostname' => "Ім'я хоста",
|
||||
'Time Zone' => 'Часовий Пояс',
|
||||
'Time Zone' => 'Часовий пояс',
|
||||
'Default Language' => 'Мова за замовчуванням',
|
||||
'Proxy Server' => 'Proxy Server',
|
||||
'Web Server' => 'Web Server',
|
||||
'Backend Server' => 'Backend Server',
|
||||
'Proxy Server' => 'Proxy сервер',
|
||||
'Web Server' => 'Web сервер',
|
||||
'Backend Server' => 'Backend сервер',
|
||||
'Backend Pool Mode' => 'Backend Pool Mode',
|
||||
'DNS Server' => 'DNS Сервер',
|
||||
'DNS Cluster' => 'DNS Кластер',
|
||||
'MAIL Server' => 'MAIL Сервер',
|
||||
'DNS Server' => 'DNS сервер',
|
||||
'DNS Cluster' => 'DNS кластер',
|
||||
'MAIL Server' => 'MAIL сервер',
|
||||
'Antivirus' => 'Антивірус',
|
||||
'AntiSpam' => 'АнтиСпам',
|
||||
'Webmail URL' => 'Webmail URL',
|
||||
|
@ -571,10 +571,10 @@ $LANG['ua'] = array(
|
|||
'Vesta Control Panel Plugins' => 'Плагіни Vesta Control Panel',
|
||||
'preview' => "прев'ю",
|
||||
'Reseller Role' => 'Реселлер',
|
||||
'Web Config Editor' => 'Редактор Веб Конфігів',
|
||||
'Template Manager' => 'Менеджер Шаблонів',
|
||||
'Backup Migration Manager' => 'Менеджер Міграції Архівів',
|
||||
'FileManager' => 'Файл Менеджер',
|
||||
'Web Config Editor' => 'Редактор Web конфігів',
|
||||
'Template Manager' => 'Менеджер шаблонів',
|
||||
'Backup Migration Manager' => 'Менеджер міграції архівів',
|
||||
'FileManager' => 'Файл менеджер',
|
||||
'show: CPU / MEM / NET / DISK' => 'show: CPU / MEM / NET / DISK',
|
||||
|
||||
'sort by' => 'сортувати за',
|
||||
|
@ -583,7 +583,7 @@ $LANG['ua'] = array(
|
|||
'Name' => "Ім'я",
|
||||
|
||||
|
||||
'File Manager' => 'Файловий Менеджер',
|
||||
'File Manager' => 'Файловий менеджер',
|
||||
'size' => 'розмір',
|
||||
'date' => 'дата',
|
||||
'name' => "ім'я",
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
</p>
|
||||
|
||||
<p class="step-top">
|
||||
<input type="submit" value="<?=__('Generate')?>" class="button">
|
||||
<input type="submit" value="<?=__('generate')?>" class="button">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -153,7 +153,7 @@
|
|||
</select>
|
||||
</p>
|
||||
<p class="step-top">
|
||||
<input type="submit" value="<?=__('Generate')?>" class="button">
|
||||
<input type="submit" value="<?=__('generate')?>" class="button">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -227,7 +227,7 @@
|
|||
</p>
|
||||
|
||||
<p class="step-top">
|
||||
<input type="submit" value="<?=__('Generate')?>" class="button">
|
||||
<input type="submit" value="<?=__('generate')?>" class="button">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -342,7 +342,7 @@
|
|||
</p>
|
||||
|
||||
<p class="step-top">
|
||||
<input type="submit" value="<?=__('Generate')?>" class="button">
|
||||
<input type="submit" value="<?=__('generate')?>" class="button">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
</p>
|
||||
|
||||
<p class="step-top">
|
||||
<input type="submit" value="<?=__('Generate')?>" class="button">
|
||||
<input type="submit" value="<?=__('generate')?>" class="button">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -153,7 +153,7 @@
|
|||
</select>
|
||||
</p>
|
||||
<p class="step-top">
|
||||
<input type="submit" value="<?=__('Generate')?>" class="button">
|
||||
<input type="submit" value="<?=__('generate')?>" class="button">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -225,7 +225,7 @@
|
|||
</p>
|
||||
|
||||
<p class="step-top">
|
||||
<input type="submit" value="<?=__('Generate')?>" class="button">
|
||||
<input type="submit" value="<?=__('generate')?>" class="button">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -339,7 +339,7 @@
|
|||
</select>
|
||||
</p>
|
||||
<p class="step-top">
|
||||
<input type="submit" value="<?=__('Generate')?>" class="button">
|
||||
<input type="submit" value="<?=__('generate')?>" class="button">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -154,7 +154,7 @@ sort-star="<? if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] =
|
|||
<div class="l-unit__stat-cols clearfix">
|
||||
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Quota')?>:</div>
|
||||
<div class="l-unit__stat-col l-unit__stat-col--right">
|
||||
<b><? echo __($data[$key]['QUOTA']) ?></b>
|
||||
<b><?=__(humanize_usage_size($data[$key]['QUOTA'])) ?></b> <?=__(humanize_usage_measure($data[$key]['QUOTA'])) ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
@ -142,7 +142,7 @@ sort-star="<? if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] =
|
|||
<div class="l-unit__stat-cols clearfix">
|
||||
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Quota')?>:</div>
|
||||
<div class="l-unit__stat-col l-unit__stat-col--right">
|
||||
<b><? echo __($data[$key]['QUOTA'])?></b>
|
||||
<b><?=__(humanize_usage_size($data[$key]['QUOTA'])) ?></b> <?=__(humanize_usage_measure($data[$key]['QUOTA'])) ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue