remove confusion

This commit is contained in:
rustdesk 2022-05-13 18:10:32 +08:00
parent 0d9d00baba
commit d564b90541
11 changed files with 10 additions and 10 deletions

View File

@ -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", "取消"),

View File

@ -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"),

View File

@ -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();
}

View File

@ -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"),

View File

@ -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"),

View File

@ -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"),

View File

@ -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"),

View File

@ -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"),

View File

@ -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", "Отменить"),

View File

@ -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", "取消"),

View File

@ -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;