Skip to content

Commit

Permalink
[translate] merge translate code
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyao1994 committed Oct 26, 2017
1 parent 9432ea8 commit 9eca92b
Show file tree
Hide file tree
Showing 15 changed files with 8,178 additions and 7,535 deletions.
1,893 changes: 1,063 additions & 830 deletions babel/messages.pot

Large diffs are not rendered by default.

Binary file modified superset/translations/en/LC_MESSAGES/messages.mo
Binary file not shown.
2,200 changes: 1,078 additions & 1,122 deletions superset/translations/en/LC_MESSAGES/messages.po

Large diffs are not rendered by default.

Binary file modified superset/translations/es/LC_MESSAGES/messages.mo
Binary file not shown.
2,200 changes: 1,075 additions & 1,125 deletions superset/translations/es/LC_MESSAGES/messages.po

Large diffs are not rendered by default.

Binary file modified superset/translations/fr/LC_MESSAGES/messages.mo
Binary file not shown.
1,969 changes: 1,136 additions & 833 deletions superset/translations/fr/LC_MESSAGES/messages.po

Large diffs are not rendered by default.

Binary file modified superset/translations/it/LC_MESSAGES/messages.mo
Binary file not shown.
2,200 changes: 1,078 additions & 1,122 deletions superset/translations/it/LC_MESSAGES/messages.po

Large diffs are not rendered by default.

Binary file modified superset/translations/ja/LC_MESSAGES/messages.mo
Binary file not shown.
1,921 changes: 1,099 additions & 822 deletions superset/translations/ja/LC_MESSAGES/messages.po

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion superset/translations/zh/LC_MESSAGES/messages.json

Large diffs are not rendered by default.

Binary file modified superset/translations/zh/LC_MESSAGES/messages.mo
Binary file not shown.
3,319 changes: 1,640 additions & 1,679 deletions superset/translations/zh/LC_MESSAGES/messages.po

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,13 @@ class DatabaseView(SupersetModelView, DeleteMixin): # noqa
'extra': _("Extra"),
'allow_run_sync': _("Allow Run Sync"),
'allow_run_async': _("Allow Run Async"),
'tables': _("Tables"),
'backend': _("Backend"),
'created_by': _("Created by"),
'created_on': _("Created On"),
'changed_by': _("Changed by"),
'changed_on': _("Changed On"),
'modified': _("Modified"),
'impersonate_user': _("Impersonate the logged on user")
}

Expand Down Expand Up @@ -1440,7 +1447,7 @@ def testconn(self):
# the password-masked uri was passed
# use the URI associated with this database
uri = database.sqlalchemy_uri_decrypted

url = make_url(uri)
db_engine = models.Database.get_db_engine_spec_for_backend(url.get_backend_name())
db_engine.patch()
Expand Down

0 comments on commit 9eca92b

Please sign in to comment.