Skip to content

Commit

Permalink
Add version to Atlas frame title
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Anderson committed Nov 22, 2024
1 parent 093638c commit 2a7b7ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Core/Atlas.xml
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontHighlight" text="ATLAS_TITLE">
<FontString inherits="GameFontHighlight" text="ATLAS_TITLE_VERSION">
<Anchors>
<Anchor point="TOP">
<Offset>
Expand Down Expand Up @@ -665,7 +665,7 @@
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontHighlight" text="ATLAS_TITLE">
<FontString inherits="GameFontHighlight" text="ATLAS_TITLE_VERSION">
<Anchors>
<Anchor point="TOP">
<Offset>
Expand Down Expand Up @@ -896,7 +896,7 @@
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontHighlight" text="ATLAS_TITLE">
<FontString inherits="GameFontHighlight" text="ATLAS_TITLE_VERSION">
<Anchors>
<Anchor point="TOP">
<Offset>
Expand Down
3 changes: 1 addition & 2 deletions Locale/Atlas_GlobalStrings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ Global Atlas Strings
************************************************************************************************
--]]
ATLAS_TITLE = L["ATLAS_TITLE"]

ATLAS_VERSION_TEXT = "v"..C_AddOns.GetAddOnMetadata("Atlas", "Version");
ATLAS_TITLE_VERSION = ATLAS_TITLE.." "..ATLAS_VERSION

BINDING_HEADER_ATLAS_TITLE = L["BINDING_HEADER_ATLAS_TITLE"]
BINDING_NAME_ATLAS_TOGGLE = L["BINDING_NAME_ATLAS_TOGGLE"]
Expand Down

0 comments on commit 2a7b7ad

Please sign in to comment.