mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-28 19:39:19 +01:00
SeStringEvaluator: fallback to games ClientLanguage (#2261)
This commit is contained in:
parent
b996ff5e10
commit
ce49b0d51f
2 changed files with 23 additions and 7 deletions
|
|
@ -6,6 +6,7 @@ using System.Text;
|
|||
using Dalamud.Configuration.Internal;
|
||||
using Dalamud.Data;
|
||||
using Dalamud.Game;
|
||||
using Dalamud.Game.ClientState;
|
||||
using Dalamud.Game.Text.Evaluator;
|
||||
using Dalamud.Game.Text.Noun.Enums;
|
||||
using Dalamud.Game.Text.SeStringHandling;
|
||||
|
|
@ -168,7 +169,7 @@ internal class SeStringCreatorWidget : IDataWindowWidget
|
|||
/// <inheritdoc/>
|
||||
public void Load()
|
||||
{
|
||||
this.language = Service<DalamudConfiguration>.Get().EffectiveLanguage.ToClientLanguage();
|
||||
this.language = Service<ClientState>.Get().ClientLanguage;
|
||||
this.UpdateInputString(false);
|
||||
this.Ready = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue