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

Update misc. validation error messages while working with knowledgebase categories and folders #172

Merged
merged 1 commit into from
Dec 24, 2021
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
4 changes: 2 additions & 2 deletions Resources/views/Staff/Category/categoryForm.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
msg: "{{ 'This field must have valid characters only'|trans }}"
},{
maxLength:50,
msg: "{{ 'This field contain maximum 50 charectures.'|trans }}"
msg: "{{ 'This field contain maximum 50 characters.'|trans }}"
}],
'description': [{
required: true,
Expand All @@ -150,7 +150,7 @@
msg: "{{ 'This field must have valid characters only'|trans }}"
},{
maxLength:60,
msg: "{{ 'This field contain maximum 60 charectures.'|trans }}"
msg: "{{ 'This field contain maximum 60 characters.'|trans }}"
}],
'sortOrder': {
pattern: '^[0-9]*$',
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/Staff/Folders/createFolder.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
msg: "{{ 'This field must have valid characters only'|trans }}"
},{
maxLength:18,
msg: "{{ 'This field contain maximum 18 charectures.'|trans }}"
msg: "{{ 'This field contain maximum 18 characters.'|trans }}"
}],
'description': [{
required: true,
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/Staff/Folders/updateFolder.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
},
{
maxLength:18,
msg: "{{ 'This field contain maximum 18 charectures.'|trans }}"
msg: "{{ 'This field contain maximum 18 characters.'|trans }}"
}],
'description': [{
required: true,
Expand Down