diff --git a/seahub/group/forms.py b/seahub/group/forms.py index 4a3c6b1aac..1d6ee80ab6 100644 --- a/seahub/group/forms.py +++ b/seahub/group/forms.py @@ -33,7 +33,7 @@ class GroupAddForm(forms.Form): def clean_group_name(self): group_name = self.cleaned_data['group_name'] if not validate_group_name(group_name): - error_msg = _(u'Group name can only contain letters, numbers or underline') + error_msg = _(u'Group name can only contain letters, numbers or underscore') raise forms.ValidationError(error_msg) else: return group_name diff --git a/seahub/templates/base.html b/seahub/templates/base.html index 043a0ea1a1..6690e5fba2 100644 --- a/seahub/templates/base.html +++ b/seahub/templates/base.html @@ -149,7 +149,7 @@
-

{% trans "Please select at least 1 file type or input at least 1 file extension" %}

+

{% trans "Please select at least one file type or input at least one file extension" %}

diff --git a/seahub/templates/repo.html b/seahub/templates/repo.html index 6fec3ad2be..b9419b1911 100644 --- a/seahub/templates/repo.html +++ b/seahub/templates/repo.html @@ -1512,7 +1512,7 @@ $('#mv-dir-list h5').click(function() { }); $('#private-share-form').submit(function() { if (!$('[name="emails"]', $(this)).val()) { - apply_form_error($(this).attr('id'), "{% trans "Contacts is required." %}"); + apply_form_error($(this).attr('id'), "{% trans "Contact is required." %}"); return false; } });