Skip to content

Commit f216ddb

Browse files
committed
add local text and fix ui text
1 parent 719cac3 commit f216ddb

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Localization/SourceFiles/AbpProjectName-zh-Hans.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,21 @@
6161
<text name="PasswordRequireNonAlphanumeric">密码至少需要包含一个特殊字符(非字母或数字的字符).</text>
6262
<text name="PasswordRequireUppercase">密码至少需要一位是A到Z的大写字母.</text>
6363
<text name="PasswordTooShort">密码长度太短</text>
64+
65+
<text name="UserName">用户名</text>
66+
<text name="Name">名称</text>
67+
<text name="IsActive">是否启用</text>
68+
<text name="LastLoginTime">最近登陆时间</text>
69+
<text name="RoleName">角色名</text>
70+
<text name="DisplayName">显示名</text>
71+
<text name="Description">描述</text>
72+
<text name="IsStatic">是否内置</text>
73+
74+
<text name="All">全部</text>
75+
<text name="Actived">启用</text>
76+
<text name="NoActive">未启用</text>
77+
78+
<text name="Yes">是</text>
79+
<text name="No">否</text>
6480
</texts>
6581
</localizationDictionary>

vue/src/views/setting/role/role.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
},{
108108
title:this.L('IsStatic'),
109109
render:(h:any,params:any)=>{
110-
return h('span',params.row.isStatic?'':'')
110+
return h('span',params.row.isStatic?this.L('Yes'):this.L('No'))
111111
}
112112
},{
113113
title:this.L('Actions'),

vue/src/views/setting/tenant/tenant.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</FormItem>
1111
</Col>
1212
<Col span="8">
13-
<FormItem :label="L('TenantName')+':'" style="width:100%">
13+
<FormItem :label="L('Name')+':'" style="width:100%">
1414
<Input v-model="filters[0].Value"></Input>
1515
</FormItem>
1616
</Col>
@@ -112,7 +112,7 @@
112112
title:this.L('TenancyName'),
113113
key:'tenancyName'
114114
},{
115-
title:this.L('TenantName'),
115+
title:this.L('Name'),
116116
key:'name'
117117
},{
118118
title:this.L('IsActive'),

0 commit comments

Comments
 (0)