diff --git a/group/templates/group/group_info.html b/group/templates/group/group_info.html index e28547f0ab..81ad71adb9 100644 --- a/group/templates/group/group_info.html +++ b/group/templates/group/group_info.html @@ -192,7 +192,7 @@ {% include 'snippets/user_profile_js.html' %} {% endblock %} diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index d3e995c7b0..adcb0bcb17 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -29,15 +29,15 @@ $('input[type="submit"]').click(function(){ return false; } if (!$.trim($('input[name="password1"]').attr('value'))) { - $('.error').removeClass('hide').html('Password can\'t be blank'); + $('.error').removeClass('hide').html(gettext('Password can\'t be blank')); return false; } if (!$.trim($('input[name="password2"]').attr('value'))) { - $('.error').removeClass('hide').html('Confirm password can\'t be blank'); + $('.error').removeClass('hide').html(gettext('Confirm password can\'t be blank')); return false; } if ($.trim($('input[name="password1"]').attr('value')) != $.trim($('input[name="password2"]').attr('value'))) { - $('.error').removeClass('hide').html('The two password fields did\'t match'); + $('.error').removeClass('hide').html(gettext('The two password fields did\'t match')); return false; } }); diff --git a/templates/snippets/my_owned_repos.html b/templates/snippets/my_owned_repos.html index 417822c637..a12cd9ca52 100644 --- a/templates/snippets/my_owned_repos.html +++ b/templates/snippets/my_owned_repos.html @@ -1,12 +1,12 @@ {% load seahub_tags i18n %} -

{% trans "Repos" %}

+

{% trans "Libraries" %}

- +
{% if owned_repos %}