diff --git a/src/lang/cn.rs b/src/lang/cn.rs index 545b52a24..c7849b11b 100644 --- a/src/lang/cn.rs +++ b/src/lang/cn.rs @@ -42,7 +42,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Invalid IP", "无效IP"), ("id_change_tip", "只可以使用字母a-z, A-Z, 0-9, _ (下划线)。首字母必须是a-z, A-Z。长度在6与16之间。"), ("Invalid format", "无效格式"), - ("This function is turned off by the server", "服务器关闭了此功能"), + ("server_not_support", "服务器暂不支持"), ("Not available", "已被占用"), ("Too frequent", "修改太频繁,请稍后再试"), ("Cancel", "取消"), diff --git a/src/lang/de.rs b/src/lang/de.rs index 684178a96..d05ad481b 100644 --- a/src/lang/de.rs +++ b/src/lang/de.rs @@ -42,7 +42,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Invalid IP", "Ungültige IP-Adresse"), ("id_change_tip", "Nur die Zeichen a-z, A-Z, 0-9 und _ (Unterstrich) sind erlaubt. Der erste Buchstabe muss a-z, A-Z sein. Länge zwischen 6 und 16."), ("Invalid format", "Ungültiges Format"), - ("This function is turned off by the server", "Diese Funktion wird vom Server nicht bereitgestellt"), + ("server_not_support", "Noch nicht vom Server unterstützt"), ("Not available", "Nicht verfügbar"), ("Too frequent", "Zu häufig"), ("Cancel", "Abbrechen"), diff --git a/src/lang/en.rs b/src/lang/en.rs index d389cdb6b..a4d11d415 100644 --- a/src/lang/en.rs +++ b/src/lang/en.rs @@ -26,5 +26,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("android_start_service_tip", "Tap [Start Service] or OPEN [Screen Capture] permission to start the screen sharing service."), ("doc_mac_permission", "https://rustdesk.com/docs/en/manual/mac/#enable-permissions"), ("doc_fix_wayland", "https://rustdesk.com/docs/en/manual/linux/#x11-required"), + ("server_not_support", "Not yet supported by the server"), ].iter().cloned().collect(); } diff --git a/src/lang/eo.rs b/src/lang/eo.rs index 3cd417c29..e7be14e51 100644 --- a/src/lang/eo.rs +++ b/src/lang/eo.rs @@ -42,7 +42,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Invalid IP", "IP nevalida"), ("id_change_tip", "Nur la signoj a-z, A-Z, 0-9, _ (substreko) povas esti uzataj. La unua litero povas esti inter a-z, A-Z. La longeco devas esti inter 6 kaj 16."), ("Invalid format", "Formato nevalida"), - ("This function is turned off by the server", "Tiu funkcio estas malebligata de la servilo"), ("Not available", "Nedisponebla"), ("Too frequent", "Tro ofte ŝanĝita, bonvolu reprovi poste"), ("Cancel", "Nuligi"), diff --git a/src/lang/fr.rs b/src/lang/fr.rs index 87cdf4c64..8f6c3f83b 100644 --- a/src/lang/fr.rs +++ b/src/lang/fr.rs @@ -42,7 +42,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Invalid IP", "IP invalide"), ("id_change_tip", "Seules les lettres a-z, A-Z, 0-9, _ (trait de soulignement) peuvent être utilisées. La première lettre doit être a-z, A-Z. La longueur doit être comprise entre 6 et 16."), ("Invalid format", "Format invalide"), - ("This function is turned off by the server", "Cette fonction est désactivée par le serveur"), + ("server_not_support", "Pas encore supporté par le serveur"), ("Not available", "Indisponible"), ("Too frequent", "Modifié trop fréquemment, veuillez réessayer plus tard"), ("Cancel", "Annuler"), diff --git a/src/lang/id.rs b/src/lang/id.rs index 94f3d7d7d..5b8475995 100644 --- a/src/lang/id.rs +++ b/src/lang/id.rs @@ -42,7 +42,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Invalid IP", "IP tidak valid"), ("id_change_tip", "Hanya karakter a-z, A-Z, 0-9 dan _ (underscore) yang diperbolehkan. Huruf pertama harus a-z, A-Z. Panjang antara 6 dan 16."), ("Invalid format", "Format tidak valid"), - ("This function is turned off by the server", "Fungsi ini dimatikan oleh server"), + ("server_not_support", "Belum didukung oleh server"), ("Not available", "Tidak tersedia"), ("Too frequent", "Terlalu sering"), ("Cancel", "Batal"), diff --git a/src/lang/it.rs b/src/lang/it.rs index d63395e87..15d741297 100644 --- a/src/lang/it.rs +++ b/src/lang/it.rs @@ -42,7 +42,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Invalid IP", "Indirizzo IP non valido"), ("id_change_tip", "Puoi usare solo i caratteri a-z, A-Z, 0-9 e _ (underscore). Il primo carattere deve essere a-z o A-Z. La lunghezza deve essere fra 6 e 16 caratteri."), ("Invalid format", "Formato non valido"), - ("This function is turned off by the server", "Questa funzione è disabilitata sul server"), + ("server_not_support", "Non ancora supportato dal server"), ("Not available", "Non disponibile"), ("Too frequent", "Troppo frequente"), ("Cancel", "Annulla"), diff --git a/src/lang/ptbr.rs b/src/lang/ptbr.rs index 1ec3f6c11..1fd771505 100644 --- a/src/lang/ptbr.rs +++ b/src/lang/ptbr.rs @@ -42,7 +42,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Invalid IP", "IP inválido"), ("id_change_tip", "Somente os caracteres a-z, A-Z, 0-9 e _ (sublinhado) são permitidos. A primeira letra deve ser a-z, A-Z. Comprimento entre 6 e 16."), ("Invalid format", "Formato inválido"), - ("This function is turned off by the server", "Esta funcionalidade foi desligada pelo servidor"), + ("server_not_support", "Ainda não suportado pelo servidor"), ("Not available", "Indisponível"), ("Too frequent", "Muito frequente"), ("Cancel", "Cancelar"), diff --git a/src/lang/ru.rs b/src/lang/ru.rs index 25836a38a..0249b4eee 100644 --- a/src/lang/ru.rs +++ b/src/lang/ru.rs @@ -42,7 +42,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Invalid IP", "Неверный IP-адрес"), ("id_change_tip", "Допускаются только символы a-z, A-Z, 0-9 и _ (подчеркивание). Первая буква должна быть a-z, A-Z. Длина от 6 до 16"), ("Invalid format", "Неверный формат"), - ("This function is turned off by the server", "Эта функция не предоставляется сервером"), + ("server_not_support", "Пока не поддерживается сервером"), ("Not available", "Недоступно"), ("Too frequent", "Слишком часто"), ("Cancel", "Отменить"), diff --git a/src/lang/tw.rs b/src/lang/tw.rs index 335c0fd43..6d9e2814a 100644 --- a/src/lang/tw.rs +++ b/src/lang/tw.rs @@ -42,7 +42,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Invalid IP", "IP 無效"), ("id_change_tip", "僅能使用以下字元:a-z、A-Z、0-9、_ (底線)。首字元必須為 a-z 或 A-Z。長度介於 6 到 16 之間。"), ("Invalid format", "格式無效"), - ("This function is turned off by the server", "此功能已被伺服器停用"), + ("server_not_support", "服務器暫不支持"), ("Not available", "無法使用"), ("Too frequent", "修改過於頻繁,請稍後再試。"), ("Cancel", "取消"), diff --git a/src/ui.rs b/src/ui.rs index 130903399..5e133ea79 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -1030,7 +1030,7 @@ async fn check_id( return "Too frequent"; } register_pk_response::Result::NOT_SUPPORT => { - return "This function is turned off by the server"; + return "server_not_support"; } register_pk_response::Result::INVALID_ID_FORMAT => { return INVALID_FORMAT;