Skip to content

Commit 5a397d3

Browse files
committed
resolved #254: Use zh-Hans instead of zh-CN
1 parent d9fbe09 commit 5a397d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" ?>
2-
<localizationDictionary culture="zh-CN">
2+
<localizationDictionary culture="zh-Hans">
33
<texts>
44
<text name="HomePage" value="主页" />
55
<text name="About" value="关于我们" />
@@ -18,7 +18,7 @@
1818
<text name="Password" value="密码" />
1919
<text name="RememberMe" value="记住我" />
2020
<text name="LogIn" value="登录" />
21-
21+
2222
<text name="LoginFailed" value="登录失败!" />
2323

2424
</texts>

aspnet-core/src/AbpCompanyName.AbpProjectName.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultLanguagesCreator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ private static List<ApplicationLanguage> GetInitialLanguages()
2323
new ApplicationLanguage(null, "pt-BR", "Português", "famfamfam-flags br"),
2424
new ApplicationLanguage(null, "tr", "Türkçe", "famfamfam-flags tr"),
2525
new ApplicationLanguage(null, "ru", "Русский", "famfamfam-flags ru"),
26-
new ApplicationLanguage(null, "zh-CN", "简体中文", "famfamfam-flags cn"),
26+
new ApplicationLanguage(null, "zh-Hans", "简体中文", "famfamfam-flags cn"),
2727
new ApplicationLanguage(null, "es-MX", "Español México", "famfamfam-flags mx"),
2828
new ApplicationLanguage(null, "nl", "Nederlands", "famfamfam-flags nl"),
2929
new ApplicationLanguage(null, "ja", "日本語", "famfamfam-flags jp")

0 commit comments

Comments
 (0)