Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add translate for dropdown menu #10573

Merged
merged 2 commits into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions superset/translations/zh/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,9 @@
"Active Dashboard Filters": ["活跃的看板过滤器"],
"Checkout this dashboard: %s": ["查看这个看板:%s"],
"Save as": ["另存为"],
"Force Refresh": ["强制刷新"],
"Force refresh": ["强制刷新"],
"Fetched %s": ["刷新于%s"],
"Cached %s": ["缓存于%s"],
"Force refresh the whole dashboard": ["强制刷新整个看板"],
"Set autorefresh": ["设置自动刷新"],
"Set the auto-refresh interval for this session": [
Expand Down Expand Up @@ -1562,7 +1564,12 @@
"Changed on": ["改变为"],
"Saved Queries": ["已保存查询"],
"Show": ["每页显示"],
"entries": ["条"]
"entries": ["条"],
"Edit chart metadata": ["编辑图表元数据"],
"Maximize": ["最大化"],
"Minimize": ["还原"],
"Share chart": ["共享图表"],
"Download as image": ["下载为图片"]
}
}
}
23 changes: 22 additions & 1 deletion superset/translations/zh/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1109,9 +1109,15 @@ msgstr "周"
#~ msgid "Save as"
#~ msgstr "另存为"

#~ msgid "Force Refresh"
#~ msgid "Force refresh"
#~ msgstr "强制刷新"

#~ msgid "Fetched %s"
#~ msgstr "刷新于%s"

#~ msgid "Cached %s"
#~ msgstr "缓存于%s"

#~ msgid "Force refresh the whole dashboard"
#~ msgstr "强制刷新整个仪表板"

Expand Down Expand Up @@ -4113,3 +4119,18 @@ msgstr "周"

#~ msgid "Line Width"
#~ msgstr "线宽"

#~ msgid "Edit chart metadata"
#~ msgstr "编辑图表元数据"

#~ msgid "Maximize"
#~ msgstr "最大化"

#~ msgid "Minimize"
#~ msgstr "还原"

#~ msgid "Share chart"
#~ msgstr "共享图表"

#~ msgid "Download as image"
#~ msgstr "下载为图片"