Localisation
This commit is contained in:
parent
41d803f851
commit
757c5ca2ea
23 changed files with 26 additions and 39 deletions
|
|
@ -1,14 +1,8 @@
|
|||
using System;
|
||||
using System.Resources;
|
||||
using Yavsc.Resources;
|
||||
using Microsoft.Extensions.Localization;
|
||||
|
||||
public static class ResourcesHelpers {
|
||||
|
||||
static ResourceManager _defaultResourceManager
|
||||
= ResourceManager.CreateFileBasedResourceManager("Yavsc.Localization",".",typeof(YavscLocalisation));
|
||||
|
||||
public static ResourceManager DefaultResourceManager
|
||||
{
|
||||
get { return _defaultResourceManager; }
|
||||
set { _defaultResourceManager = value; }
|
||||
}
|
||||
public static IStringLocalizer GlobalLocalizer = null ;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue