From 7130e20564e9b0fbd816fc4e6c5696ba9ad1dc9a Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 25 Jan 2024 23:42:05 +0100 Subject: [PATCH] worldmap-coordinates: use double quotes for strings --- mods/worldmap-coordinates.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/worldmap-coordinates.lua b/mods/worldmap-coordinates.lua index 4cb8a9a..3900932 100644 --- a/mods/worldmap-coordinates.lua +++ b/mods/worldmap-coordinates.lua @@ -50,15 +50,15 @@ module.enable = function(self) local px, py = GetPlayerMapPosition("player") if px > 0 and py > 0 then - WorldMapButton.player.text:SetText(string.format('|cffffcc00' .. T['Player:'] .. ' |r%.1f / %.1f', px*100, py*100)) + WorldMapButton.player.text:SetText(string.format("|cffffcc00" .. T["Player:"] .. " |r%.1f / %.1f", px*100, py*100)) else - WorldMapButton.player.text:SetText(string.format('|cffffcc00' .. T['Player:'] .. ' |r' .. T['N/A'])) + WorldMapButton.player.text:SetText(string.format("|cffffcc00" .. T["Player:"] .. " |r" .. T["N/A"])) end if MouseIsOver(WorldMapButton) then - WorldMapButton.coords.text:SetText(string.format('|cffffcc00' .. T['Cursor:'] .. ' |r%.1f / %.1f', mx, my)) + WorldMapButton.coords.text:SetText(string.format("|cffffcc00" .. T["Cursor:"] .. " |r%.1f / %.1f", mx, my)) else - WorldMapButton.coords.text:SetText(string.format('|cffffcc00' .. T['Cursor:'] .. ' |r' .. T['N/A'])) + WorldMapButton.coords.text:SetText(string.format("|cffffcc00" .. T["Cursor:"] .. " |r" .. T["N/A"])) end end) end