mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
feat: update loc to allow use by plugins
This commit is contained in:
parent
2a585e8d5d
commit
13eaa4450d
4 changed files with 57 additions and 9 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue