Reviewed comments on source strings on Weblate and modified source strings accordingly if needed
Replaced "email" with "e-mail address" when needed
This commit is contained in:
parent
6a20f48ad7
commit
f661e3a078
51 changed files with 158 additions and 149 deletions
|
|
@ -10,7 +10,7 @@ class Scope:
|
|||
|
||||
BASE_SCOPES = [
|
||||
Scope(
|
||||
"profile", "Access profile data (email, username, avatar, subsonic password…)"
|
||||
"profile", "Access profile data (e-mail, username, avatar, subsonic password…)"
|
||||
),
|
||||
Scope("libraries", "Access uploads, libraries, and audio metadata"),
|
||||
Scope("edits", "Browse and submit edits on audio metadata"),
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@ urlpatterns = [
|
|||
name="change_password",
|
||||
),
|
||||
# This url is used by django-allauth and empty TemplateView is
|
||||
# defined just to allow reverse() call inside app, for example when email
|
||||
# with verification link is being sent, then it's required to render email
|
||||
# defined just to allow reverse() call inside app, for example when e-mail
|
||||
# with verification link is being sent, then it's required to render e-mail
|
||||
# content.
|
||||
# account_confirm_email - You should override this view to handle it in
|
||||
# your API client somehow and then, send post to /verify-email/ endpoint
|
||||
|
|
|
|||
|
|
@ -294,7 +294,7 @@ class UserChangeEmailSerializer(serializers.Serializer):
|
|||
.exclude(user=self.context["user"])
|
||||
.exists()
|
||||
):
|
||||
raise serializers.ValidationError("This email address is already in use")
|
||||
raise serializers.ValidationError("This e-mail address is already in use")
|
||||
return value
|
||||
|
||||
def save(self, request):
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class RegisterView(registration_views.RegisterView):
|
|||
def perform_create(self, serializer):
|
||||
user = super().perform_create(serializer)
|
||||
if not user.is_active:
|
||||
# manual approval, we need to send the confirmation email by hand
|
||||
# manual approval, we need to send the confirmation e-mail by hand
|
||||
authentication.send_email_confirmation(self.request, user)
|
||||
return user
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue