diff --git a/react/src/components/ServiceLauncherPageContent.tsx b/react/src/components/ServiceLauncherPageContent.tsx index e16901554..a8d67d6b5 100644 --- a/react/src/components/ServiceLauncherPageContent.tsx +++ b/react/src/components/ServiceLauncherPageContent.tsx @@ -732,7 +732,23 @@ const ServiceLauncherPageContent: React.FC = ({ name="serviceName" rules={[ { - pattern: /^(?=.{4,24}$)\w[\w.-]*\w$/, + min: 4, + message: t('modelService.ServiceNameMinLength'), + type: 'string', + }, + { + max: 24, + message: t('modelService.ServiceNameMaxLength'), + type: 'string', + }, + { + pattern: /^(?:[^-]|[^-].*[^-])$/, + message: t( + 'modelService.ServiceNameCannotStartWithHyphen', + ), + }, + { + pattern: /^[\w-]+$/, message: t('modelService.ServiceNameRule'), }, { diff --git a/resources/i18n/de.json b/resources/i18n/de.json index 0932e5ecb..770c2874c 100644 --- a/resources/i18n/de.json +++ b/resources/i18n/de.json @@ -1547,7 +1547,7 @@ "FormValidationFailed": "Formularüberprüfung fehlgeschlagen", "StartNewServing": "Neue Portion starten", "ServiceName": "Dienst Name", - "ServiceNameRule": "Erlaubt sind nur 4 bis 24 alphanumerische Zeichen, Unterstrich(_), Bindestrich(-) und Punkt(.) und er muss mit einem alphanumerischen Zeichen enden.", + "ServiceNameRule": "Erlauben Sie nur alphanumerische Zeichen, Unterstriche (_) und Bindestriche (-) und müssen mit einem alphanumerischen Zeichen enden.", "OpenToPublic": "Offen für die Öffentlichkeit", "DesiredRoutingCount": "Gewünschte Routinganzahl", "ServingRouteErrorModalTitle": "Serving Route Fehler", @@ -1604,7 +1604,10 @@ "UpdateService": "Update-Service", "StartNewService": "Neuen Dienst starten", "RuntimeVariant": "Inferenz Laufzeitvariante", - "Chatting": "Chatten" + "Chatting": "Chatten", + "ServiceNameMinLength": "Bitte geben Sie mindestens 4 Zeichen ein.", + "ServiceNameMaxLength": "Bitte geben Sie maximal 24 Zeichen ein.", + "ServiceNameCannotStartWithHyphen": "Bindestriche (-) dürfen an beiden Enden nicht verwendet werden." }, "ErrorBoundary": { "title": "Es ist ein Fehler aufgetreten.", diff --git a/resources/i18n/el.json b/resources/i18n/el.json index ee0a27c44..9a319dded 100644 --- a/resources/i18n/el.json +++ b/resources/i18n/el.json @@ -1547,7 +1547,7 @@ "FormValidationFailed": "Η επικύρωση της φόρμας απέτυχε", "StartNewServing": "Έναρξη νέου σερβιρίσματος", "ServiceName": "Όνομα υπηρεσίας", - "ServiceNameRule": "Επιτρέπονται μόνο 4 έως 24 αλφαριθμητικοί χαρακτήρες, υπογράμμιση(_), παύλα(-) και τελεία(.) και πρέπει να τελειώνουν με έναν αλφαριθμητικό χαρακτήρα.", + "ServiceNameRule": "Επιτρέπονται μόνο αλφαριθμητικά, κάτω παύλα(_) και παύλα(-) και πρέπει να τελειώνει με αλφαριθμητικό χαρακτήρα.", "OpenToPublic": "Ανοιχτό για το κοινό", "DesiredRoutingCount": "Επιθυμητός αριθμός δρομολόγησης", "ServingRouteErrorModalTitle": "Σφάλμα διαδρομής εξυπηρέτησης", @@ -1604,7 +1604,10 @@ "UpdateService": "Υπηρεσία ενημέρωσης", "StartNewService": "Ξεκινήστε τη Νέα Υπηρεσία", "RuntimeVariant": "Παραλλαγή χρόνου εκτέλεσης εξαγωγής συμπερασμάτων", - "Chatting": "Συζήτηση" + "Chatting": "Συζήτηση", + "ServiceNameMinLength": "Εισαγάγετε τουλάχιστον 4 χαρακτήρες.", + "ServiceNameMaxLength": "Εισαγάγετε 24 χαρακτήρες ή λιγότερους.", + "ServiceNameCannotStartWithHyphen": "Οι παύλες (-) δεν μπορούν να χρησιμοποιηθούν σε κανένα άκρο." }, "ErrorBoundary": { "title": "Εμφανίστηκε σφάλμα.", diff --git a/resources/i18n/en.json b/resources/i18n/en.json index 90717f209..71edb1675 100644 --- a/resources/i18n/en.json +++ b/resources/i18n/en.json @@ -481,7 +481,7 @@ "ExpiredDate": "Expired Date", "TokenExpiredDateHelp": "The default token expiration time is 24 hours later.", "TokenExpiredDateError": "The token expiration time must be after the current time", - "ServiceNameRule": "Only allow 4 to 24 characters of alphanumeric, underscore(_), hyphen(-), and period(.) and it must end with an alphanumeric character.", + "ServiceNameRule": "Only allow alphanumeric, underscore(_), and hyphen(-) and it must end with an alphanumeric character.", "FormValidationFailed": "Form validation failed", "CannotValidateNow": "Cannot validate service now. Please check resource allocation or other configurations.", "resources": "Resources", @@ -507,7 +507,10 @@ "StartNewService": "Start New Service", "UpdateService": "Update Service", "RuntimeVariant": "Inference Runtime Variant", - "Chatting": "Chatting" + "Chatting": "Chatting", + "ServiceNameMinLength": "Please enter at least 4 characters.", + "ServiceNameMaxLength": "Please enter 24 characters or less.", + "ServiceNameCannotStartWithHyphen": "Hyphens (-) cannot be used at either end." }, "button": { "Cancel": "Cancel", diff --git a/resources/i18n/es.json b/resources/i18n/es.json index 829526fd9..93842714f 100644 --- a/resources/i18n/es.json +++ b/resources/i18n/es.json @@ -792,7 +792,7 @@ "ServiceEndpoint": "Punto final del servicio", "ServiceInfo": "Información de servicio", "ServiceName": "Nombre del servicio", - "ServiceNameRule": "Sólo se permiten de 4 a 24 caracteres alfanuméricos, guión bajo(_), guión(-) y punto(.) y debe terminar con un carácter alfanumérico.", + "ServiceNameRule": "Solo se permiten caracteres alfanuméricos, guiones bajos (_) y guiones (-) y deben terminar con un carácter alfanumérico.", "Services": "Servicios", "ServingRouteErrorModalTitle": "Error de ruta de servicio", "SessionId": "ID de sesión", @@ -835,7 +835,10 @@ "UpdateService": "Servicio de actualización", "StartNewService": "Iniciar nuevo servicio", "RuntimeVariant": "Variante de tiempo de ejecución de la inferencia", - "Chatting": "Charlando" + "Chatting": "Charlando", + "ServiceNameMinLength": "Por favor ingrese al menos 4 caracteres.", + "ServiceNameMaxLength": "Por favor ingrese 24 caracteres o menos.", + "ServiceNameCannotStartWithHyphen": "No se pueden utilizar guiones (-) en ninguno de los extremos." }, "notification": { "Initializing": "Inicializando...", diff --git a/resources/i18n/fi.json b/resources/i18n/fi.json index 297574595..e884ab67b 100644 --- a/resources/i18n/fi.json +++ b/resources/i18n/fi.json @@ -790,7 +790,7 @@ "ServiceEndpoint": "Palvelun päätepiste", "ServiceInfo": "Palvelun tiedot", "ServiceName": "Palvelun nimi", - "ServiceNameRule": "Ainoastaan aakkosnumeerisia merkkejä, alaviivoja(_), väliviivoja(-) ja pisteitä(.) saa olla 4-24 merkkiä, ja sen on päätyttävä aakkosnumeeriseen merkkiin.", + "ServiceNameRule": "Salli vain aakkosnumeeriset, alaviivat (_) ja yhdysviivat (-), ja sen tulee päättyä aakkosnumeeriseen merkkiin.", "Services": "Palvelut", "ServingRouteErrorModalTitle": "Palvelevan reitin virhe", "SessionId": "Istunnon ID", @@ -832,7 +832,10 @@ "SyncRoutesRequested": "Reitin synkronointia on pyydetty.", "UpdateService": "Päivityspalvelu", "StartNewService": "Aloita uusi palvelu", - "RuntimeVariant": "Päättelyn suoritusaikamuunnos" + "RuntimeVariant": "Päättelyn suoritusaikamuunnos", + "ServiceNameMinLength": "Kirjoita vähintään 4 merkkiä.", + "ServiceNameMaxLength": "Anna enintään 24 merkkiä.", + "ServiceNameCannotStartWithHyphen": "Tavuviivoja (-) ei voi käyttää kummassakaan päässä." }, "notification": { "Initializing": "Aloitetaan...", diff --git a/resources/i18n/fr.json b/resources/i18n/fr.json index ca5162c6e..a5e2f9a5a 100644 --- a/resources/i18n/fr.json +++ b/resources/i18n/fr.json @@ -1625,7 +1625,7 @@ "TokenExpiredDateHelp": "Le délai d'expiration par défaut du jeton est de 24 heures.", "TokenExpiredDateError": "L'heure d'expiration du jeton doit être postérieure à l'heure actuelle.", "FormValidationFailed": "La validation du formulaire a échoué", - "ServiceNameRule": "Seuls 4 à 24 caractères alphanumériques, le trait de soulignement (_), le trait d'union (-) et le point (.) sont autorisés et le texte doit se terminer par un caractère alphanumérique.", + "ServiceNameRule": "Autorisez uniquement les caractères alphanumériques, les traits de soulignement (_) et les traits d'union (-) et ils doivent se terminer par un caractère alphanumérique.", "resources": "Ressources", "Image": "Image", "Owner": "Propriétaire", @@ -1657,7 +1657,10 @@ "UpdateService": "Service de mise à jour", "StartNewService": "Démarrer un nouveau service", "RuntimeVariant": "Variante d'exécution de l'inférence", - "Chatting": "Bavardage" + "Chatting": "Bavardage", + "ServiceNameMinLength": "Veuillez saisir au moins 4 caractères.", + "ServiceNameMaxLength": "Veuillez saisir 24 caractères ou moins.", + "ServiceNameCannotStartWithHyphen": "Les tirets (-) ne peuvent pas être utilisés à chaque extrémité." }, "ErrorBoundary": { "title": "Une erreur s'est produite.", diff --git a/resources/i18n/id.json b/resources/i18n/id.json index f35892155..27d8ff3da 100644 --- a/resources/i18n/id.json +++ b/resources/i18n/id.json @@ -1626,7 +1626,7 @@ "TokenExpiredDateHelp": "Waktu kedaluwarsa token default adalah 24 jam kemudian.", "TokenExpiredDateError": "Waktu kedaluwarsa token harus setelah waktu saat ini", "FormValidationFailed": "Validasi formulir gagal", - "ServiceNameRule": "Hanya mengizinkan 4 hingga 24 karakter alfanumerik, garis bawah (_), tanda hubung (-), dan titik (.) dan harus diakhiri dengan karakter alfanumerik.", + "ServiceNameRule": "Hanya diperbolehkan alfanumerik, garis bawah(_), dan tanda hubung(-) dan harus diakhiri dengan karakter alfanumerik.", "resources": "Sumber daya", "Image": "Gambar", "Owner": "Pemilik", @@ -1657,7 +1657,10 @@ "UpdateService": "Layanan Pembaruan", "StartNewService": "Mulai Layanan Baru", "RuntimeVariant": "Varian Runtime Inferensi", - "Chatting": "Mengobrol" + "Chatting": "Mengobrol", + "ServiceNameMinLength": "Silakan masukkan setidaknya 4 karakter.", + "ServiceNameMaxLength": "Silakan masukkan 24 karakter atau kurang.", + "ServiceNameCannotStartWithHyphen": "Tanda hubung (-) tidak dapat digunakan pada kedua ujungnya." }, "ErrorBoundary": { "title": "Telah terjadi kesalahan.", diff --git a/resources/i18n/it.json b/resources/i18n/it.json index 3f9d9f1d3..ffb857513 100644 --- a/resources/i18n/it.json +++ b/resources/i18n/it.json @@ -1547,7 +1547,7 @@ "FormValidationFailed": "Convalida del modulo non riuscita", "StartNewServing": "Iniziare un nuovo servizio", "ServiceName": "Nome del servizio", - "ServiceNameRule": "Sono consentiti solo da 4 a 24 caratteri alfanumerici, underscore(_), trattino(-) e punto(.) e devono terminare con un carattere alfanumerico.", + "ServiceNameRule": "Consenti solo caratteri alfanumerici, trattino basso (_) e trattino (-) e deve terminare con un carattere alfanumerico.", "OpenToPublic": "Aperto al pubblico", "DesiredRoutingCount": "Conteggio dell'instradamento desiderato", "ServingRouteErrorModalTitle": "Errore del percorso di servizio", @@ -1604,7 +1604,10 @@ "UpdateService": "Servizio di aggiornamento", "StartNewService": "Avvia nuovo servizio", "RuntimeVariant": "Variante di runtime dell'inferenza", - "Chatting": "Chiacchierando" + "Chatting": "Chiacchierando", + "ServiceNameMinLength": "Inserisci almeno 4 caratteri.", + "ServiceNameMaxLength": "Inserisci 24 caratteri o meno.", + "ServiceNameCannotStartWithHyphen": "I trattini (-) non possono essere utilizzati alle due estremità." }, "ErrorBoundary": { "title": "Si è verificato un errore.", diff --git a/resources/i18n/ja.json b/resources/i18n/ja.json index 4d586733f..83e8dc74e 100644 --- a/resources/i18n/ja.json +++ b/resources/i18n/ja.json @@ -1546,7 +1546,7 @@ "FormValidationFailed": "フォーム検証の失敗", "StartNewServing": "新サービス開始", "ServiceName": "サービス名", - "ServiceNameRule": "4~24文字の英字、数字、アンダーライン(_)、ハイフン(-)、ピリオド(.)のみを許可し、英文で英字または数字で終わる必要があります。", + "ServiceNameRule": "英数字、アンダースコア (_)、およびハイフン (-) のみを使用でき、英数字で終わる必要があります。", "OpenToPublic": "アプリを外部に公開", "DesiredRoutingCount": "希望のルーティング数", "ServingRouteErrorModalTitle": "サービングルートエラー", @@ -1603,7 +1603,10 @@ "UpdateService": "アップデートサービス", "StartNewService": "新しいサービスを開始する", "RuntimeVariant": "推論ランタイム・バリアント", - "Chatting": "おしゃべり" + "Chatting": "おしゃべり", + "ServiceNameMinLength": "少なくとも 4 文字を入力してください。", + "ServiceNameMaxLength": "24文字以内で入力してください。", + "ServiceNameCannotStartWithHyphen": "両端にハイフン(-)を使用することはできません。" }, "ErrorBoundary": { "title": "エラーが発生しました。", diff --git a/resources/i18n/ko.json b/resources/i18n/ko.json index a29df5026..7d2316156 100644 --- a/resources/i18n/ko.json +++ b/resources/i18n/ko.json @@ -462,7 +462,7 @@ "ExpiredDate": "토큰 만료 시각", "TokenExpiredDateHelp": "토큰 만료 시각 기본 값은 24시간 뒤입니다.", "TokenExpiredDateError": "토큰 만료 시간은 현재 시간 이후여야 합니다.", - "ServiceNameRule": "4~24자의 영문, 숫자, 밑줄(_), 하이픈(-), 마침표(.)만 허용하며, 영문으로 영문이나 숫자로 끝나야합니다.", + "ServiceNameRule": "영숫자, 밑줄(_), 하이픈(-)만 허용하며 영숫자로 끝나야 합니다.", "FormValidationFailed": "양식 유효성 검사 실패", "resources": "자원", "Image": "이미지", @@ -495,7 +495,10 @@ "UpdateService": "서비스 업데이트", "StartNewService": "새로운 서비스 시작", "RuntimeVariant": "인퍼런스 런타임 종류", - "Chatting": "채팅" + "Chatting": "채팅", + "ServiceNameMinLength": "4자 이상 입력해주세요.", + "ServiceNameMaxLength": "24자 이하로 입력해주세요.", + "ServiceNameCannotStartWithHyphen": "하이픈(-)은 양쪽 끝에 사용할 수 없습니다." }, "button": { "Cancel": "취소", diff --git a/resources/i18n/mn.json b/resources/i18n/mn.json index 7996a3594..f3fcf47ff 100644 --- a/resources/i18n/mn.json +++ b/resources/i18n/mn.json @@ -1625,7 +1625,7 @@ "TokenExpiredDateHelp": "Өгөгдмөл токен дуусах хугацаа нь 24 цагийн дараа байна.", "TokenExpiredDateError": "Токен дуусах хугацаа нь одоогийн цагаас хойш байх ёстой", "FormValidationFailed": "Маягтын баталгаажуулалт амжилтгүй боллоо", - "ServiceNameRule": "Зөвхөн 4-24 үсэг тоо, доогуур зураас(_), зураас(-), цэг(.) оруулахыг зөвшөөрөх ба энэ нь үсэг, тоон тэмдэгтээр төгсөх ёстой.", + "ServiceNameRule": "Зөвхөн үсэг тоо, доогуур зураас(_), зураас(-) оруулахыг зөвшөөрөх ба энэ нь үсэг, тоон тэмдэгтээр төгсөх ёстой.", "resources": "Нөөц", "Image": "Зураг", "Owner": "Эзэмшигч", @@ -1657,7 +1657,10 @@ "UpdateService": "Үйлчилгээг шинэчлэх", "StartNewService": "Шинэ үйлчилгээг эхлүүлэх", "RuntimeVariant": "Дүгнэлт Runtime Variant", - "Chatting": "Чатлаж байна" + "Chatting": "Чатлаж байна", + "ServiceNameMinLength": "Дор хаяж 4 тэмдэгт оруулна уу.", + "ServiceNameMaxLength": "24 ба түүнээс бага тэмдэгт оруулна уу.", + "ServiceNameCannotStartWithHyphen": "Хоёр төгсгөлд зураас (-) ашиглах боломжгүй." }, "ErrorBoundary": { "title": "Алдаа гарсан байна.", diff --git a/resources/i18n/ms.json b/resources/i18n/ms.json index 0c60f7bbd..76f3a049a 100644 --- a/resources/i18n/ms.json +++ b/resources/i18n/ms.json @@ -1587,7 +1587,7 @@ "FormValidationFailed": "Pengesahan borang gagal", "StartNewServing": "Mulakan hidangan baharu", "ServiceName": "Nama Perkhidmatan", - "ServiceNameRule": "Hanya benarkan 4 hingga 24 aksara abjad angka, garis bawah(_), sempang(-), dan noktah(.) dan ia mesti berakhir dengan aksara abjad angka.", + "ServiceNameRule": "Hanya benarkan abjad angka, garis bawah(_), dan sempang(-) dan ia mesti berakhir dengan aksara abjad angka.", "OpenToPublic": "Terbuka Kepada Umum", "DesiredRoutingCount": "Kiraan Laluan yang Diingini", "ServingRouteErrorModalTitle": "Ralat Laluan Pelayanan", @@ -1644,7 +1644,10 @@ "UpdateService": "Perkhidmatan Kemas Kini", "StartNewService": "Mulakan Perkhidmatan Baharu", "RuntimeVariant": "Varian Masa Jalan Inferens", - "Chatting": "Berbual" + "Chatting": "Berbual", + "ServiceNameMinLength": "Sila masukkan sekurang-kurangnya 4 aksara.", + "ServiceNameMaxLength": "Sila masukkan 24 aksara atau kurang.", + "ServiceNameCannotStartWithHyphen": "Tanda sempang (-) tidak boleh digunakan pada kedua-dua hujung." }, "totp": { "TotpSetupCompleted": "Didayakan 2FA", diff --git a/resources/i18n/pl.json b/resources/i18n/pl.json index 6f066aafa..7ee0bb401 100644 --- a/resources/i18n/pl.json +++ b/resources/i18n/pl.json @@ -1547,7 +1547,7 @@ "FormValidationFailed": "Walidacja formularza nie powiodła się", "StartNewServing": "Rozpocznij nową porcję", "ServiceName": "Nazwa usługi", - "ServiceNameRule": "Dozwolone są tylko 4 do 24 znaki alfanumeryczne, podkreślenie(_), myślnik(-) i kropka(.) i muszą kończyć się znakiem alfanumerycznym.", + "ServiceNameRule": "Zezwalaj tylko na znaki alfanumeryczne, podkreślenie (_) i łącznik (-) i muszą one kończyć się znakiem alfanumerycznym.", "OpenToPublic": "Otwarte dla publiczności", "DesiredRoutingCount": "Pożądana liczba tras", "ServingRouteErrorModalTitle": "Błąd trasy serwowania", @@ -1604,7 +1604,10 @@ "UpdateService": "Aktualizuj usługę", "StartNewService": "Uruchom nową usługę", "RuntimeVariant": "Inference Runtime Variant", - "Chatting": "Czatowanie" + "Chatting": "Czatowanie", + "ServiceNameMinLength": "Proszę wpisać co najmniej 4 znaki.", + "ServiceNameMaxLength": "Wprowadź maksymalnie 24 znaki.", + "ServiceNameCannotStartWithHyphen": "Łączników (-) nie można używać na żadnym końcu." }, "ErrorBoundary": { "title": "Wystąpił błąd.", diff --git a/resources/i18n/pt-BR.json b/resources/i18n/pt-BR.json index 5f1995c3c..f712b242b 100644 --- a/resources/i18n/pt-BR.json +++ b/resources/i18n/pt-BR.json @@ -1588,7 +1588,7 @@ "FormValidationFailed": "Falha na validação do formulário", "StartNewServing": "Iniciar nova dose", "ServiceName": "Nome do serviço", - "ServiceNameRule": "Só são permitidos 4 a 24 caracteres alfanuméricos, sublinhado(_), hífen(-) e ponto(.) e deve terminar com um carácter alfanumérico.", + "ServiceNameRule": "Permitir apenas alfanumérico, sublinhado (_) e hífen (-) e deve terminar com um caractere alfanumérico.", "OpenToPublic": "Aberto ao público", "DesiredRoutingCount": "Contagem de roteiros desejada", "ServingRouteErrorModalTitle": "Erro de rota de serviço", @@ -1645,7 +1645,10 @@ "UpdateService": "Serviço de atualização", "StartNewService": "Iniciar novo serviço", "RuntimeVariant": "Variante de tempo de execução de inferência", - "Chatting": "Conversando" + "Chatting": "Conversando", + "ServiceNameMinLength": "Por favor insira pelo menos 4 caracteres.", + "ServiceNameMaxLength": "Insira 24 caracteres ou menos.", + "ServiceNameCannotStartWithHyphen": "Hífens (-) não podem ser usados ​​em nenhuma das extremidades." }, "totp": { "TotpSetupCompleted": "Ativado 2FA", diff --git a/resources/i18n/pt.json b/resources/i18n/pt.json index daea12c0a..7b4d20603 100644 --- a/resources/i18n/pt.json +++ b/resources/i18n/pt.json @@ -1588,7 +1588,7 @@ "FormValidationFailed": "Falha na validação do formulário", "StartNewServing": "Iniciar nova dose", "ServiceName": "Nome do serviço", - "ServiceNameRule": "Só são permitidos 4 a 24 caracteres alfanuméricos, sublinhado(_), hífen(-) e ponto(.) e deve terminar com um carácter alfanumérico.", + "ServiceNameRule": "Permitir apenas alfanumérico, sublinhado (_) e hífen (-) e deve terminar com um caractere alfanumérico.", "OpenToPublic": "Aberto ao público", "DesiredRoutingCount": "Contagem de roteiros desejada", "ServingRouteErrorModalTitle": "Erro de rota de serviço", @@ -1645,7 +1645,10 @@ "UpdateService": "Serviço de atualização", "StartNewService": "Iniciar novo serviço", "RuntimeVariant": "Variante de tempo de execução de inferência", - "Chatting": "Conversando" + "Chatting": "Conversando", + "ServiceNameMinLength": "Por favor insira pelo menos 4 caracteres.", + "ServiceNameMaxLength": "Insira 24 caracteres ou menos.", + "ServiceNameCannotStartWithHyphen": "Hífens (-) não podem ser usados ​​em nenhuma das extremidades." }, "totp": { "TotpSetupCompleted": "Ativado 2FA", diff --git a/resources/i18n/ru.json b/resources/i18n/ru.json index 93b2f4b97..7411d9db5 100644 --- a/resources/i18n/ru.json +++ b/resources/i18n/ru.json @@ -1623,7 +1623,7 @@ "TokenExpiredDateHelp": "По умолчанию время истечения срока действия токена составляет 24 часа.", "TokenExpiredDateError": "Время истечения срока действия токена должно быть после текущего времени", "FormValidationFailed": "Не удалось выполнить валидацию формы", - "ServiceNameRule": "Допускается только от 4 до 24 буквенно-цифровых символов, символов подчеркивания (_), дефиса (-) и точки(.), и он должен заканчиваться буквенно-цифровым символом.", + "ServiceNameRule": "Разрешены только буквы, цифры, подчеркивание (_) и дефис (-), и они должны заканчиваться буквенно-цифровым символом.", "resources": "Ресурсы", "Image": "Изображение", "Owner": "Владелец", @@ -1655,7 +1655,10 @@ "UpdateService": "Служба обновлений", "StartNewService": "Запустить новую услугу", "RuntimeVariant": "Вариант времени выполнения вывода", - "Chatting": "Общение" + "Chatting": "Общение", + "ServiceNameMinLength": "Пожалуйста, введите не менее 4 символов.", + "ServiceNameMaxLength": "Введите не более 24 символов.", + "ServiceNameCannotStartWithHyphen": "Дефисы (-) нельзя использовать ни на одном конце." }, "ErrorBoundary": { "title": "Произошла ошибка.", diff --git a/resources/i18n/th.json b/resources/i18n/th.json index e84dd223c..2259f5840 100644 --- a/resources/i18n/th.json +++ b/resources/i18n/th.json @@ -480,7 +480,7 @@ "ExpiredDate": "วันหมดอายุ", "TokenExpiredDateHelp": "เวลาหมดอายุของโทเคนเริ่มต้นคือ 24 ชั่วโมงถัดไป", "TokenExpiredDateError": "เวลาหมดอายุของโทเคนต้องอยู่หลังเวลาปัจจุบัน", - "ServiceNameRule": "อนุญาตเฉพาะ 4 ถึง 24 ตัวอักษรของตัวอักษรและตัวเลข ขีดล่าง(_) ยัติภังค์(-) และจุด(.) และต้องลงท้ายด้วยตัวอักษรหรือตัวเลข", + "ServiceNameRule": "อนุญาตเฉพาะตัวอักษรและตัวเลข ขีดล่าง (_) และขีดกลาง (-) และต้องลงท้ายด้วยอักขระตัวอักษรและตัวเลข", "FormValidationFailed": "การตรวจสอบแบบฟอร์มล้มเหลว", "CannotValidateNow": "ไม่สามารถตรวจสอบบริการได้ในขณะนี้ กรุณาตรวจสอบการจัดสรรทรัพยากรหรือการกำหนดค่าอื่น ๆ", "resources": "ทรัพยากร", @@ -506,7 +506,10 @@ "StartNewService": "เริ่มบริการใหม่", "UpdateService": "อัปเดตบริการ", "RuntimeVariant": "ตัวแปรรันไทม์การอนุมาน", - "Chatting": "การแชท" + "Chatting": "การแชท", + "ServiceNameMinLength": "กรุณากรอกอย่างน้อย 4 ตัวอักษร", + "ServiceNameMaxLength": "โปรดป้อนอักขระ 24 ตัวหรือน้อยกว่า", + "ServiceNameCannotStartWithHyphen": "เครื่องหมายยัติภังค์ (-) ไม่สามารถใช้ที่ปลายทั้งสองข้างได้" }, "button": { "Cancel": "ยกเลิก", diff --git a/resources/i18n/tr.json b/resources/i18n/tr.json index 2ec33e8ce..a32697948 100644 --- a/resources/i18n/tr.json +++ b/resources/i18n/tr.json @@ -1547,7 +1547,7 @@ "FormValidationFailed": "Form doğrulama başarısız oldu", "StartNewServing": "Yeni servis başlatın", "ServiceName": "Hizmet Adı", - "ServiceNameRule": "Yalnızca alfanümerik, alt çizgi (_), kısa çizgi (-) ve nokta (.) karakterlerinden oluşan 4 ila 24 karaktere izin verin ve alfanümerik bir karakterle bitmelidir.", + "ServiceNameRule": "Yalnızca alfasayısal, alt çizgi(_) ve kısa çizgiye(-) izin verilir ve alfasayısal bir karakterle bitmelidir.", "OpenToPublic": "Halka Açık", "DesiredRoutingCount": "İstenen Yönlendirme Sayısı", "ServingRouteErrorModalTitle": "Hizmet Veren Rota Hatası", @@ -1604,7 +1604,10 @@ "UpdateService": "Güncelleme Hizmeti", "StartNewService": "Yeni Hizmeti Başlat", "RuntimeVariant": "Çıkarım Çalışma Zamanı Varyantı", - "Chatting": "Sohbet" + "Chatting": "Sohbet", + "ServiceNameMinLength": "Lütfen en az 4 karakter giriniz.", + "ServiceNameMaxLength": "Lütfen 24 veya daha az karakter girin.", + "ServiceNameCannotStartWithHyphen": "Kısa çizgi (-) her iki uçta da kullanılamaz." }, "ErrorBoundary": { "title": "Bir hata oluştu.", diff --git a/resources/i18n/vi.json b/resources/i18n/vi.json index 170b587dd..111a942bc 100644 --- a/resources/i18n/vi.json +++ b/resources/i18n/vi.json @@ -1588,7 +1588,7 @@ "FormValidationFailed": "Xác thực biểu mẫu không thành công", "StartNewServing": "Bắt đầu phân phát mới", "ServiceName": "Tên dịch vụ", - "ServiceNameRule": "Chỉ cho phép 4 đến 24 ký tự chữ và số, dấu gạch dưới (_), dấu gạch nối (-) và dấu chấm (.) và phải kết thúc bằng ký tự chữ và số.", + "ServiceNameRule": "Chỉ cho phép chữ và số, dấu gạch dưới (_), dấu gạch nối (-) và phải kết thúc bằng ký tự chữ và số.", "OpenToPublic": "Mở cửa cho công chúng", "DesiredRoutingCount": "Số lượng định tuyến mong muốn", "ServingRouteErrorModalTitle": "Lỗi tuyến đường phục vụ", @@ -1645,7 +1645,10 @@ "UpdateService": "Dịch vụ cập nhật", "StartNewService": "Bắt đầu dịch vụ mới", "RuntimeVariant": "Biến thể thời gian chạy suy luận", - "Chatting": "Trò chuyện" + "Chatting": "Trò chuyện", + "ServiceNameMinLength": "Vui lòng nhập ít nhất 4 ký tự.", + "ServiceNameMaxLength": "Vui lòng nhập 24 ký tự trở xuống.", + "ServiceNameCannotStartWithHyphen": "Dấu gạch nối (-) không thể được sử dụng ở cả hai đầu." }, "totp": { "TotpSetupCompleted": "Đã bật 2FA", diff --git a/resources/i18n/zh-CN.json b/resources/i18n/zh-CN.json index cda2c9f66..0fc64c8a1 100644 --- a/resources/i18n/zh-CN.json +++ b/resources/i18n/zh-CN.json @@ -1588,7 +1588,7 @@ "FormValidationFailed": "表单验证失败", "StartNewServing": "开始新服务", "ServiceName": "服务名称", - "ServiceNameRule": "只允许 4 至 24 个字符的字母数字、下划线(_)、连字符(-)和句号(.),且必须以字母数字字符结尾。", + "ServiceNameRule": "仅允许使用字母数字、下划线 (_) 和连字符 (-),并且必须以字母数字字符结尾。", "OpenToPublic": "向公众开放", "DesiredRoutingCount": "所需的路由计数", "ServingRouteErrorModalTitle": "服务路由错误", @@ -1646,7 +1646,10 @@ "UpdateService": "更新服务", "StartNewService": "开始新服务", "RuntimeVariant": "推理运行时变量", - "Chatting": "聊天" + "Chatting": "聊天", + "ServiceNameMinLength": "请输入至少 4 个字符。", + "ServiceNameMaxLength": "请输入 24 个或更少的字符。", + "ServiceNameCannotStartWithHyphen": "两端不能使用连字符 (-)。" }, "totp": { "TotpSetupCompleted": "已启用 2FA", diff --git a/resources/i18n/zh-TW.json b/resources/i18n/zh-TW.json index 6d747f619..e3a7886de 100644 --- a/resources/i18n/zh-TW.json +++ b/resources/i18n/zh-TW.json @@ -1587,7 +1587,7 @@ "FormValidationFailed": "表单验证失败", "StartNewServing": "开始新服务", "ServiceName": "服务名称", - "ServiceNameRule": "只允许 4 至 24 个字符的字母数字、下划线(_)、连字符(-)和句号(.),且必须以字母数字字符结尾。", + "ServiceNameRule": "僅允許使用字母數字、底線 (_) 和連字符 (-),並且必須以字母數字字元結尾。", "OpenToPublic": "向公众开放", "DesiredRoutingCount": "所需的路由计数", "ServingRouteErrorModalTitle": "服务路由错误", @@ -1644,7 +1644,10 @@ "UpdateService": "更新服務", "StartNewService": "開始新服務", "RuntimeVariant": "推理运行时变量", - "Chatting": "聊天" + "Chatting": "聊天", + "ServiceNameMinLength": "請輸入至少 4 個字元。", + "ServiceNameMaxLength": "請輸入 24 個或更少的字元。", + "ServiceNameCannotStartWithHyphen": "兩端不能使用連字符 (-)。" }, "totp": { "TotpSetupCompleted": "已启用 2FA",