perf: 更新翻译 (#5438)

* perf: 更新翻译

* perf: 更新翻译

Co-authored-by: Bai <bugatti_it@163.com>
pull/5437/head
fit2bot 2021-01-17 16:22:06 +08:00 committed by GitHub
parent be7a93d81a
commit 083f061665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 580 additions and 2766 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -76,7 +76,9 @@ class ReplayStorageTypeAzureSerializer(serializers.Serializer):
china = 'core.chinacloudapi.cn', 'core.chinacloudapi.cn'
international = 'core.windows.net', 'core.windows.net'
CONTAINER_NAME = serializers.CharField(max_length=1024, label=_('Container'), allow_null=True)
CONTAINER_NAME = serializers.CharField(
max_length=1024, label=_('Container name'), allow_null=True
)
ACCOUNT_NAME = serializers.CharField(max_length=1024, label=_('Account name'), allow_null=True)
ACCOUNT_KEY = serializers.CharField(max_length=1024, label=_('Account key'), allow_null=True)
ENDPOINT_SUFFIX = serializers.ChoiceField(

View File

@ -47,8 +47,10 @@ class UserForgotPasswordView(FormView):
return self.form_invalid(form)
if not user.is_local:
error = _('The user is from {} and goes there to change the password'
''.format(user.get_source_display()))
error = _(
'The user is from A, please go to the corresponding system to change the password'
''.format(user.get_source_display())
)
form.add_error('email', error)
return self.form_invalid(form)