This is an automated email from the ASF dual-hosted git repository.
erikrit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 890b3ca fix: add translate for dropdown menu (#10573)
890b3ca is described below
commit 890b3ca4892cd8ccffbd4f4b104e58f0e9298237
Author: Stuart Hu <[email protected]>
AuthorDate: Wed Aug 12 03:26:49 2020 +0800
fix: add translate for dropdown menu (#10573)
* fix: translate dropdown menu
Signed-off-by: Stuart Hu <[email protected]>
* Apply suggestions from code review
Co-authored-by: iriswonderland13
<[email protected]>
Co-authored-by: Erik Ritter <[email protected]>
Co-authored-by: iriswonderland13
<[email protected]>
---
superset/translations/zh/LC_MESSAGES/messages.json | 11 +++++++++--
superset/translations/zh/LC_MESSAGES/messages.po | 23 +++++++++++++++++++++-
2 files changed, 31 insertions(+), 3 deletions(-)
diff --git a/superset/translations/zh/LC_MESSAGES/messages.json
b/superset/translations/zh/LC_MESSAGES/messages.json
index 5fc4bd4..8ec969f 100644
--- a/superset/translations/zh/LC_MESSAGES/messages.json
+++ b/superset/translations/zh/LC_MESSAGES/messages.json
@@ -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": [
@@ -1562,7 +1564,12 @@
"Changed on": ["改变为"],
"Saved Queries": ["已保存查询"],
"Show": ["每页显示"],
- "entries": ["条"]
+ "entries": ["条"],
+ "Edit chart metadata": ["编辑图表元数据"],
+ "Maximize": ["最大化"],
+ "Minimize": ["还原"],
+ "Share chart": ["共享图表"],
+ "Download as image": ["下载为图片"]
}
}
}
diff --git a/superset/translations/zh/LC_MESSAGES/messages.po
b/superset/translations/zh/LC_MESSAGES/messages.po
index 045ff88..52be019 100644
--- a/superset/translations/zh/LC_MESSAGES/messages.po
+++ b/superset/translations/zh/LC_MESSAGES/messages.po
@@ -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 "强制刷新整个仪表板"
@@ -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 "下载为图片"