You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2021/05/19 12:53:59 UTC
[servicecomb-service-center] branch master updated: 拼写错误 (#985)
This is an automated email from the ASF dual-hosted git repository.
littlecui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git
The following commit(s) were added to refs/heads/master by this push:
new a341477 拼写错误 (#985)
a341477 is described below
commit a34147706180e1039718549268dbbe7e46063209
Author: tuan <ya...@126.com>
AuthorDate: Wed May 19 20:53:53 2021 +0800
拼写错误 (#985)
Co-authored-by: tuan <>
---
ux/src/app/config-list/modal/select-app/select-app.component.html | 2 +-
ux/src/app/config-list/modal/select-app/select-app.component.ts | 2 +-
.../config-list/modal/select-service/select-service.component.html | 6 +++---
.../config-list/modal/select-service/select-service.component.ts | 2 +-
.../app/config-list/pages/config-create/config-create.component.ts | 4 ++--
ux/src/app/config-list/pipe/config-type.pipe.ts | 4 ++--
ux/src/assets/i18n/zh_CN.json | 2 +-
7 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/ux/src/app/config-list/modal/select-app/select-app.component.html b/ux/src/app/config-list/modal/select-app/select-app.component.html
index 1a75a49..864ff02 100644
--- a/ux/src/app/config-list/modal/select-app/select-app.component.html
+++ b/ux/src/app/config-list/modal/select-app/select-app.component.html
@@ -29,7 +29,7 @@ limitations under the License.
<tr dTableRow>
<th dHeadCell></th>
<th dHeadCell>{{ "kie.modal.appName" | translate }}</th>
- <th dHeadCell>{{ "kie.modal.enviroment" | translate }}</th>
+ <th dHeadCell>{{ "kie.modal.environment" | translate }}</th>
</tr>
</thead>
<tbody dTableBody>
diff --git a/ux/src/app/config-list/modal/select-app/select-app.component.ts b/ux/src/app/config-list/modal/select-app/select-app.component.ts
index cc522c3..0263670 100644
--- a/ux/src/app/config-list/modal/select-app/select-app.component.ts
+++ b/ux/src/app/config-list/modal/select-app/select-app.component.ts
@@ -52,7 +52,7 @@ export class SelectAppComponent implements OnInit {
width: '200px',
},
{
- field: 'enviroment',
+ field: 'environment',
width: '200px',
},
];
diff --git a/ux/src/app/config-list/modal/select-service/select-service.component.html b/ux/src/app/config-list/modal/select-service/select-service.component.html
index da01c67..df0ebf3 100644
--- a/ux/src/app/config-list/modal/select-service/select-service.component.html
+++ b/ux/src/app/config-list/modal/select-service/select-service.component.html
@@ -36,7 +36,7 @@ limitations under the License.
<th dHeadCell></th>
<th dHeadCell>{{ "kie.modal.serviceName" | translate }}</th>
<th dHeadCell>{{ "kie.modal.app" | translate }}</th>
- <th dHeadCell>{{ "kie.modal.enviroment" | translate }}</th>
+ <th dHeadCell>{{ "kie.modal.environment" | translate }}</th>
</tr>
</thead>
<tbody dTableBody>
@@ -57,8 +57,8 @@ limitations under the License.
<td dTableCell field="appId">
{{ rowItem.appId }}
</td>
- <td dTableCell field="enviroment">
- {{ rowItem.enviroment | EnvironmentPipe }}
+ <td dTableCell field="environment">
+ {{ rowItem.environment | EnvironmentPipe }}
</td>
</tr>
</ng-template>
diff --git a/ux/src/app/config-list/modal/select-service/select-service.component.ts b/ux/src/app/config-list/modal/select-service/select-service.component.ts
index 579d8d5..19d4fd3 100644
--- a/ux/src/app/config-list/modal/select-service/select-service.component.ts
+++ b/ux/src/app/config-list/modal/select-service/select-service.component.ts
@@ -61,7 +61,7 @@ export class SelectServiceComponent implements OnInit {
width: '120px',
},
{
- field: 'enviroment',
+ field: 'environment',
width: '120px',
},
];
diff --git a/ux/src/app/config-list/pages/config-create/config-create.component.ts b/ux/src/app/config-list/pages/config-create/config-create.component.ts
index 432df55..b7f7fa9 100644
--- a/ux/src/app/config-list/pages/config-create/config-create.component.ts
+++ b/ux/src/app/config-list/pages/config-create/config-create.component.ts
@@ -167,7 +167,7 @@ export class ConfigCreateComponent implements OnInit {
this.appId = rowItem.appId;
this.tags = [
`app=${rowItem.appId}`,
- `enviroment=${rowItem.environment}`,
+ `environment=${rowItem.environment}`,
];
}
results.modalInstance.hide();
@@ -194,7 +194,7 @@ export class ConfigCreateComponent implements OnInit {
this.tags = [
`service=${rowItem.serviceName}`,
`app=${rowItem.appId}`,
- `enviroment=${rowItem.environment}`,
+ `environment=${rowItem.environment}`,
`version=${version}`,
];
}
diff --git a/ux/src/app/config-list/pipe/config-type.pipe.ts b/ux/src/app/config-list/pipe/config-type.pipe.ts
index 6cbc271..81cdedc 100644
--- a/ux/src/app/config-list/pipe/config-type.pipe.ts
+++ b/ux/src/app/config-list/pipe/config-type.pipe.ts
@@ -52,11 +52,11 @@ export const configTypeFn = (value: Lables): type => {
value.app &&
value.service &&
value.version &&
- value.enviroment !== undefined
+ value.environment !== undefined
) {
return 'service';
}
- if (value.app && value.enviroment !== undefined) {
+ if (value.app && value.environment !== undefined) {
return 'app';
}
return 'custom';
diff --git a/ux/src/assets/i18n/zh_CN.json b/ux/src/assets/i18n/zh_CN.json
index 230fae0..c065a18 100644
--- a/ux/src/assets/i18n/zh_CN.json
+++ b/ux/src/assets/i18n/zh_CN.json
@@ -73,7 +73,7 @@
"serviceConfigContent": "将新建到配置关联到某一微服务,并添加微服务名称和所在环境到标签。",
"customConfigContent": "自定义一个新到配置文件。",
"appName": "应用名称",
- "enviroment": "环境",
+ "environment": "环境",
"vision": "选择版本",
"visionPlaceholder": "选择版本",
"serviceName": "服务名称",