i18n integration

This commit is contained in:
Serghey Rodin 2013-01-21 16:24:33 +02:00
commit fb216fc3ee
18 changed files with 288 additions and 225 deletions

View file

@ -7,6 +7,8 @@
if (!defined('LANGUAGE')) die('Direct access not allowed');
$LANG = array(
'yes'=>'yes',
'no'=>'no',
'Hour'=>'Hour',
'Min'=>'Min',
'pb'=>'pb',
@ -32,22 +34,22 @@ $LANG = array(
'type'=>'type',
'charset'=>'charset',
'edit'=>'edit',
'DATABASE_CREATED_OK'=>'Success: Database <a href="/edit/db/?database=%s"><b>%s</b></a> has been created.',
'DATABASE_CREATED_OK'=>'Database <a href="/edit/db/?database=%s"><b>%s</b></a> has been created successfully.',
'domain'=>'domain',
'ip'=>'IP',
'DOMAIN_CREATED_OK'=>'Success: Domain <a href="/list/dns/?domain=%s"><b>%s</b></a> has been created.',
'RECORD_CREATED_OK'=>'Success: Record <b>%s.%s</b> has been created.',
'DOMAIN_CREATED_OK'=>'Domain <a href="/list/dns/?domain=%s"><b>%s</b></a> has been created successfully.',
'RECORD_CREATED_OK'=>'Record <b>%s.%s</b> has been created successfully.',
'ip address'=>'IP-address',
'netmask'=>'netmask',
'Netmask'=>'Netmask',
'interface'=>'interface',
'Interface'=>'Interface',
'assigned user'=>'assigned user',
'IP_CREATED_OK'=>'"Success: IP address <a href="/edit/ip/?ip=%s"><b>%s</b></a> has been created.',
'DOMAIN_MAIL_CREATED_OK'=>'Success: Mail for domain <a href="/list/mail/?domain=%s"><b>%s</b></a> has been created.',
'IP_CREATED_OK'=>'"IP address <a href="/edit/ip/?ip=%s"><b>%s</b></a> has been created successfully.',
'DOMAIN_MAIL_CREATED_OK'=>'Mail for domain <a href="/list/mail/?domain=%s"><b>%s</b></a> has been created successfully.',
'account'=>'account',
'Account'=>'Account',
'MAIL_ACCOUNT_CREATED_OK'=>'Success: Mail account <a href="/edit/mail/?account=%s&domain=%s"><b>%s@%s</b></a> has been created.',
'MAIL_ACCOUNT_CREATED_OK'=>'Mail account <a href="/edit/mail/?account=%s&domain=%s"><b>%s@%s</b></a> has been created successfully.',
'package'=>'package',
'template'=>'template',
'shell'=>'SSH',
@ -77,7 +79,7 @@ $LANG = array(
'Bandwidth'=>'Bandwidth',
'ns1'=>'ns1',
'ns2'=>'ns2',
'PACKAGE_CREATED_OK'=>'Success: Package <a href="/edit/package/?package=%s"><b>%s</b></a> has been created.',
'PACKAGE_CREATED_OK'=>'Package <a href="/edit/package/?package=%s"><b>%s</b></a> has been created successfully.',
'user'=>'user',
'email'=>'email',
'Email'=>'Email',
@ -89,7 +91,7 @@ $LANG = array(
'GREETINGS_GORDON_FREEMAN'=>"Hello, %s %s,\n",
'GREETINGS'=>"Hello,\n",
'ACCOUNT_READY'=>"You account has been created and ready for use.\n\nhttps://%s/login/\nUsername: %s\nPassword: %s\n\n--\nVesta Control Panel\n",
'ACCOUNT_CREATED_OK'=>'Success: User <a href="/edit/user/?user=%s"><b>%s</b></a> has been created.',
'ACCOUNT_CREATED_OK'=>'User <a href="/edit/user/?user=%s"><b>%s</b></a> has been created successfully.',
'ssl certificate'=>'SSL certificate',
'ssl key'=>'SSL key',
'SSL Support'=>'SSL Support',
@ -103,8 +105,8 @@ $LANG = array(
'ftp user password'=>'FTP user password',
'ftp user'=>'FTP user',
'FTP login credentials'=>'FTP login credentials',
'FTP_ACCOUNT_READY'=>"Your FTP account has been created and ready for use.\n\nHostname: %s\nUsername: %s_%s\nPassword: %s\n\n--\nVesta Control Panel\n",
'HOSTING_DOMAIN_CREATED_OK'=>'Success: Web domain <a href="/edit/web/?domain=%s"><b>%s</b></a> has been created.',
'FTP_ACCOUNT_READY'=>"FTP account has been created and ready for use.\n\nHostname: %s\nUsername: %s_%s\nPassword: %s\n\n--\nVesta Control Panel\n",
'WEB_DOMAIN_CREATED_OK'=>'Web domain <a href="/edit/web/?domain=%s"><b>%s</b></a> has been created successfully.',
'OK: changes has been saved.'=>'Success: Changes have been saved.',
'FTP login credentials'=>'FTP login credentials',
'505'=>'505 &mdash; oops, internal error. Call an Ambulance!',
@ -156,6 +158,7 @@ $LANG = array(
'Confirm Password'=>'Confirm Password',
'Reset'=>'Reset',
'Statistics'=>'Statistics',
'Web Statistics'=>'Statistics',
'History Log'=>'History Log',
'Vesta logo'=>'Vesta logo',
'USER'=>'USER',
@ -183,7 +186,7 @@ $LANG = array(
'Disk'=>'Disk',
'traffic'=>'traffic',
'Database Credentials'=>'Database Credentials',
'DATABASE_READY'=>"Hello, %s %s,\nYour %s database has been created successfully.\n\nDatabase: %s_%s\nUser: %s_%s\nPassword: %s\n\n",
'DATABASE_READY'=>"Hello, %s %s,\nDatabase %s has been created successfully.\n\nDatabase: %s_%s\nUser: %s_%s\nPassword: %s\n\n",
'Send credentials to'=>'Send credentials to',
'Adding DNS Record'=>'Adding DNS Record',
'Record'=>'Record',
@ -213,8 +216,9 @@ $LANG = array(
'Adding User'=>'Adding User',
'First Name'=>'First Name',
'Last Name'=>'Last Name',
'SEND_CREDENTIALS_NOTICE'=>'Send fresh credentials to user by email?',
'Adding Domain for hosting'=>'Adding Domain for hosting',
'SEND_CREDENTIALS_NOTICE'=>'Send login credentials to',
'SEND_FTP_CREDENTIALS' => 'Send FTP credentials to'
'Adding Web Domain'=>'Adding Web Domain',
'Apache template'=>'Apache template',
'Nginx Support'=>'Nginx Support',
'Nginx Extentions'=>'Nginx Extentions',
@ -249,7 +253,7 @@ $LANG = array(
'Memory'=>'Memory',
'stop'=>'stop',
'Run Time'=>'Run Time',
'BACKUP_DELETE_CONFIRMATION'=>'Are you sure to delete <b>%s</b> backup?',
'BACKUP_DELETE_CONFIRMATION'=>'Are you sure to delete %s backup?',
'Backup Size'=>'Backup Size',
'SYS'=>'SYS',
'one archive'=>'one archive',
@ -259,45 +263,45 @@ $LANG = array(
'open webmail'=>'open webmail',
'suspend'=>'suspend',
'unsuspend'=>'unsuspend',
'CRON_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> cron job?',
'CRON_ACTION_CONFIRMATION'=>'Are you sure to %s cron job?',
'Confirmation'=>'Confirmation',
'one cron job'=>'one cron job',
'%s cron jobs'=>'%s cron jobs',
'Add Database'=>'Add Database',
'open %s'=>'open %s',
'DATABASE_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> database <b>%s</b>?',
'DATABASE_ACTION_CONFIRMATION'=>'Are you sure to %s database %s?',
'one database'=>'ne database',
'%s databases'=>'%s databases',
'Add DNS Domain'=>'Add DNS Domain',
'Search'=>'Search',
'LIST_DOMAIN_RECORDS'=>'Show %s records',
'add record'=>'add record',
'DOMAIN_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> domain <b>%s?</b>',
'one domain'=>'one domain',
'DOMAIN_ACTION_CONFIRMATION'=>'Are you sure to %s domain %s?',
'1 domain'=>'1 domain',
'%s domains'=>'%s domains',
'Add DNS Record'=>'Add DNS Record',
'Listing'=>'Listing',
'list'=>'list',
'RECORD_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> record <b>%s</b>?',
'RECORD_ACTION_CONFIRMATION'=>'Are you sure to %s record %s?',
'one DNS record'=>'one DNS record',
'%s DNS records'=>'%s DNS records',
'Add IP'=>'Add IP',
'IP_DELETE_CONFIRMATION'=>'Are you sure to delere IP-address <b>%s</b>?',
'IP_DELETE_CONFIRMATION'=>'Are you sure to delere IP-address %s?',
'Status'=>'Status',
'one IP address'=>'one IP address',
'%s IP addresses'=>'%s IP addresses',
'one log record'=>'one log record',
'%s log records'=>'%s log records',
'Add Mail Domain'=>'Add Mail Domain',
'MAIL_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> mail for domain <b>%s</b>?',
'MAIL_ACTION_CONFIRMATION'=>'Are you sure to %s mail for domain %s?',
'one domain with email'=>'one domain with email',
'%s domains with email'=>'%s domains with email',
'Add Mail Account'=>'Add Mail Account',
'MAIL_ACCOUNT_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> mail account <b>%s</b>?',
'MAIL_ACCOUNT_ACTION_CONFIRMATION'=>'Are you sure to %s mail account %s?',
'one mail account'=>'one mail account',
'%s mail accounts'=>'%s mail accounts',
'Add Package'=>'Add Package',
'PACKAGE_DELETE_CONFIRMATION'=>'Are you sure to delete package <b>%s</b>?',
'PACKAGE_DELETE_CONFIRMATION'=>'Are you sure to delete package %s?',
'one package'=>'one package',
'%s packages'=>'%s packages',
'Daily'=>'Daily',
@ -326,8 +330,8 @@ $LANG = array(
'rebuild db'=>'rebuild db',
'rebuild cron'=>'rebuild cron',
'update counters'=>'update counters',
'LOGGED_IN_AS'=>'Logged in as %s',
'USER_ACTION_CONFIRMATION'=>'Are you sure to <b>%s</b> user <b>%s</b>?',
'LOGGED_IN_AS'=>'Logged in as user %s',
'USER_ACTION_CONFIRMATION'=>'Are you sure to %s user %s?',
'one account'=>'one account',
'%s accounts'=>'%s accounts',
'Add Domain for hosting'=>'Add Domain for hosting',