mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
Localization: change to a provided service
This commit is contained in:
parent
aa99be6ccb
commit
efaa346d5e
3 changed files with 32 additions and 14 deletions
|
|
@ -65,7 +65,12 @@ internal sealed class Dalamud : IServiceType
|
|||
true, new FileInfo(Path.Combine(cacheDir.FullName, $"{this.StartInfo.GameVersion}.json")));
|
||||
}
|
||||
|
||||
ServiceManager.InitializeProvidedServices(this, fs, configuration, scanner);
|
||||
ServiceManager.InitializeProvidedServices(
|
||||
this,
|
||||
fs,
|
||||
configuration,
|
||||
scanner,
|
||||
Localization.FromAssets(info.AssetDirectory!, configuration.LanguageOverride));
|
||||
|
||||
// Set up FFXIVClientStructs
|
||||
this.SetupClientStructsResolver(cacheDir);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue