mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-15 05:14:14 +01:00
Localization
This commit is contained in:
parent
75885473ad
commit
93740dcaef
6 changed files with 199 additions and 32 deletions
|
|
@ -26,6 +26,7 @@ namespace MareSynchronos.Utils
|
|||
public event LogIn? LogIn;
|
||||
public event LogOut? LogOut;
|
||||
public event FrameworkUpdate? FrameworkUpdate;
|
||||
public readonly Dalamud.Localization Localization;
|
||||
|
||||
public DalamudUtil(ClientState clientState, ObjectTable objectTable, Framework framework)
|
||||
{
|
||||
|
|
@ -39,6 +40,9 @@ namespace MareSynchronos.Utils
|
|||
{
|
||||
ClientStateOnLogin(null, EventArgs.Empty);
|
||||
}
|
||||
|
||||
Localization = new Dalamud.Localization("MareSynchronos.Localization.", "", true);
|
||||
Localization.SetupWithLangCode("en");
|
||||
}
|
||||
|
||||
private void FrameworkOnUpdate(Framework framework)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue