Skip to content

Commit

Permalink
fix: add translate for dropdown menu (apache#10573)
Browse files Browse the repository at this point in the history
* fix: translate dropdown menu

Signed-off-by: Stuart Hu <shijiehu@improbable.io>

* Apply suggestions from code review

Co-authored-by: iriswonderland13 <69527796+iriswonderland13@users.noreply.github.com>

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
Co-authored-by: iriswonderland13 <69527796+iriswonderland13@users.noreply.github.com>
  • Loading branch information
3 people authored and Ofeknielsen committed Oct 5, 2020
1 parent 146d41c commit f210728
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
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 "下载为图片"

0 comments on commit f210728

Please sign in to comment.