mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
fix: Add localisation to notifier string
This commit is contained in:
parent
d65f2c6cd9
commit
ab34b584f8
1 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
|
|
||||||
|
using CheapLoc;
|
||||||
using Dalamud.Interface.Windowing;
|
using Dalamud.Interface.Windowing;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
|
|
||||||
|
|
@ -34,7 +35,12 @@ namespace Dalamud.Interface
|
||||||
var drawList = ImGui.GetBackgroundDrawList();
|
var drawList = ImGui.GetBackgroundDrawList();
|
||||||
drawList.PushClipRectFullScreen();
|
drawList.PushClipRectFullScreen();
|
||||||
drawList.AddRectFilled(Vector2.Zero, ImGuiHelpers.MainViewport.Size, 0x661A1A1A);
|
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();
|
drawList.PopClipRect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue