mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +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 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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue