This is an automated email from the ASF dual-hosted git repository.
min pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-ops.git
The following commit(s) were added to refs/heads/develop by this push:
new 42e4ddf add i18n
42e4ddf is described below
commit 42e4ddf7bd7290fab017e924f8c1b34618294a2b
Author: nzomkxia <[email protected]>
AuthorDate: Thu Jan 10 22:39:33 2019 +0800
add i18n
---
dubbo-admin-frontend/src/components/governance/LoadBalance.vue | 2 +-
dubbo-admin-frontend/src/lang/en.js | 5 +++--
dubbo-admin-frontend/src/lang/zh.js | 3 ++-
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/dubbo-admin-frontend/src/components/governance/LoadBalance.vue
b/dubbo-admin-frontend/src/components/governance/LoadBalance.vue
index 6a1eb56..140a9a6 100644
--- a/dubbo-admin-frontend/src/components/governance/LoadBalance.vue
+++ b/dubbo-admin-frontend/src/components/governance/LoadBalance.vue
@@ -112,7 +112,7 @@
<v-dialog v-model="dialog" width="800px" persistent >
<v-card>
<v-card-title class="justify-center">
- <span class="headline">Create New LoadBalance Rule</span>
+ <span class="headline">{{$t('createNewLoadBalanceRule')}}</span>
</v-card-title>
<v-card-text >
<v-text-field
diff --git a/dubbo-admin-frontend/src/lang/en.js
b/dubbo-admin-frontend/src/lang/en.js
index 0dd6d94..8831a23 100644
--- a/dubbo-admin-frontend/src/lang/en.js
+++ b/dubbo-admin-frontend/src/lang/en.js
@@ -15,7 +15,7 @@
* limitations under the License.
*/
export default {
- serviceSearch: 'Service Search',
+ serviceSearch: 'Search service name',
serviceGovernance: 'Service Governance',
routingRule: 'Condition Rule',
tagRule: 'Tag Rule',
@@ -56,6 +56,7 @@ export default {
createNewTagRule: 'Create New Tag Rule',
createNewDynamicConfigRule: 'Create New Dynamic Config Rule',
createNewWeightRule: 'Create New Weight Rule',
+ createNewLoadBalanceRule: 'Create new load balancing rule',
serviceIdHint: 'Service ID',
view: 'View',
edit: 'Edit',
@@ -69,7 +70,7 @@ export default {
appNameHint: 'Application name the service belongs to',
basicInfo: 'BasicInfo',
metaData: 'MetaData',
- searchDubboService: 'Search Dubbo Services',
+ searchDubboService: 'Search Dubbo Services or applications',
serviceSearchHint: 'Service ID, org.apache.dubbo.demo.api.DemoService, * for
all services',
ipSearchHint: 'Find all services provided by the target server on the
specified IP address',
appSearchHint: 'Input an application name to find all services provided by
one particular application, * for all',
diff --git a/dubbo-admin-frontend/src/lang/zh.js
b/dubbo-admin-frontend/src/lang/zh.js
index 85186ee..1df128f 100644
--- a/dubbo-admin-frontend/src/lang/zh.js
+++ b/dubbo-admin-frontend/src/lang/zh.js
@@ -56,6 +56,7 @@ export default {
createNewTagRule: '创建新标签规则',
createNewDynamicConfigRule: '创建新动态配置规则',
createNewWeightRule: '新建权重规则',
+ createNewLoadBalanceRule: '新建负载均衡规则',
serviceIdHint: '服务名',
view: '查看',
edit: '编辑',
@@ -69,7 +70,7 @@ export default {
appNameHint: '服务所属的应用名称',
basicInfo: '基础信息',
metaData: '元数据',
- searchDubboService: '搜索Dubbo服务',
+ searchDubboService: '搜索Dubbo服务或应用',
serviceSearchHint: '服务ID, org.apache.dubbo.demo.api.DemoService, * 代表所有服务',
ipSearchHint: '在指定的IP地址上查找目标服务器提供的所有服务',
appSearchHint: '输入应用名称以查找由一个特定应用提供的所有服务, * 代表所有',