better prompt
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
1d85d87b40
commit
18ca4273be
@ -148,40 +148,63 @@ class _InstallPageBodyState extends State<_InstallPageBody>
|
||||
.marginOnly(left: em))
|
||||
],
|
||||
).marginSymmetric(vertical: 2 * em),
|
||||
Row(
|
||||
children: [
|
||||
Obx(() => Checkbox(
|
||||
value: startmenu.value,
|
||||
onChanged: (b) {
|
||||
if (b != null) startmenu.value = b;
|
||||
})),
|
||||
Text(translate('Create start menu shortcuts'))
|
||||
],
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Obx(() => Checkbox(
|
||||
value: desktopicon.value,
|
||||
onChanged: (b) {
|
||||
if (b != null) desktopicon.value = b;
|
||||
})),
|
||||
Text(translate('Create desktop icon'))
|
||||
],
|
||||
),
|
||||
Offstage(
|
||||
offstage: !Platform.isWindows,
|
||||
TextButton(
|
||||
onPressed: () => startmenu.value = !startmenu.value,
|
||||
child: Row(
|
||||
children: [
|
||||
Obx(() => Checkbox(
|
||||
value: driverCert.value,
|
||||
value: startmenu.value,
|
||||
onChanged: (b) {
|
||||
if (b != null) driverCert.value = b;
|
||||
if (b != null) startmenu.value = b;
|
||||
})),
|
||||
Text(
|
||||
'${translate('Install driver cert (test cert)')} ${translate('Virtual display need')}')
|
||||
RichText(
|
||||
text: TextSpan(
|
||||
text: translate('Create start menu shortcuts'),
|
||||
style: DefaultTextStyle.of(context).style,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () => desktopicon.value = !desktopicon.value,
|
||||
child: Row(
|
||||
children: [
|
||||
Obx(() => Checkbox(
|
||||
value: desktopicon.value,
|
||||
onChanged: (b) {
|
||||
if (b != null) desktopicon.value = b;
|
||||
})),
|
||||
RichText(
|
||||
text: TextSpan(
|
||||
text: translate('Create desktop icon'),
|
||||
style: DefaultTextStyle.of(context).style,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
Offstage(
|
||||
offstage: !Platform.isWindows,
|
||||
child: TextButton(
|
||||
onPressed: () => driverCert.value = !driverCert.value,
|
||||
child: Row(
|
||||
children: [
|
||||
Obx(() => Checkbox(
|
||||
value: driverCert.value,
|
||||
onChanged: (b) {
|
||||
if (b != null) driverCert.value = b;
|
||||
})),
|
||||
RichText(
|
||||
text: TextSpan(
|
||||
text: translate('idd_driver_tip'),
|
||||
style: DefaultTextStyle.of(context).style,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
GestureDetector(
|
||||
onTap: () => launchUrlString('http://rustdesk.com/privacy'),
|
||||
child: Row(
|
||||
@ -273,7 +296,8 @@ class _InstallPageBodyState extends State<_InstallPageBody>
|
||||
(setState, close) => CustomAlertDialog(
|
||||
title: null,
|
||||
content: SelectionArea(
|
||||
child: msgboxContent('info', '', 'instsall_cert_tip')),
|
||||
child:
|
||||
msgboxContent('info', 'Warning', 'confirm_idd_driver_tip')),
|
||||
actions: btns,
|
||||
onCancel: close,
|
||||
),
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", "分辨率"),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", "安装驱动证书 (测试证书)"),
|
||||
("Virtual display need", "虚拟显示器需要"),
|
||||
("instsall_cert_tip", "已选择安装驱动,是否继续?")
|
||||
("idd_driver_tip", "安装虚拟显示器驱动,以便在没有连接显示器的情况下启动虚拟显示器进行控制。"),
|
||||
("confirm_idd_driver_tip", "安装虚拟显示器驱动的选项已勾选。请注意,测试证书将被安装以信任虚拟显示器驱动。测试证书仅会用于信任Rustdesk的驱动。")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", "Auflösung"),
|
||||
("No transfers in progress", "Keine Übertragungen im Gange"),
|
||||
("Set one-time password length", "Länge des Einmalpassworts festlegen"),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", "Ανάλυση"),
|
||||
("No transfers in progress", "Δεν υπάρχει μεταφορά σε εξέλιξη"),
|
||||
("Set one-time password length", "Μέγεθος κωδικού μιας χρήσης"),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -45,6 +45,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("config_microphone", "In order to speak remotely, you need to grant RustDesk \"Record Audio\" permissions."),
|
||||
("relay_hint_tip", "It may not be possible to connect directly, you can try to connect via relay. \nIn addition, if you want to use relay on your first try, you can add the \"/r\" suffix to the ID, or select the option \"Always connect via relay\" in the peer card."),
|
||||
("No transfers in progress", ""),
|
||||
("instsall_cert_tip", "\"Install driver cert\" is checked, continue?")
|
||||
("idd_driver_tip", "Install virtual display driver which is used when you have no physical displays."),
|
||||
("confirm_idd_driver_tip", "The option to install the virtual display driver is checked. Note that a test certificate will be installed to trust the virtual display driver. This test certificate will only be used to trust Rustdesk drivers.")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", "Resolución"),
|
||||
("No transfers in progress", "No hay transferencias en curso"),
|
||||
("Set one-time password length", "Establecer contraseña de un solo uso"),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", "وضوح"),
|
||||
("No transfers in progress", "هیچ انتقالی در حال انجام نیست"),
|
||||
("Set one-time password length", "طول رمز یکبار مصرف را تعیین کنید"),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", "Risoluzione"),
|
||||
("No transfers in progress", "Nessun trasferimento in corso"),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", "Resolutie"),
|
||||
("No transfers in progress", "Geen overdrachten in uitvoering"),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", "Rozdzielczość"),
|
||||
("No transfers in progress", "Brak transferów w toku"),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", "Разрешение"),
|
||||
("No transfers in progress", "Передача не осуществляется"),
|
||||
("Set one-time password length", "Установить длину одноразового пароля"),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", "分辨率"),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -461,8 +461,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Resolution", ""),
|
||||
("No transfers in progress", ""),
|
||||
("Set one-time password length", ""),
|
||||
("Install driver cert (test cert)", ""),
|
||||
("Virtual display need", ""),
|
||||
("instsall_cert_tip", "")
|
||||
("idd_driver_tip", ""),
|
||||
("confirm_idd_driver_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user