Localisation
parent
e1dd427359
commit
eb5e218223
@ -1,14 +1,8 @@
|
||||
using System;
|
||||
using System.Resources;
|
||||
using Yavsc.Resources;
|
||||
using Microsoft.Extensions.Localization;
|
||||
|
||||
public static class ResourcesHelpers {
|
||||
public static IStringLocalizer GlobalLocalizer = null ;
|
||||
|
||||
static ResourceManager _defaultResourceManager
|
||||
= ResourceManager.CreateFileBasedResourceManager("Yavsc.Localization",".",typeof(YavscLocalisation));
|
||||
|
||||
public static ResourceManager DefaultResourceManager
|
||||
{
|
||||
get { return _defaultResourceManager; }
|
||||
set { _defaultResourceManager = value; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue