服务端不暂支持 .net framework ,支持最新 .netcore 添加七牛接口的支持,客户端修改了已知的bug 并对layui支持
This commit is contained in:
25
FileService/Models/DefaultStringLocalizer.cs
Normal file
25
FileService/Models/DefaultStringLocalizer.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Microsoft.Extensions.Localization;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
|
||||
namespace Ufangx.FileServices.Models
|
||||
{
|
||||
internal class DefaultStringLocalizer : IStringLocalizer
|
||||
{
|
||||
LocalizedString IStringLocalizer.this[string name] => new LocalizedString(name, name,false);
|
||||
|
||||
LocalizedString IStringLocalizer.this[string name, params object[] arguments] =>new LocalizedString(name, string.Format(name, arguments),false) ;
|
||||
|
||||
IEnumerable<LocalizedString> IStringLocalizer.GetAllStrings(bool includeParentCultures)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
IStringLocalizer IStringLocalizer.WithCulture(CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user