Skip to content

Commit 6f26351

Browse files
committed
fix(startFrame): Add Server Platform information
1 parent c30db54 commit 6f26351

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

Frames/MangFrames_Start.lua

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function MangAdmin:CreateStartFrames()
6969
inherits = nil
7070
})
7171

72-
FrameLib:BuildFrame({ --Top Window Frame that has TrinityAdmin Logo
72+
FrameLib:BuildFrame({ --Top Window Frame that has AzerothCoreAdmin Logo
7373
name = "ma_topframe",
7474
group = "bg",
7575
parent = ma_bgframe,
@@ -257,17 +257,17 @@ function MangAdmin:CreateStartFrames()
257257
}
258258
})
259259

260-
-- FrameLib:BuildFontString({
261-
-- name = "ma_infoplatformtext",
262-
-- group = "bg",
263-
-- parent = ma_rightframe,
264-
-- text = "Server Platform: ...",
265-
-- setpoint = {
266-
-- pos = "TOPLEFT",
267-
-- offX = 10,
268-
-- offY = -70
269-
-- }
270-
-- })
260+
FrameLib:BuildFontString({
261+
name = "ma_infoplatformtext",
262+
group = "bg",
263+
parent = ma_rightframe,
264+
text = "(Unknown Server Platform)",
265+
setpoint = {
266+
pos = "TOPLEFT",
267+
offX = 205,
268+
offY = -82
269+
}
270+
})
271271

272272
FrameLib:BuildButton({
273273
name = "ma_inforefreshbutton",

Locales/enUS.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function Return_enUS()
6161
--[[Control Labels]]
6262
["ma_LanguageButton"] = "Change language",
6363
["info_revision"] = "|cFF00FF00AzerothCore rev:|r ", --Updated: Matched string output to AzerothCore
64-
["info_platform"] = "|cFF00FF00Server Platform:|r ",
64+
["info_platform"] = "|cFF00FF00(_SERVER_PLAT_)|r ",
6565
["info_online"] = "|cFF00FF00Players Online:|r ",
6666
["info_online_world"] = "|cFF00FF00Players in world:|r ",
6767
["info_maxonline"] = "|cFF00FF00Maximum Online:|r ",

Locales/strings.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
function ReturnStrings_enUS()
1919
return {
20-
["ma_GmatchRevision"] = "AzerothCore rev. (%S*)",
20+
["ma_GmatchRevision"] = "AzerothCore rev%. (%S*) %S+ %S+ %S+ %S+ %S+ %((%S*)%,",
2121
["ma_GmatchGPS"] = "X: (.*) Y: (.*) Z",
2222
["ma_GmatchItem"] = "%|cffffffff%|Hitem:(%d+).*%[(.*)%]%|h%|r",
2323
["ma_GmatchQuest"] = ".-(%d+).*%[(.*)%]%|h%|r",

0 commit comments

Comments
 (0)