You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/06/11 08:15:25 UTC

[incubator-apisix-dashboard] 01/03: feat: added locale

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch feat-plugins
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git

commit 44a1c2fe4e143c1b343113d6d2f36d44437fd71a
Author: juzhiyuan <jj...@gmail.com>
AuthorDate: Thu Jun 11 15:49:42 2020 +0800

    feat: added locale
---
 src/components/PluginForm/locales/en-US.ts | 7 +++++++
 src/components/PluginForm/locales/zh-CN.ts | 5 +++++
 2 files changed, 12 insertions(+)

diff --git a/src/components/PluginForm/locales/en-US.ts b/src/components/PluginForm/locales/en-US.ts
index 9f57841..fccd889 100644
--- a/src/components/PluginForm/locales/en-US.ts
+++ b/src/components/PluginForm/locales/en-US.ts
@@ -46,4 +46,11 @@ export default {
   'PluginForm.plugin.wolf-rbac.desc':
     'wolf-rbac is an authentication and authorization (rbac) plugin',
   'PluginForm.plugin.zipkin.desc': 'Zipkin is a OpenTracing plugin.',
+  'PluginForm.plugin.node-status.desc': 'No description currently.',
+  'PluginForm.plugin.serverless-pre-function.desc':
+    'It belongs to serverless, and will execute first',
+  'PluginForm.plugin.serverless-post-function.desc':
+    'It belongs to serverless and will execute in the end',
+  'PluginForm.plugin.openid-connect.desc': 'No description currently.',
+  'PluginForm.plugin.heartbeat.desc': 'No description currently.',
 };
diff --git a/src/components/PluginForm/locales/zh-CN.ts b/src/components/PluginForm/locales/zh-CN.ts
index 548ecfa..95ebd87 100644
--- a/src/components/PluginForm/locales/zh-CN.ts
+++ b/src/components/PluginForm/locales/zh-CN.ts
@@ -40,4 +40,9 @@ export default {
   'PluginForm.plugin.wolf-rbac.desc':
     'wolf-rbac 是一个认证及授权(rbac)插件,它需要与 consumer 一起配合才能工作。',
   'PluginForm.plugin.zipkin.desc': 'zipkin 是一个开源的服务跟踪插件。',
+  'PluginForm.plugin.node-status.desc': '暂无描述',
+  'PluginForm.plugin.serverless-pre-function.desc': '属于 serverless,会在指定阶段最开始运行。',
+  'PluginForm.plugin.serverless-post-function.desc': '属于 serverless,会在指定阶段最后运行。',
+  'PluginForm.plugin.openid-connect.desc': '暂无描述。',
+  'PluginForm.plugin.heartbeat.desc': '暂无描述',
 };