🚑 增加默认的英文翻译

This commit is contained in:
igeekfan
2022-05-21 13:52:54 +08:00
parent e956d5313c
commit d5680a5e57
7 changed files with 637 additions and 626 deletions

View File

@ -24,7 +24,11 @@ namespace FreeSql.Tests.Properties
public void AsTable_PropertyName_NotDateTimeTest()
{
var x = CoreStrings.CustomFieldSeparatedBySpaces;
output.WriteLine(x);
x = CoreStrings.Custom_StaticMethodName_IsNotNull;
output.WriteLine(x);
x = CoreStrings.Custom_Reflection_IsNotNull;
output.WriteLine(x);
string text = CoreStrings.AsTable_PropertyName_NotDateTime("1");
output.WriteLine(text);
}

View File

@ -21,8 +21,8 @@ namespace FreeSql.Tests.Properties
//Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
//Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");
//DbContextStrings.Culture= new System.Globalization.CultureInfo("zh-CN");
DbContextStrings.Culture = new System.Globalization.CultureInfo("en-US");
DbContextStrings.Culture= new System.Globalization.CultureInfo("zh-Hans");
//DbContextStrings.Culture = new System.Globalization.CultureInfo("en-US");
}
[Fact]