meraproject/module/core/user/account/structure/accountLang.php

50 lines
1.5 KiB
PHP
Raw Normal View History

<?
namespace core\user\account\structure;
use core\lang\structure\LangVariable as V;
use core\lang\structure\LangValue as Val;
use core\Lang as Lang;
use \core\lang\structure\eLangCode as LangCode;
class accountLang {
const prefix = 'CORE_USER_ACCOUNT_';
static $ACCOUNT_BUSY = self::prefix.'ACCOUNT_BUSY';
static $ACCOUNT_NOT_FOUND = self::prefix.'ACCOUNT_NOT_FOUND';
static $WRONG_PASSWORD = self::prefix.'WRONG_PASSWORD';
static $EXIT = self::prefix.'EXIT';
static function getArray(){
return [
self::$ACCOUNT_BUSY=>[
'n'=>'Аккаунт занят',
'a'=>[
LangCode::RU=>'Аккаунт занят',
LangCode::EN=>'Account busy',
]
],
self::$ACCOUNT_NOT_FOUND=>[
'n'=>'Аккаунт не найден',
'a'=>[
LangCode::RU=>'Аккаунт не найден',
LangCode::EN=>'Account not found',
]
],
self::$WRONG_PASSWORD=>[
'n'=>'Неверный пароль',
'a'=>[
LangCode::RU=>'Неверный пароль',
LangCode::EN=>'Wrong password',
],
],
self::$EXIT=>[
'n'=>'Выход',
'a'=>[
LangCode::RU=>'Выход',
LangCode::EN=>'Exit',
],
],
];
}
}