refact: translate tip id (#13412)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -1631,7 +1631,7 @@ class _NetworkState extends State<_Network> with AutomaticKeepAliveClientMixin {
|
||||
switchWidget(
|
||||
Icons.web_asset_outlined,
|
||||
'Use WebSocket',
|
||||
'${translate('websocket_tip')}\n\n${translate('oss-not-support-tip')}',
|
||||
'${translate('websocket_tip')}\n\n${translate('server-oss-not-support-tip')}',
|
||||
kOptionAllowWebSocket),
|
||||
if (!isWeb)
|
||||
futureBuilder(
|
||||
@@ -1656,7 +1656,7 @@ class _NetworkState extends State<_Network> with AutomaticKeepAliveClientMixin {
|
||||
title: 'Disable UDP',
|
||||
showTooltip: true,
|
||||
tooltipMessage:
|
||||
'${translate('disable-udp-tip')}\n\n${translate('oss-not-support-tip')}',
|
||||
'${translate('disable-udp-tip')}\n\n${translate('server-oss-not-support-tip')}',
|
||||
trailing: Switch(
|
||||
value: bind.mainGetOptionSync(
|
||||
key: kOptionDisableUdp) ==
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", "默认情况下,对于使用 TLS 的协议,RustDesk 会验证服务器证书。\n启用此选项后,在验证失败时,RustDesk 将转为跳过验证步骤并继续连接。"),
|
||||
("Disable UDP", "禁用 UDP"),
|
||||
("disable-udp-tip", "控制是否仅使用TCP。\n启用此选项后,RustDesk 将不再使用UDP 21116,而是使用TCP 21116。"),
|
||||
("oss-not-support-tip", "注意:RustDesk 开源服务器(oss server) 不包含此功能。"),
|
||||
("server-oss-not-support-tip", "注意:RustDesk 开源服务器(OSS server) 不包含此功能。"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -260,6 +260,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("elevation_username_tip", "Input username or domain\\username"),
|
||||
("allow-insecure-tls-fallback-tip", "By default, RustDesk verifies the server certificate for protocols using TLS.\nWith this option enabled, RustDesk will fall back to skipping the verification step and proceed in case of verification failure."),
|
||||
("disable-udp-tip", "Controls whether to use TCP only.\nWhen this option enabled, RustDesk will not use UDP 21116 any more, TCP 21116 will be used instead."),
|
||||
("oss-not-support-tip", "NOTE: RustDesk server oss doesn't include this feature."),
|
||||
("server-oss-not-support-tip", "NOTE: RustDesk server OSS doesn't include this feature."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -726,6 +726,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("allow-insecure-tls-fallback-tip", ""),
|
||||
("Disable UDP", ""),
|
||||
("disable-udp-tip", ""),
|
||||
("oss-not-support-tip", ""),
|
||||
("server-oss-not-support-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user