feat: update loc to allow use by plugins

This commit is contained in:
kalilistic 2021-04-10 13:45:28 -04:00
parent 2a585e8d5d
commit 13eaa4450d
4 changed files with 57 additions and 9 deletions

View file

@ -9,7 +9,7 @@ namespace Dalamud.Test {
public LocalizationTests() {
var workingDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
this.localization = new Localization(workingDir);
this.localization = new Localization(workingDir, "dalamud_");
this.localization.OnLocalizationChanged += code => this.currentLangCode = code;
}