mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 01:44:13 +00:00
Fixed a few typos in translate string
This commit is contained in:
@@ -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
|
||||
|
@@ -149,7 +149,7 @@
|
||||
<label class="checkbox-label"><span class="checkbox"><input type="checkbox" name="ftype" value="Markdown" class="checkbox-orig" /></span><span class="checkbox-option">{% trans "markdown" %}</span></label>
|
||||
<br/>
|
||||
<input type="text" value="{{ input_fileexts }}" name="input_fexts" placeholder="{% trans "Input file extensions here, separate with ','" %}" class="fileext-input" />
|
||||
<p class="error hide">{% trans "Please select at least 1 file type or input at least 1 file extension" %}</p>
|
||||
<p class="error hide">{% trans "Please select at least one file type or input at least one file extension" %}</p>
|
||||
</div>
|
||||
</div>
|
||||
<input type="submit" value="{% trans "Submit" %}" class="submit" />
|
||||
|
@@ -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;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user