Improved the Switch account system for better feedback to user

This commit is contained in:
djmaze 2021-11-11 21:01:39 +01:00
parent 597ea21b70
commit 739aeaded5
42 changed files with 76 additions and 49 deletions

View file

@ -119,6 +119,7 @@ export const Notification = {
AccountAlreadyExists: 801,
AccountDoesNotExist: 802,
AccountSwitchFailed: 803,
MailServerError: 901,
ClientViewError: 902,

View file

@ -48,21 +48,6 @@ class RemoteUserFetch extends AbstractFetchRemote {
);
}
/**
* @param {?Function} fCallback
* @param {FormData} oData
*/
login(fCallback, oData) {
this.defaultRequest(fCallback, 'Login', oData);
}
/*
// TODO SystemDropDownUserView.accountClick
switchAccount(fCallback, email) {
this.defaultRequest(fCallback, 'AccountSwitch', {Email:email});
}
*/
/**
* @param {?Function} fCallback
*/

View file

@ -99,7 +99,7 @@ class LoginUserView extends AbstractViewLogin {
this.submitRequest(true);
data.set('Language', this.bSendLanguage ? this.language() : '');
data.set('SignMe', this.signMe() ? 1 : 0);
Remote.login(
Remote.defaultRequest(
(iError, oData) => {
if (iError) {
this.submitRequest(false);
@ -114,7 +114,7 @@ class LoginUserView extends AbstractViewLogin {
// rl.route.reload();
}
},
data
'Login', data
);
Local.set(ClientSideKeyName.LastSignMe, this.signMe() ? '-1-' : '-0-');

View file

@ -16,7 +16,8 @@ import { doc, Settings, leftPanelDisabled } from 'Common/Globals';
import { ThemeStore } from 'Stores/Theme';
//import Remote from 'Remote/User/Fetch';
import Remote from 'Remote/User/Fetch';
import { getNotification } from 'Common/Translator';
export class SystemDropDownUserView extends AbstractViewRight {
constructor() {
@ -46,27 +47,22 @@ export class SystemDropDownUserView extends AbstractViewRight {
}
accountClick(account, event) {
/* TODO
event.preventDefault();
event.stopPropagation();
Remote.switchAccount(
(iError, oData) => {
if (iError) {
console.dir({
iError: iError,
oData: oData
})
} else {
rl.setData(oData.Result);
// rl.route.reload();
}
},
account.email
);
*/
if (account && 0 === event.button) {
AccountUserStore.loading(true);
setTimeout(() => AccountUserStore.loading(false), 1000);
event.preventDefault();
event.stopPropagation();
Remote.defaultRequest(
(iError/*, oData*/) => {
if (iError) {
AccountUserStore.loading(false);
alert(getNotification(iError).replace('%EMAIL%', account.email));
} else {
// This does not work yet
// rl.setData(oData.Result);
location.reload();
}
}, 'AccountSwitch', {Email:account.email}
);
}
return true;
}
@ -97,7 +93,6 @@ export class SystemDropDownUserView extends AbstractViewRight {
doc.cookie = 'rllayout=' + (mobile ? 'mobile' : 'desktop');
ThemeStore.isMobile(mobile);
leftPanelDisabled(mobile);
// location.reload();
}
logoutClick() {

View file

@ -318,7 +318,7 @@ trait Accounts
$orderString = $this->StorageProvider()->Get($oAccount, StorageType::CONFIG, 'identities_order');
$old = false;
if (!$orderString) {
$orderString = $this->StorageProvider()->Get($oMainAccount, StorageType::CONFIG, 'accounts_identities_order');
$orderString = $this->StorageProvider()->Get($oAccount, StorageType::CONFIG, 'accounts_identities_order');
$old = !!$orderString;
}
@ -343,7 +343,7 @@ trait Accounts
'identities_order',
\json_encode(array('Identities' => empty($order['Identities']) ? [] : $order['Identities']))
);
$this->StorageProvider()->Clear($oMainAccount, StorageType::CONFIG, 'accounts_identities_order');
$this->StorageProvider()->Clear($oAccount, StorageType::CONFIG, 'accounts_identities_order');
}
return $identities;

View file

@ -149,13 +149,20 @@ trait UserAuth
$oMainAccount = $this->getMainAccountFromToken(false);
if ($sEmail && $oMainAccount && $this->GetCapa(false, \RainLoop\Enumerations\Capa::ADDITIONAL_ACCOUNTS, $oMainAccount)) {
$oAccountToLogin = null;
if ($oMainAccount->Email() === $sEmail) {
$this->SetAdditionalAuthToken($oAccountToLogin);
return true;
}
$sEmail = \MailSo\Base\Utils::IdnToAscii($sEmail);
$aAccounts = $this->GetAccounts($oMainAccount);
if (isset($aAccounts[$sEmail])) {
$oAccountToLogin = \RainLoop\Model\AdditionalAccount::NewInstanceFromTokenArray(
$this,
$aAccounts[$sEmail]
);
if (!isset($aAccounts[$sEmail])) {
throw new ClientException(Notifications::AccountDoesNotExist);
}
$oAccountToLogin = AdditionalAccount::NewInstanceFromTokenArray(
$this, $aAccounts[$sEmail]
);
if (!$oAccountToLogin) {
throw new ClientException(Notifications::AccountSwitchFailed);
}
$this->SetAdditionalAuthToken($oAccountToLogin);
return true;

View file

@ -50,6 +50,7 @@ class Notifications
const AccountAlreadyExists = 801;
const AccountDoesNotExist = 802;
const AccountSwitchFailed = 803;
const MailServerError = 901;
const ClientViewError = 902;

View file

@ -816,10 +816,14 @@ class ServiceActions
*/
public function ServiceChange() : string
{
$oMainAccount = $this->oActions->switchAccount(
empty($this->aPaths[2]) ? '' : \urldecode(\trim($this->aPaths[2]))
);
$this->oActions->Location('./');
try {
$this->oActions->switchAccount(
empty($this->aPaths[2]) ? '' : \urldecode(\trim($this->aPaths[2]))
);
$this->oActions->Location('./');
} catch (\Exception $e) {
exit($e->getMessage());
}
return '';
}

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "لأسباب أمنية , هذا الحساب قد منع من هذا الإجراء",
"ACCOUNT_ALREADY_EXISTS": "الحساب موجود مسبقاَ",
"ACCOUNT_DOES_NOT_EXIST": "الحساب المطلوب غير موجود",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "حدث خطأ أثناء محاولة الوصول الى المخدم البريدي",
"INVALID_INPUT_ARGUMENT": "Invalid input argument",
"UNKNOWN_ERROR": "خطأ غير معروف"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "С цел сигурност, това действие не е разрешено за този акаунт!",
"ACCOUNT_ALREADY_EXISTS": "Акаунта вече съществува",
"ACCOUNT_DOES_NOT_EXIST": "Акаунта не съществува",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Възникна грешка при комуникацията с пощенския сървър",
"INVALID_INPUT_ARGUMENT": "Невалидни входни аргументи",
"UNKNOWN_ERROR": "Неизвестна грешка"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Z důvodu bezpečnosti tento účet nemá oprávnění toto provést!",
"ACCOUNT_ALREADY_EXISTS": "Účet už existuje",
"ACCOUNT_DOES_NOT_EXIST": "Účet neexistuje",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Nastala chyba během přístupu na poštovní server",
"INVALID_INPUT_ARGUMENT": "Nevalidní vstupní argument",
"UNKNOWN_ERROR": "Neznámá chyba"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Denne konto kan af sikkerhedshensyn ikke udføre denne handling!",
"ACCOUNT_ALREADY_EXISTS": "Kontoen eksisterer allerede",
"ACCOUNT_DOES_NOT_EXIST": "Kontoen eksisterer ikke",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Der skete en fejl under adgang til e-mail serveren",
"INVALID_INPUT_ARGUMENT": "Ugyldigt argument",
"UNKNOWN_ERROR": "Ukendt fejl"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Aus Sicherheitsgründen ist dieses Konto nicht zu dieser Aktion berechtigt!",
"ACCOUNT_ALREADY_EXISTS": "Dieses Konto existiert bereits",
"ACCOUNT_DOES_NOT_EXIST": "Dieser Account existiert nicht.",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Beim Zugriff auf den E-Mail-Server trat ein Fehler auf.",
"INVALID_INPUT_ARGUMENT": "Ungültige Eingabe",
"UNKNOWN_ERROR": "Unbekannter Fehler"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "For security purposes, this account is not allowed for this action!",
"ACCOUNT_ALREADY_EXISTS": "Account already exists",
"ACCOUNT_DOES_NOT_EXIST": "Account doesn't exist",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "An error has occured while accessing mail server",
"INVALID_INPUT_ARGUMENT": "Invalid input argument",
"UNKNOWN_ERROR": "Unknown error"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "For security purposes, this account is not allowed for this action!",
"ACCOUNT_ALREADY_EXISTS": "Account already exists",
"ACCOUNT_DOES_NOT_EXIST": "Account doesn't exist",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "An error has occured while accessing mail server",
"INVALID_INPUT_ARGUMENT": "Invalid input argument",
"UNKNOWN_ERROR": "Unknown error"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "For security purposes, this account is not allowed for this action!",
"ACCOUNT_ALREADY_EXISTS": "La cuenta ya existe",
"ACCOUNT_DOES_NOT_EXIST": "La cuenta no existe",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Ocurrió un error mientras se accedía al servidor",
"INVALID_INPUT_ARGUMENT": "Argumento no válido",
"UNKNOWN_ERROR": "Error desconocido"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Turvalisusega seotud põhjustel ei ole sellel kontol lubatud soovitud toimingut teostada!",
"ACCOUNT_ALREADY_EXISTS": "Konto juba eksisteerib",
"ACCOUNT_DOES_NOT_EXIST": "Kontot veel ei eksisteeri",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "E-posti serveri poole pöördumisel tekkis viga",
"INVALID_INPUT_ARGUMENT": "Puudulik sisendi arument",
"UNKNOWN_ERROR": "Tundmatu viga"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "بنابر اهداف امنیتی، این کاربر اجازه انجام این عملیات را ندارد!",
"ACCOUNT_ALREADY_EXISTS": "کاربر وجود دارد",
"ACCOUNT_DOES_NOT_EXIST": "کاربر وجود ندارد",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "یک خطا در زمان دسترسی به سرویس پست الکترونیک رخ داد",
"INVALID_INPUT_ARGUMENT": "پارامترهای ورودی نامعتبر",
"UNKNOWN_ERROR": "خطای نامشخص"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Turvallisuus syistä tämä ei ole sallittua!",
"ACCOUNT_ALREADY_EXISTS": "Tili on jo olemassa.",
"ACCOUNT_DOES_NOT_EXIST": "Tiliä ei ole olemassa",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Palvelinyhteydessä tapahtui virhe",
"INVALID_INPUT_ARGUMENT": "Virheelinen komento",
"UNKNOWN_ERROR": "Tuntematon virhe"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Pour des raisons de sécurité, ce compte n'est pas autorisé à faire cette action !",
"ACCOUNT_ALREADY_EXISTS": "Ce compte existe déjà",
"ACCOUNT_DOES_NOT_EXIST": "Ce compte n'existe pas",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Une erreur est survenue lors de l'accès au serveur mail",
"INVALID_INPUT_ARGUMENT": "Argument invalide",
"UNKNOWN_ERROR": "Erreur inconnue"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Biztonsági okokból, ebből a fiókból nem lehet elvégezni ezt a műveletet!",
"ACCOUNT_ALREADY_EXISTS": "A fiók már létezik",
"ACCOUNT_DOES_NOT_EXIST": "A fiók nem létezik",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Hiba történt a levelező szerverhez történő hozzáférés közben",
"INVALID_INPUT_ARGUMENT": "Érvénytelen input argumentum",
"UNKNOWN_ERROR": "Ismeretlen hiba"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Atas alasan keamanan, akun ini tidak diizinkan melakukan aksi ini!",
"ACCOUNT_ALREADY_EXISTS": "Akun sudah ada",
"ACCOUNT_DOES_NOT_EXIST": "Akun tidak ada",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Terjadi kesalahan saat mengakses server mail",
"INVALID_INPUT_ARGUMENT": "Uraian input tidak sah",
"UNKNOWN_ERROR": "Kesalahan tidak diketahui"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Vegna öryggissjónarmiða, þá hefur þessi aðgangur ekki heimild fyrir þessa aðgerð!",
"ACCOUNT_ALREADY_EXISTS": "Aðgangur er nú þegar til staðar",
"ACCOUNT_DOES_NOT_EXIST": "Aðgangur er ekki til",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Villa kom upp við tilraun til að tengjast póstþjóni",
"INVALID_INPUT_ARGUMENT": "Óleyfilegt inntaksviðfang",
"UNKNOWN_ERROR": "Óþekkt villa"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Per ragioni di sicurezza, questo account non è autorizzato ad effettuare questa operazione!",
"ACCOUNT_ALREADY_EXISTS": "L'account esiste già",
"ACCOUNT_DOES_NOT_EXIST": "L'account non esiste",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Si è verificato un errore nel server mail",
"INVALID_INPUT_ARGUMENT": "Argomento non valido",
"UNKNOWN_ERROR": "Errore sconosciuto"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "セキュリティ上の理由から、アカウントには、このアクションが許可されていません!",
"ACCOUNT_ALREADY_EXISTS": "アカウントがすでに存在します",
"ACCOUNT_DOES_NOT_EXIST": "アカウントは存在しません",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "メールサーバーへのアクセス中にエラーが発生しました",
"INVALID_INPUT_ARGUMENT": "無効な入力引数",
"UNKNOWN_ERROR": "不明なエラー"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "보안을 사유로 이 계정에서는 해당 동작이 허용되지 않습니다.",
"ACCOUNT_ALREADY_EXISTS": "이미 존재하는 계정입니다.",
"ACCOUNT_DOES_NOT_EXIST": "존재하지 않는 계정입니다",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "메일 서버에 연결하는 도중 오류가 발생했습니다.",
"INVALID_INPUT_ARGUMENT": "유효하지 않은 input argument",
"UNKNOWN_ERROR": "알 수 없는 오류"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Saugumo sumetimais, su šia paskyra negalima atlikti norimo veiksmo!",
"ACCOUNT_ALREADY_EXISTS": "Paskyra jau egzistuoja",
"ACCOUNT_DOES_NOT_EXIST": "Nėra tokios paskyros",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Klaida bandant pasiekti pašto serverį",
"INVALID_INPUT_ARGUMENT": "Neteisingas įvesties argumentas",
"UNKNOWN_ERROR": "Nežinoma klaida"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "For security purposes, this account is not allowed for this action!",
"ACCOUNT_ALREADY_EXISTS": "Konts jau eksistē",
"ACCOUNT_DOES_NOT_EXIST": "Konts neeksistē",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Radās kļūda savienojoties ar serveri",
"INVALID_INPUT_ARGUMENT": "Invalid input argument",
"UNKNOWN_ERROR": "Nezināma kļūda"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Av sikkerhetshensyn er denne kontoen blokkert fra å utføre denne handlinga.",
"ACCOUNT_ALREADY_EXISTS": "Kontoen finnes allerede",
"ACCOUNT_DOES_NOT_EXIST": "Kontoen finnes ikke",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Fikk ikke tilgang til e-posttjener",
"INVALID_INPUT_ARGUMENT": "Ugyldig inndata-argument",
"UNKNOWN_ERROR": "Ukjent feil"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Vanwege beveiliging is deze actie niet toegestaan voor deze account!",
"ACCOUNT_ALREADY_EXISTS": "Account bestaat al",
"ACCOUNT_DOES_NOT_EXIST": "Account bestaat niet.",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Fout bij toegang tot de mail Server",
"INVALID_INPUT_ARGUMENT": "Ongeldig invoer argument",
"UNKNOWN_ERROR": "Er is een onbekende fout opgetreden"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Ze względów bezpieczeństwa ta akcja jest niedozwolona na tym koncie!",
"ACCOUNT_ALREADY_EXISTS": "Konto o takiej nazwie już istnieje",
"ACCOUNT_DOES_NOT_EXIST": "Konto nie istnieje",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Wystąpił błąd w trakcie połączenia z serwerem poczty",
"INVALID_INPUT_ARGUMENT": "Nieprawidłowy argument",
"UNKNOWN_ERROR": "Nieznany błąd"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "For security purposes, this account is not allowed for this action!",
"ACCOUNT_ALREADY_EXISTS": "Esta conta já existe",
"ACCOUNT_DOES_NOT_EXIST": "Conta não existente",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Ocorreu um erro ao acessar o servidor de e-mail",
"INVALID_INPUT_ARGUMENT": "Argumento de entrada inválido",
"UNKNOWN_ERROR": "Erro desconhecido"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Por motivos de segurança, esta conta não tem permissão de executar esta ação!",
"ACCOUNT_ALREADY_EXISTS": "Esta conta já existe",
"ACCOUNT_DOES_NOT_EXIST": "Conta inexistente",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Ocorreu um erro ao aceder ao servidor de email",
"INVALID_INPUT_ARGUMENT": "Parâmetro de entrada inválido",
"UNKNOWN_ERROR": "Erro desconhecido"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "For security purposes, this account is not allowed for this action!",
"ACCOUNT_ALREADY_EXISTS": "Contul deja există",
"ACCOUNT_DOES_NOT_EXIST": "contul nu există",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Nu am reușit să accesez serverul de e-mail",
"INVALID_INPUT_ARGUMENT": "Invalid input argument",
"UNKNOWN_ERROR": "Eroare necunoscută"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "По соображениям безопасности данный аккаунт не может выполнить это действие.",
"ACCOUNT_ALREADY_EXISTS": "Аккаунт уже добавлен",
"ACCOUNT_DOES_NOT_EXIST": "Аккаунт не существует",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Ошибка доступа к почтовому серверу",
"INVALID_INPUT_ARGUMENT": "Неверный параметр",
"UNKNOWN_ERROR": "Неизвестная ошибка"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "For security purposes, this account is not allowed for this action!",
"ACCOUNT_ALREADY_EXISTS": "účet už existuje",
"ACCOUNT_DOES_NOT_EXIST": "Účet neexistuje",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Nastala chyba počas prístupu na poštový server",
"INVALID_INPUT_ARGUMENT": "Invalid input argument",
"UNKNOWN_ERROR": "Neznáma chyba"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Iz varnostnih razlogov ta račun ne sme izvršiti tega dejanja!",
"ACCOUNT_ALREADY_EXISTS": "Račun že obstaja",
"ACCOUNT_DOES_NOT_EXIST": "Račun ne obstaja",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Napaka pri dostopu do poštnega strežnika",
"INVALID_INPUT_ARGUMENT": "Neveljaven vhodni argument",
"UNKNOWN_ERROR": "Neznana napaka"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "Av säkerhetsskäl är det här kontot inte tillåtet för denna åtgärd!",
"ACCOUNT_ALREADY_EXISTS": "Kontot finns redan",
"ACCOUNT_DOES_NOT_EXIST": "Kontot finns inte",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Ett fel har inträffat vid anslutning till epostservern",
"INVALID_INPUT_ARGUMENT": "Ogiltigt argument",
"UNKNOWN_ERROR": "Okänt fel"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "For security purposes, this account is not allowed for this action!",
"ACCOUNT_ALREADY_EXISTS": "Hesap zaten var",
"ACCOUNT_DOES_NOT_EXIST": "Account doesn't exist",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Posta sunucusuna erişirken bir hata oluştu",
"INVALID_INPUT_ARGUMENT": "Invalid input argument",
"UNKNOWN_ERROR": "Bilinmeyen Hata"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "For security purposes, this account is not allowed for this action!",
"ACCOUNT_ALREADY_EXISTS": "акаунт вже додано",
"ACCOUNT_DOES_NOT_EXIST": "Account doesn't exist",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "Помилка доступу до поштового серверу",
"INVALID_INPUT_ARGUMENT": "Invalid input argument",
"UNKNOWN_ERROR": "Невідома помилка"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "出于安全考虑,测试账号无法进行此操作!",
"ACCOUNT_ALREADY_EXISTS": "账户已存在",
"ACCOUNT_DOES_NOT_EXIST": "账户不存在",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "访问邮件服务器遇到错误。",
"INVALID_INPUT_ARGUMENT": "无效的参数输入",
"UNKNOWN_ERROR": "未知错误"

View file

@ -559,6 +559,7 @@
"DEMO_ACCOUNT_ERROR": "For security purposes, this account is not allowed for this action!",
"ACCOUNT_ALREADY_EXISTS": "帳戶已存在",
"ACCOUNT_DOES_NOT_EXIST": "Account doesn't exist",
"ACCOUNT_SWITCH_FAILED": "Switch to account \"%EMAIL%\" failed",
"MAIL_SERVER_ERROR": "訪問郵件伺服器遇到錯誤。",
"INVALID_INPUT_ARGUMENT": "Invalid input argument",
"UNKNOWN_ERROR": "未知錯誤"