update dialog style

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-03-29 23:18:27 +08:00
parent c944d6093d
commit 9448e35b46
36 changed files with 764 additions and 584 deletions

View File

@ -456,7 +456,7 @@ void enterPasswordDialog(String id, OverlayDialogManager dialogManager) async {
await _connectDialog(
id,
dialogManager,
peerPasswordController: TextEditingController(),
passwordController: TextEditingController(),
);
}
@ -464,8 +464,8 @@ void enterUserLoginDialog(String id, OverlayDialogManager dialogManager) async {
await _connectDialog(
id,
dialogManager,
usernameController: TextEditingController(),
passwordController: TextEditingController(),
osUsernameController: TextEditingController(),
osPasswordController: TextEditingController(),
);
}
@ -474,20 +474,27 @@ void enterUserLoginAndPasswordDialog(
await _connectDialog(
id,
dialogManager,
usernameController: TextEditingController(),
osUsernameController: TextEditingController(),
osPasswordController: TextEditingController(),
passwordController: TextEditingController(),
peerPasswordController: TextEditingController(),
);
}
_connectDialog(
String id,
OverlayDialogManager dialogManager, {
TextEditingController? usernameController,
TextEditingController? osUsernameController,
TextEditingController? osPasswordController,
TextEditingController? passwordController,
TextEditingController? peerPasswordController,
}) async {
var remember = await bind.sessionGetRemember(id: id) ?? false;
var rememberPassword = false;
if (passwordController != null) {
rememberPassword = await bind.sessionGetRemember(id: id) ?? false;
}
var rememberAccount = false;
if (osUsernameController != null) {
rememberAccount = await bind.sessionGetRemember(id: id) ?? false;
}
dialogManager.dismissAll();
dialogManager.show((setState, close) {
cancel() {
@ -501,77 +508,125 @@ _connectDialog(
// If the remote side is headless.
// The client side should login to remote OS account, to enable X desktop session.
// `username` and `password` will be used in the near future.
final username = usernameController?.text.trim() ?? '';
final osUsername = osUsernameController?.text.trim() ?? '';
final osPassword = osPasswordController?.text.trim() ?? '';
final password = passwordController?.text.trim() ?? '';
final peerPassword = peerPasswordController?.text.trim() ?? '';
if (peerPasswordController != null && peerPassword.isEmpty) return;
if (passwordController != null && password.isEmpty) return;
gFFI.login(
username,
password,
osUsername,
osPassword,
id,
peerPassword,
remember,
password,
rememberPassword,
);
close();
dialogManager.showLoading(translate('Logging in...'),
onCancel: closeConnection);
}
descWidget(String text) {
return Column(
children: [
Align(
alignment: Alignment.centerLeft,
child: Text(
text,
maxLines: 3,
softWrap: true,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 16),
),
),
Container(
height: 8,
),
],
);
}
rememberWidget(
String desc,
bool remember,
ValueChanged<bool?>? onChanged,
) {
return CheckboxListTile(
contentPadding: const EdgeInsets.all(0),
dense: true,
controlAffinity: ListTileControlAffinity.leading,
title: Text(desc),
value: remember,
onChanged: onChanged,
);
}
osAccountWidget() {
if (osUsernameController == null || osPasswordController == null) {
return Offstage();
}
return Column(
children: [
descWidget(translate('login_linux_tooltip_tip')),
DialogTextField(
title: translate(DialogTextField.kUsernameTitle),
controller: osUsernameController,
prefixIcon: DialogTextField.kUsernameIcon,
errorText: null,
),
PasswordWidget(
controller: osPasswordController,
autoFocus: false,
),
rememberWidget(
translate('remember_account_tip'),
rememberAccount,
(v) {
if (v != null) {
setState(() => rememberAccount = v);
}
},
),
],
);
}
passwdWidget() {
if (passwordController == null) {
return Offstage();
}
return Column(
children: [
descWidget(translate('verify_rustdesk_password_tip')),
PasswordWidget(
controller: passwordController,
autoFocus: osUsernameController == null,
),
rememberWidget(
translate('remember_password_tip'),
rememberPassword,
(v) {
if (v != null) {
setState(() => rememberPassword = v);
}
},
),
],
);
}
return CustomAlertDialog(
title: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(Icons.password_rounded, color: MyTheme.accent),
(usernameController == null
? Text(translate('Password Required'))
: Tooltip(
message: translate('login_linux_tooltip_tip'),
child: Text(translate('login_linux_tip')),
))
.paddingOnly(left: 10),
Text(translate('Password Required')).paddingOnly(left: 10),
],
),
content: Column(mainAxisSize: MainAxisSize.min, children: [
usernameController == null
osAccountWidget(),
osUsernameController == null || passwordController == null
? Offstage()
: DialogTextField(
title: translate(DialogTextField.kUsernameTitle),
controller: usernameController,
prefixIcon: DialogTextField.kUsernameIcon,
errorText: null,
),
passwordController == null
? Offstage()
: PasswordWidget(
controller: passwordController,
autoFocus: false,
),
usernameController == null || peerPasswordController == null
? Offstage()
: const Divider(),
peerPasswordController == null
? Offstage()
: PasswordWidget(
controller: peerPasswordController,
autoFocus: usernameController == null,
hintText: 'enter_rustdesk_passwd_tip',
),
peerPasswordController == null
? Offstage()
: CheckboxListTile(
contentPadding: const EdgeInsets.all(0),
dense: true,
controlAffinity: ListTileControlAffinity.leading,
title: Text(
translate('remember_rustdesk_passwd_tip'),
),
value: remember,
onChanged: (v) {
if (v != null) {
setState(() => remember = v);
}
},
),
: Container(height: 10),
passwdWidget(),
]),
actions: [
dialogButton(

View File

@ -233,7 +233,12 @@ class _ConnectionPageState extends State<ConnectionPage>
const SizedBox(
width: 17,
),
Button(onTap: onConnect, text: "Connect"),
Button(
onTap: () => enterUserLoginAndPasswordDialog(
'fdsfd',
gFFI.dialogManager,
),
text: "Connect"),
],
),
)

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Tancar"),
("Retry", "Reintentar"),
("OK", ""),
("Password Required", "Es necessita la contrasenya"),
("remember_password_tip", "Es necessita la contrasenya"),
("Please enter your password", "Si us plau, introdueixi la seva contrasenya"),
("Remember password", "Recordar contrasenya"),
("Wrong Password", "Contrasenya incorrecta"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "关闭"),
("Retry", "再试"),
("OK", "确认"),
("Password Required", "需要密码"),
("remember_password_tip", "需要密码"),
("Please enter your password", "请输入密码"),
("Remember password", "记住密码"),
("Wrong Password", "密码错误"),
@ -483,6 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", "请输入 RustDesk 密码"),
("remember_rustdesk_passwd_tip", "记住 RustDesk 密码"),
("login_linux_tip", "登录被控端的 Linux 账户"),
("login_linux_tooltip_tip", "登录被控端的 Linux 账户,才能启用 X 桌面"),
("login_linux_tooltip_tip", "登录被控端的 Linux 账户,才能启用 X 桌面。"),
("verify_rustdesk_password_tip", "验证 RustDesk 密码"),
("remember_account_tip", "记住此账户"),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Zavřít"),
("Retry", "Zkusit znovu"),
("OK", "OK"),
("Password Required", "Vyžadováno heslo"),
("remember_password_tip", "Vyžadováno heslo"),
("Please enter your password", "Zadejte své heslo"),
("Remember password", "Zapamatovat heslo"),
("Wrong Password", "Nesprávné heslo"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Luk"),
("Retry", "Prøv igen"),
("OK", "OK"),
("Password Required", "Adgangskode påkrævet"),
("remember_password_tip", "Adgangskode påkrævet"),
("Please enter your password", "Indtast venligst dit kodeord"),
("Remember password", "Husk kodeord"),
("Wrong Password", "Forkert kodeord"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Schließen"),
("Retry", "Erneut versuchen"),
("OK", "OK"),
("Password Required", "Passwort erforderlich"),
("remember_password_tip", "Passwort erforderlich"),
("Please enter your password", "Bitte geben Sie Ihr Passwort ein"),
("Remember password", "Passwort merken"),
("Wrong Password", "Falsches Passwort"),
@ -484,5 +484,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("remember_rustdesk_passwd_tip", "RustDesk-Passwort merken."),
("login_linux_tip", "Anmeldung am entfernten Linux-Konto"),
("login_linux_tooltip_tip", "Sie müssen sich an einem entfernten Linux-Konto anmelden, um eine X-Desktop-Sitzung zu eröffnen."),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Κλείσιμο"),
("Retry", "Δοκίμασε ξανά"),
("OK", "ΟΚ"),
("Password Required", "Απαιτείται κωδικός πρόσβασης"),
("remember_password_tip", "Απαιτείται κωδικός πρόσβασης"),
("Please enter your password", "Παρακαλώ εισάγετε τον κωδικό πρόσβασης"),
("Remember password", "Απομνημόνευση κωδικού πρόσβασης"),
("Wrong Password", "Λάθος κωδικός πρόσβασης"),
@ -484,5 +484,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("remember_rustdesk_passwd_tip", "Να θυμάσαι τον κωδικό του RustDesk."),
("login_linux_tip", "Είσοδος σε απομακρυσμένο λογαριασμό Linux"),
("login_linux_tooltip_tip", "Απαιτείται είσοδος σε απομακρυσμένο λογαριασμό Linux για την ενεργοποίηση του περιβάλλον εργασίας Χ."),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -56,7 +56,10 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("show_monitors_tip", "Show monitors in toolbar."),
("enter_rustdesk_passwd_tip", "Enter RustDesk password."),
("remember_rustdesk_passwd_tip", "Remember RustDesk password."),
("login_linux_tip", "Login to remote Linux account"),
("login_linux_tip", "Login to remote Linux account."),
("login_linux_tooltip_tip", "You need to login to remote Linux account to enable a X desktop session."),
("verify_rustdesk_password_tip", "Veryfy RustDesk password."),
("remember_account_tip", "Remember this account."),
("remember_password_tip", "Remember password."),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Fermi"),
("Retry", "Reprovi"),
("OK", "Konfermi"),
("Password Required", "Pasvorto deviga"),
("remember_password_tip", "Pasvorto deviga"),
("Please enter your password", "Bonvolu tajpi vian pasvorton"),
("Remember password", "Memori pasvorton"),
("Wrong Password", "Erara pasvorto"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Cerrar"),
("Retry", "Reintentar"),
("OK", ""),
("Password Required", "Se requiere contraseña"),
("remember_password_tip", "Se requiere contraseña"),
("Please enter your password", "Por favor, introduzca su contraseña"),
("Remember password", "Recordar contraseña"),
("Wrong Password", "Contraseña incorrecta"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", "Introduzca la contraseña de RustDesk"),
("remember_rustdesk_passwd_tip", "Recordar la contraseña de RustDesk"),
("login_linux_tip", "Iniciar sesión para la cuenta remota de Linux"),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "بستن"),
("Retry", "تلاش مجدد"),
("OK", "قبول"),
("Password Required", "رمز عبور لازم است"),
("remember_password_tip", "رمز عبور لازم است"),
("Please enter your password", "رمز عبور خود را وارد کنید"),
("Remember password", "رمز عبور را به خاطر بسپار"),
("Wrong Password", "رمز عبور اشتباه است"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Fermer"),
("Retry", "Réessayer"),
("OK", "Valider"),
("Password Required", "Mot de passe requis"),
("remember_password_tip", "Mot de passe requis"),
("Please enter your password", "Veuillez saisir votre mot de passe"),
("Remember password", "Mémoriser le mot de passe"),
("Wrong Password", "Mauvais mot de passe"),

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Bezárás"),
("Retry", "Újra"),
("OK", "OK"),
("Password Required", "Jelszó megadása kötelező"),
("remember_password_tip", "Jelszó megadása kötelező"),
("Please enter your password", "Kérem írja be a jelszavát"),
("Remember password", "Jelszó megjegyzése"),
("Wrong Password", "Hibás jelszó"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Tutup"),
("Retry", "Ulangi"),
("OK", "Oke"),
("Password Required", "Kata sandi dibutuhkan"),
("remember_password_tip", "Kata sandi dibutuhkan"),
("Please enter your password", "Silahkan masukkan kata sandi anda"),
("Remember password", "Ingat Password"),
("Wrong Password", "Kata sandi Salah"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Chiudi"),
("Retry", "Riprova"),
("OK", "OK"),
("Password Required", "Password Richiesta"),
("remember_password_tip", "Password Richiesta"),
("Please enter your password", "Inserisci la tua password"),
("Remember password", "Ricorda password"),
("Wrong Password", "Password Errata"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", "Inserisci la password di RustDesk."),
("remember_rustdesk_passwd_tip", "Ricorda la passowrd di RustDesk."),
("login_linux_tip", "Effettua l'accesso sul tuo account Linux"),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "閉じる"),
("Retry", "再試行"),
("OK", "OK"),
("Password Required", "パスワードが必要"),
("remember_password_tip", "パスワードが必要"),
("Please enter your password", "パスワードを入力してください"),
("Remember password", "パスワードを記憶する"),
("Wrong Password", "パスワードが間違っています"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "닫기"),
("Retry", "재시도"),
("OK", "확인"),
("Password Required", "비밀번호 입력"),
("remember_password_tip", "비밀번호 입력"),
("Please enter your password", "비밀번호를 입력해주세요"),
("Remember password", "이 비밀번호 기억하기"),
("Wrong Password", "틀린 비밀번호"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Жабу"),
("Retry", "Қайтадан көру"),
("OK", "OK"),
("Password Required", "Құпия сөз Қажет"),
("remember_password_tip", "Құпия сөз Қажет"),
("Please enter your password", "Құпия сөзіңізді еңгізуді өтінеміз"),
("Remember password", "Құпия сөзді есте сақтау"),
("Wrong Password", "Бұрыс Құпия сөз"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Sluit"),
("Retry", "Probeer opnieuw"),
("OK", "OK"),
("Password Required", "Wachtwoord vereist"),
("remember_password_tip", "Wachtwoord vereist"),
("Please enter your password", "Geef uw wachtwoord in"),
("Remember password", "Wachtwoord onthouden"),
("Wrong Password", "Verkeerd wachtwoord"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", "Geef het RustDesk-wachtwoord op."),
("remember_rustdesk_passwd_tip", "RustDesk Wachtwoord onthouden."),
("login_linux_tip", "Je moet inloggen op een Linux Account op afstand om een X desktop sessie te openen."),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Zamknij"),
("Retry", "Ponów"),
("OK", "OK"),
("Password Required", "Wymagane jest hasło"),
("remember_password_tip", "Wymagane jest hasło"),
("Please enter your password", "Wpisz proszę twoje hasło"),
("Remember password", "Zapamiętaj hasło"),
("Wrong Password", "Błędne hasło"),

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Fechar"),
("Retry", "Tentar novamente"),
("OK", "Confirmar"),
("Password Required", "Palavra-chave Necessária"),
("remember_password_tip", "Palavra-chave Necessária"),
("Please enter your password", "Por favor introduza a sua palavra-chave"),
("Remember password", "Memorizar palavra-chave"),
("Wrong Password", "Palavra-chave inválida"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Fechar"),
("Retry", "Tentar novamente"),
("OK", "OK"),
("Password Required", "Senha necessária"),
("remember_password_tip", "Senha necessária"),
("Please enter your password", "Por favor informe sua senha"),
("Remember password", "Lembrar senha"),
("Wrong Password", "Senha incorreta"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Închide"),
("Retry", "Reîncearcă"),
("OK", "OK"),
("Password Required", "Parolă necesară"),
("remember_password_tip", "Parolă necesară"),
("Please enter your password", "Introdu parola"),
("Remember password", "Memorează parola"),
("Wrong Password", "Parolă incorectă"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Закрыть"),
("Retry", "Повторить"),
("OK", "ОК"),
("Password Required", "Требуется пароль"),
("remember_password_tip", "Требуется пароль"),
("Please enter your password", "Введите пароль"),
("Remember password", "Запомнить пароль"),
("Wrong Password", "Неправильный пароль"),
@ -484,5 +484,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("remember_rustdesk_passwd_tip", "Запомнить пароль RustDesk"),
("login_linux_tip", "Вход в удалённый аккаунт Linux"),
("login_linux_tooltip_tip", "Чтобы включить сеанс рабочего стола X, необходимо войти в удалённый аккаунт Linux."),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Zatvoriť"),
("Retry", "Zopakovať"),
("OK", "OK"),
("Password Required", "Vyžaduje sa heslo"),
("remember_password_tip", "Vyžaduje sa heslo"),
("Please enter your password", "Zadajte vaše heslo"),
("Remember password", "Zapamätať heslo"),
("Wrong Password", "Chybné heslo"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Zapri"),
("Retry", "Ponovi"),
("OK", "V redu"),
("Password Required", "Potrebno je geslo"),
("remember_password_tip", "Potrebno je geslo"),
("Please enter your password", "Vnesite vaše geslo"),
("Remember password", "Zapomni si geslo"),
("Wrong Password", "Napačno geslo"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Mbyll"),
("Retry", "Riprovo"),
("OK", "OK"),
("Password Required", "Fjalëkalimi i detyrueshëm"),
("remember_password_tip", "Fjalëkalimi i detyrueshëm"),
("Please enter your password", "Ju lutem vendosni fjalëkalimin tuaj"),
("Remember password", "Mbani mend fjalëkalimin"),
("Wrong Password", "Fjalëkalim i gabuar"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Zatvori"),
("Retry", "Ponovi"),
("OK", "Ok"),
("Password Required", "Potrebna lozinka"),
("remember_password_tip", "Potrebna lozinka"),
("Please enter your password", "Molimo unesite svoju lozinku"),
("Remember password", "Zapamti lozinku"),
("Wrong Password", "Pogrešna lozinka"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Stäng"),
("Retry", "Försök igen"),
("OK", "OK"),
("Password Required", "Lösenord krävs"),
("remember_password_tip", "Lösenord krävs"),
("Please enter your password", "Skriv in ditt lösenord"),
("Remember password", "Kom ihåg lösenord"),
("Wrong Password", "Fel lösenord"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", ""),
("Retry", ""),
("OK", ""),
("Password Required", ""),
("remember_password_tip", ""),
("Please enter your password", ""),
("Remember password", ""),
("Wrong Password", ""),
@ -484,5 +484,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "ปิด"),
("Retry", "ลองใหม่อีกครั้ง"),
("OK", "ตกลง"),
("Password Required", "ต้องใช้รหัสผ่าน"),
("remember_password_tip", "ต้องใช้รหัสผ่าน"),
("Please enter your password", "กรุณาใส่รหัสผ่านของคุณ"),
("Remember password", "จดจำรหัสผ่าน"),
("Wrong Password", "รหัสผ่านไม่ถูกต้อง"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Kapat"),
("Retry", "Tekrar Dene"),
("OK", "Tamam"),
("Password Required", "Şifre Gerekli"),
("remember_password_tip", "Şifre Gerekli"),
("Please enter your password", "Lütfen şifrenizi giriniz"),
("Remember password", "Şifreyi hatırla"),
("Wrong Password", "Hatalı şifre"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "關閉"),
("Retry", "重試"),
("OK", "確定"),
("Password Required", "需要密碼"),
("remember_password_tip", "需要密碼"),
("Please enter your password", "請輸入您的密碼"),
("Remember password", "記住密碼"),
("Wrong Password", "密碼錯誤"),
@ -484,5 +484,8 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("remember_rustdesk_passwd_tip", "記住 RustDesk 密碼"),
("login_linux_tip", "登入到遠端 Linux 使用者帳戶"),
("login_linux_tooltip_tip", "需要登入到遠端 Linux 使用者帳戶才能啟用 X 介面。"),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Закрити"),
("Retry", "Спробувати знову"),
("OK", "ОК"),
("Password Required", "Потрібен пароль"),
("remember_password_tip", "Потрібен пароль"),
("Please enter your password", "Будь ласка, введіть ваш пароль"),
("Remember password", "Запам'ятати пароль"),
("Wrong Password", "Невірний пароль"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}

View File

@ -68,7 +68,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Close", "Đóng"),
("Retry", "Thử lại"),
("OK", "OK"),
("Password Required", "Yêu cầu mật khẩu"),
("remember_password_tip", "Yêu cầu mật khẩu"),
("Please enter your password", "Mời nhập mật khẩu"),
("Remember password", "Nhớ mật khẩu"),
("Wrong Password", "Sai mật khẩu"),
@ -483,5 +483,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("enter_rustdesk_passwd_tip", ""),
("remember_rustdesk_passwd_tip", ""),
("login_linux_tip", ""),
("login_linux_tooltip_tip", ""),
("verify_rustdesk_password_tip", ""),
("remember_account_tip", ""),
("remember_password_tip", ""),
].iter().cloned().collect();
}