Skip to content

if field is unique,“Already exists.” not translation#1

Open
EVA09 wants to merge 1 commit into
masterfrom
fixed-unique-“Already-exists.”-translations

Hidden character warning

The head ref may contain hidden characters: "fixed-unique-\u201cAlready-exists.\u201d-translations"
Open

if field is unique,“Already exists.” not translation#1
EVA09 wants to merge 1 commit into
masterfrom
fixed-unique-“Already-exists.”-translations

Conversation

@EVA09
Copy link
Copy Markdown
Owner

@EVA09 EVA09 commented Mar 13, 2020

1、/flask_admin/translations/zh_Hans_CN/LC_MESSAGES/admin.po
#: ../flask_admin/contrib/sqla/validators.py:42 msgid "Already exists." msgstr "已经存在。"
2、/flask_admin/contrib/sqla/validators.py:42
self.message = field.gettext(u'Already exists.')
maybe this is use self.message = gettext(u'Already exists.')
it from flask_admin.babel import gettext
I think this right

fixed translations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant