pref: 去掉 i18n 变更

pull/10004/head
ibuler 2023-03-17 18:51:58 +08:00
parent 675516f6da
commit 3f6c3c3dbb
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ class AuthValidateMixin(serializers.Serializer):
choices=SecretType.choices, required=True, label=_('Secret type')
)
secret = EncryptedField(
label=_('Secret'), required=False, max_length=40960, allow_blank=True,
label=_('Secret/Password'), required=False, max_length=40960, allow_blank=True,
allow_null=True, write_only=True,
)
passphrase = serializers.CharField(

View File

@ -584,7 +584,7 @@ msgid "Asset type"
msgstr "資産タイプ"
#: accounts/serializers/account/base.py:19
msgid "Secret"
msgid "Secret/Password"
msgstr "キー/パスワード"
#: accounts/serializers/account/base.py:24

View File

@ -580,8 +580,8 @@ msgid "Asset type"
msgstr "资产类型"
#: accounts/serializers/account/base.py:19
msgid "Secret"
msgstr "密"
msgid "Secret/Password"
msgstr "密码/密钥"
#: accounts/serializers/account/base.py:24
msgid "Key password"