mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-16 18:19:38 -05:00
start work to allow customizing command properties via configuration
This commit is contained in:
@ -1,25 +1,23 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using SharedLibraryCore.Interfaces;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace SharedLibraryCore.Localization
|
||||
{
|
||||
public class Layout
|
||||
{
|
||||
public string LocalizationName { get; set; }
|
||||
public Index LocalizationIndex { get; set; }
|
||||
public TranslationLookup LocalizationIndex { get; set; }
|
||||
|
||||
public Layout(Dictionary<string, string> set)
|
||||
{
|
||||
LocalizationIndex = new Index()
|
||||
LocalizationIndex = new TranslationLookup()
|
||||
{
|
||||
Set = set
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
public class Index
|
||||
public class TranslationLookup : ITranslationLookup
|
||||
{
|
||||
public Dictionary<string, string> Set { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user