diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-12-11 17:23:05 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-12-11 17:24:12 +0800 |
commit | bc115d88c7cbb728880839dd5e32987db167234b (patch) | |
tree | b350546c93a6cdf8ebb763dd15f4cb66a351b192 /usecaseui-portal | |
parent | 87f400207edddbe97c423ea87dc55a7b4a9ea03f (diff) |
feat: add some i18n resource
Change-Id: I2686afd33ef3eb2138ac1130416618ba2005929b
Issue-ID: USECASEUI-368
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal')
7 files changed, 27 insertions, 27 deletions
diff --git a/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.html b/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.html index 9a11ca2e..9d31a336 100644 --- a/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.html +++ b/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.html @@ -2,7 +2,7 @@ class="taskmodel_list" [nzDataSource]="checkDetail" nzBordered - [nzHeader]="'配置审核详情:'" + [nzHeader]="'Configuration Audit Detail:'" [nzFooter]="null" *ngIf="taskModel !== false" [nzRenderItem]="checkItem" @@ -37,7 +37,7 @@ class="taskmodel_list" [nzDataSource]="businessRequirement" nzBordered - [nzHeader]="'业务需求信息:'" + [nzHeader]="'Business Requirement Information:'" [nzFooter]="null" [nzRenderItem]="businessItem" > @@ -72,7 +72,7 @@ class="taskmodel_list" [nzDataSource]="NSTinfo" nzBordered - [nzHeader]="'匹配NST信息:'" + [nzHeader]="'Matching NST Information:'" [nzFooter]="null" [nzRenderItem]="taskItem" > diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts index 944f4a25..e5832902 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-management.component.ts @@ -116,7 +116,7 @@ export class SlicingTaskManagementComponent implements OnInit { showdetail(data: any): void { this.taskId = data.task_id; - this.moduleTitle = data.processing_status; + this.moduleTitle = data.task_name; if (data.processing_status === 'Waiting to Confirm') { this.showDetail = true; } else { diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html index 62b01134..a5aaeb75 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.html @@ -8,10 +8,10 @@ > </app-basic-info> <div> - <nz-list class="taskmodel_list" nzBordered [nzHeader]="'匹配共享切片实例:'" [nzFooter]="null" *ngIf="slicingInstances"> + <nz-list class="taskmodel_list" nzBordered [nzHeader]="'Matching Shared NSI: '" [nzFooter]="null" *ngIf="slicingInstances"> <nz-list-item nz-row nzType="flex" nzJustify="start" [nzGutter]="8"> <div nz-col nzSpan="12"> - 切片实例 ID: + NSI ID: <nz-select nzShowSearch [(ngModel)]="selectedServiceId" @@ -34,7 +34,7 @@ </nz-select> </div> <div nz-col nzSpan="8"> - 切片实例名称:{{ selectedServiceName }} + NSI Name:{{ selectedServiceName }} </div> <div nz-col nzSpan="4"> <button nz-button nzType="primary" (click)="resetSlicingInstance()"> @@ -43,11 +43,11 @@ </div> </nz-list-item> <nz-list-item nz-row nzType="flex" nzJustify="start" [nzGutter]="8"> - <p class="listitem_subtitle" nz-col nzSpan="24">匹配的共享切片子网实例:</p> + <p class="listitem_subtitle" nz-col nzSpan="24">Matching Shared NSSI:</p> <nz-card *ngFor="let item of slicingSubnet" nzType="inner" nz-col nzSpan="24" [nzTitle]="item.title"> <div nz-row [nzGutter]="8"> <div nz-col nzSpan="12"> - 切片子网实例 ID: + NSSI ID: <nz-select nzShowSearch [nzDisabled]="isDisabled" @@ -71,7 +71,7 @@ </nz-select> </div> <div nz-col nzSpan="8"> - 切片子网实例名称:{{item.slicingName}} + NSSI Name:{{item.slicingName}} </div> <div nz-col nzSpan="4"> <button nz-button nzType="primary" (click)="restSubnetInstance(item)" [disabled]='isDisabled' diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts index 3ccd8698..f6d548d3 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts @@ -29,7 +29,7 @@ export class SlicingTaskModelComponent implements OnInit { // 子网实例 slicingSubnet: any[] = [ { - title: '无线域', + title: 'An', context: 'an', slicingId: '', slicingName: '', @@ -41,7 +41,7 @@ export class SlicingTaskModelComponent implements OnInit { instances: [] }, { - title: '传输域', + title: 'Tn', context: 'tn', slicingId: '', slicingName: '', @@ -53,7 +53,7 @@ export class SlicingTaskModelComponent implements OnInit { instances: [] }, { - title: '核心域', + title: 'Cn', context: 'cn', slicingId: '', slicingName: '', @@ -329,7 +329,7 @@ export class SlicingTaskModelComponent implements OnInit { } changeParams (params: any): void { - const index = this.paramsTitle === '无线域' ? 0 : (this.paramsTitle === '传输域' ? 1 : 2); + const index = this.paramsTitle === 'An' ? 0 : (this.paramsTitle === 'Tn' ? 1 : 2); this.slicingSubnet[index].params = params } diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html index 62df0709..c7df1bf1 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.html @@ -1,7 +1,7 @@ <nz-modal [(nzVisible)]="showModel" [nzTitle]="title + 'Parameter'" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()" nzWidth="700px"> <div class="subnet_params_container"> - <form nz-form *ngIf="title === '无线域'"> + <form nz-form *ngIf="title === 'An'"> <nz-form-item *ngFor="let item of wirelessFormItems"> <nz-form-label [nzSpan]="6" nzRequired [nzFor]="item.key"> {{ item.title }} @@ -34,7 +34,7 @@ </div> </nz-form-item> </form> - <form nz-form *ngIf="title === '传输域'"> + <form nz-form *ngIf="title === 'Tn'"> <nz-form-item *ngFor="let item of transferFormItems"> <nz-form-label [nzSpan]="7" nzRequired [nzFor]="item.key"> {{ item.title }} @@ -44,12 +44,12 @@ </nz-form-control> </nz-form-item> </form> - <form nz-form *ngIf="title === '核心域'"> + <form nz-form *ngIf="title === 'Cn'"> <nz-form-item *ngFor="let item of coreFormItems"> - <nz-form-label [nzSpan]="10" nzRequired [nzFor]="item.key"> + <nz-form-label [nzSpan]="13" nzRequired [nzFor]="item.key"> {{ item.title }} </nz-form-label> - <nz-form-control [nzSpan]="10"> + <nz-form-control [nzSpan]="8"> <input nz-input [id]="item.key" [name]="item.key" [(ngModel)]="detailData[item.key]" [readOnly]="item.title === 'S-NSSAI'" *ngIf=" item.title !== 'Resource Sharing Level' && item.title !== 'Mobility' " /> diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts index 92c50d15..f091667a 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/subnet-params-model/subnet-params-model.component.ts @@ -24,7 +24,7 @@ export class SubnetParamsModelComponent implements OnInit { ngOnInit() { } ngOnChanges() { - if (this.title === '无线域') { + if (this.title === 'An') { this.AreaFormatting(); } } @@ -116,7 +116,7 @@ export class SubnetParamsModelComponent implements OnInit { handleOk(): void { let params: object; - if (this.title === '无线域') { + if (this.title === 'An') { const an_coverage_area_ta_list: string[] = []; this.areaList.forEach( item => { let str: string = ''; diff --git a/usecaseui-portal/src/constants/constants.ts b/usecaseui-portal/src/constants/constants.ts index 667c3014..fa3c682e 100644 --- a/usecaseui-portal/src/constants/constants.ts +++ b/usecaseui-portal/src/constants/constants.ts @@ -71,11 +71,11 @@ export const BUSINESS_REQUIREMENT = [ key: 'max_number_of_ues'
},
{
- title: '上行区域流量密度(Mbps/km )',
+ title: 'Uplink Regional Traffic Density(Mbps/km )',
key: 'area_traffic_cap_ul'
},
{
- title: '下行区域流量密度(Mbps/km )',
+ title: 'Downlink Regional Traffic Density(Mbps/km )',
key: 'area_traffic_cap_dl'
}
],
@@ -169,19 +169,19 @@ export const CORE_FORM_ITEMS = [ key: 'cn_activity_factor'
},
{
- title: '用户下行体验速率(Mbps)',
+ title: 'User Downlink Experience Rate(Mbps)',
key: 'cn_exp_data_rate_dl'
},
{
- title: '用户上行体验速率(Mbps)',
+ title: 'User Uplink Experience Rate(Mbps)',
key: 'cn_exp_data_rate_ul'
},
{
- title: '下行区域流量密度(Mbps/km )',
+ title: 'Downlink Regional Traffic Density(Mbps/km )',
key: 'cn_area_traffic_cap_dl'
},
{
- title: '下行区域流量密度(Mbps/km )',
+ title: 'Uplink Regional Traffic Density(Mbps/km )',
key: 'cn_area_traffic_cap_ul'
}
]
|