Add Japanese message string for django.po #25

Merged
Danhia merged 17 commits from ysaito/website:main into translation 2022-02-18 16:17:47 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 0d734e98b1 - Show all commits

View File

@ -26,7 +26,7 @@ def connect(request):
return bad_request(request, "Already connected") return bad_request(request, "Already connected")
site = Site.objects.get_current() site = Site.objects.get_current()
redirect_uri = reverse('accounts:connections-connect-discord-authorize') redirect_uri = reverse('accounts:connections-connect-discord-authorize')
redirect_uri = "https://" + site.domain + redirect_uri redirect_uri = "https://" + site.domain + redirect_uri[2:] # remove language code
print(redirect_uri) print(redirect_uri)
return oauth.discord.authorize_redirect(request, redirect_uri) return oauth.discord.authorize_redirect(request, redirect_uri)