allow dash in id

This commit is contained in:
rustdesk
2025-02-15 18:51:15 +08:00
parent a548e9c94d
commit 33b47dd6e3
41 changed files with 41 additions and 41 deletions

View File

@@ -41,7 +41,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("length %min% to %max%", "ความยาวตั้งแต่ %min% ถึง %max%"),
("starts with a letter", "เริ่มต้นด้วยตัวอักษร"),
("allowed characters", "ตัวอักขระที่อนุญาต"),
("id_change_tip", "อนุญาตเฉพาะตัวอักษร a-z A-Z 0-9 และ _ (ขีดล่าง) เท่านั้น โดยตัวอักษรขึ้นต้นจะต้องเป็น a-z หรือไม่ก็ A-Z และมีความยาวระหว่าง 6 ถึง 16 ตัวอักษร"),
("id_change_tip", "อนุญาตเฉพาะตัวอักษร a-z A-Z 0-9, - (dash) และ _ (ขีดล่าง) เท่านั้น โดยตัวอักษรขึ้นต้นจะต้องเป็น a-z หรือไม่ก็ A-Z และมีความยาวระหว่าง 6 ถึง 16 ตัวอักษร"),
("Website", "เว็บไซต์"),
("About", "เกี่ยวกับ"),
("Slogan_tip", "ทำด้วยใจ ในโลกที่วุ่นวาย!"),