From ab34b584f8f54f14f1bcb1abead885c5124ab750 Mon Sep 17 00:00:00 2001 From: Chivalrik Date: Sun, 2 May 2021 12:33:56 +0200 Subject: [PATCH] fix: Add localisation to notifier string --- Dalamud/Interface/GamepadModeNotifierWindow.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dalamud/Interface/GamepadModeNotifierWindow.cs b/Dalamud/Interface/GamepadModeNotifierWindow.cs index b3cbef108..1bcf63e6e 100644 --- a/Dalamud/Interface/GamepadModeNotifierWindow.cs +++ b/Dalamud/Interface/GamepadModeNotifierWindow.cs @@ -1,5 +1,6 @@ using System.Numerics; +using CheapLoc; using Dalamud.Interface.Windowing; using ImGuiNET; @@ -34,7 +35,12 @@ namespace Dalamud.Interface var drawList = ImGui.GetBackgroundDrawList(); drawList.PushClipRectFullScreen(); drawList.AddRectFilled(Vector2.Zero, ImGuiHelpers.MainViewport.Size, 0x661A1A1A); - drawList.AddText(Vector2.One, 0xFFFFFFFF, "Gamepad mode is ON. Press R1+L3 to deactivate, press R3 to toggle PluginInstaller."); + drawList.AddText( + Vector2.One, + 0xFFFFFFFF, + Loc.Localize( + "DalamudGamepadModeNotifierText", + "Gamepad mode is ON. Press R1+L3 to deactivate, press R3 to toggle PluginInstaller.")); drawList.PopClipRect(); } }