Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(form): 添加 whitespace 校验默认错误信息 #793

Merged
merged 3 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions js/global-config/locale/ar_KW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export default {
errorMessage: {
date: 'الرجاء إدخال ${name} الصحيح',
url: 'الرجاء إدخال ${name} الصحيح',
whitespace: 'لا يمكن أن يكون ${name} فارغًا',
required: 'مطلوب ${name}',
max: 'يمكن أن يحتوي ${name} على ما يصل إلى ${validate} حرفًا',
min: 'لا يمكن أن يكون ${name} أقل من ${validate} حرفًا',
Expand Down
1 change: 1 addition & 0 deletions js/global-config/locale/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export default {
date: '${name} is invalid',
url: '${name} is invalid',
required: '${name} is required',
whitespace: '${name} cannot be empty',
max: '${name} must be at least ${validate} characters',
min: '${name} cannot be longer than ${validate} characters',
len: '${name} must be exactly ${validate} characters',
Expand Down
1 change: 1 addition & 0 deletions js/global-config/locale/it_IT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export default {
errorMessage: {
date: 'Inserisci la ${name} corretta',
url: 'Inserisci la ${name} corretta',
whitespace: 'Il ${name} non può essere vuoto',
required: '${name} obbligatorio',
max: 'La lunghezza dei caratteri di ${name} non può superare i ${validate} caratteri',
min: 'La lunghezza dei caratteri di ${name} non può essere inferiore a ${validate} caratteri',
Expand Down
1 change: 1 addition & 0 deletions js/global-config/locale/ja_JP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export default {
date: '正しく入力してください${name}',
url: '正しく入力してください${name}',
required: '${name}必須項目',
whitespace: '${name}を空にすることはできません',
max: '${name}文字数制限 ${validate} 文字,一中二文',
min: '${name}を下回る文字数は使用できません ${validate} 文字,一中二文',
len: '${name}文字の長さは、必ず ${validate}',
Expand Down
1 change: 1 addition & 0 deletions js/global-config/locale/ko_KR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export default {
date: '정확한 내용을 입력해주세요${name}',
url: '정확한 내용을 입력해주세요${name}',
required: '${name}필수의',
whitespace: '${name}은 비어 있을 수 없습니다',
max: '${name}문자 길이는 초과할 수 없습니다 ${validate} 캐릭터,한자는 두 글자와 같다',
min: '${name}문자 길이는 다음보다 작을 수 없습니다 ${validate} 캐릭터,한자는 두 글자와 같다',
len: '${name}문자 길이는 다음과 같아야 합니다. ${validate}',
Expand Down
1 change: 1 addition & 0 deletions js/global-config/locale/ru_RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export default {
errorMessage: {
date: 'Введите правильный ${name}',
url: 'Введите правильный ${name}',
whitespace: '${name} не может быть пустым',
required: '${name} обязательно для заполнения',
max: 'Длина символов ${name} не должна превышать ${validate} символов',
min: 'Длина символов ${name} не должна быть меньше ${validate} символов',
Expand Down
1 change: 1 addition & 0 deletions js/global-config/locale/zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export default {
date: '请输入正确的${name}',
url: '请输入正确的${name}',
required: '${name}必填',
whitespace: '${name}不能为空',
max: '${name}字符长度不能超过 ${validate} 个字符,一个中文等于两个字符',
min: '${name}字符长度不能少于 ${validate} 个字符,一个中文等于两个字符',
len: '${name}字符长度必须是 ${validate}',
Expand Down
1 change: 1 addition & 0 deletions js/global-config/locale/zh_TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export default {
errorMessage: {
date: '請輸入正確的${name}',
url: '請輸入正確的${name}',
whitespace: '${name}不能為空',
required: '${name}必填',
max: '${name}字符長度不能超過 ${validate} 個字符,一個中文等於兩個字符',
min: '${name}字符長度不能少於 ${validate} 個字符,一個中文等於兩個字符',
Expand Down
Loading