fix: add translate for dropdown menu (#10573)

* 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>
This commit is contained in:
Stuart Hu 2020-08-12 03:26:49 +08:00 committed by GitHub
parent c0bb86d0d6
commit 890b3ca489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 3 deletions

View File

@ -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": ["下载为图片"]
}
}
}

View File

@ -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 "下载为图片"