Skip to content

Commit

Permalink
Changes for new version syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Mar 28, 2024
1 parent 2765b2e commit d465ab2
Show file tree
Hide file tree
Showing 25 changed files with 48 additions and 35 deletions.
18 changes: 10 additions & 8 deletions ElvUI/Core/General/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ local LSM = E.Libs.LSM
E.noop = function() end
E.title = format('%s%s|r', E.InfoColor, 'ElvUI')
E.toc = tonumber(GetAddOnMetadata('ElvUI', 'X-Interface'))
E.version = tonumber(GetAddOnMetadata('ElvUI', 'Version'))
E.version, E.versionString = E:ParseVersionString('ElvUI')
E.myfaction, E.myLocalizedFaction = UnitFactionGroup('player')
E.myLocalizedClass, E.myclass, E.myClassID = UnitClass('player')
E.myLocalizedRace, E.myrace, E.myRaceID = UnitRace('player')
Expand Down Expand Up @@ -900,12 +900,14 @@ end
do
local SendMessageWaiting -- only allow 1 delay at a time regardless of eventing
function E:SendMessage()
if IsInRaid() then
C_ChatInfo_SendAddonMessage('ELVUI_VERSIONCHK', E.version, (not IsInRaid(LE_PARTY_CATEGORY_HOME) and IsInRaid(LE_PARTY_CATEGORY_INSTANCE)) and 'INSTANCE_CHAT' or 'RAID')
elseif IsInGroup() then
C_ChatInfo_SendAddonMessage('ELVUI_VERSIONCHK', E.version, (not IsInGroup(LE_PARTY_CATEGORY_HOME) and IsInGroup(LE_PARTY_CATEGORY_INSTANCE)) and 'INSTANCE_CHAT' or 'PARTY')
elseif IsInGuild() then
C_ChatInfo_SendAddonMessage('ELVUI_VERSIONCHK', E.version, 'GUILD')
if E.version < 99999 then
if IsInRaid() then
C_ChatInfo_SendAddonMessage('ELVUI_VERSIONCHK', E.version, (not IsInRaid(LE_PARTY_CATEGORY_HOME) and IsInRaid(LE_PARTY_CATEGORY_INSTANCE)) and 'INSTANCE_CHAT' or 'RAID')
elseif IsInGroup() then
C_ChatInfo_SendAddonMessage('ELVUI_VERSIONCHK', E.version, (not IsInGroup(LE_PARTY_CATEGORY_HOME) and IsInGroup(LE_PARTY_CATEGORY_INSTANCE)) and 'INSTANCE_CHAT' or 'PARTY')
elseif IsInGuild() then
C_ChatInfo_SendAddonMessage('ELVUI_VERSIONCHK', E.version, 'GUILD')
end
end

SendMessageWaiting = nil
Expand Down Expand Up @@ -2021,7 +2023,7 @@ function E:Initialize()
end

if E.db.general.loginmessage then
local msg = format(L["LOGIN_MSG"], E.version)
local msg = format(L["LOGIN_MSG"], E.versionString)
if Chat.Initialized then msg = select(2, Chat:FindURL('CHAT_MSG_DUMMY', msg)) end
print(msg)
print(L["LOGIN_MSG_HELP"])
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/General/Install.lua
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ function E:SetPage(PageNum)
f.Desc3:FontTemplate(nil, 16)

if PageNum == 1 then
f.SubTitle:SetFormattedText(L["Welcome to ElvUI version %.2f!"], E.version)
f.SubTitle:SetFormattedText(L["Welcome to ElvUI version %s!"], E.versionString)
f.Desc1:SetText(L["This install process will help you learn some of the features in ElvUI has to offer and also prepare your user interface for usage."])
f.Desc2:SetText(L["The in-game configuration menu can be accessed by typing the /ec command. Press the button below if you wish to skip the installation process."])
f.Desc3:SetText(L["Please press the continue button to go onto the next step."])
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/General/StatusReport.lua
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function E:UpdateStatusFrame()
local PluginSection = PluginFrame.SectionP
PluginSection.Header.Text:SetFormattedText('%sPlugins|r', valueColor)

StatusFrame.Section1.Content.Line1.Text:SetFormattedText('Version of ElvUI: |cff%s%.2f|r', (E.recievedOutOfDateMessage and 'ff3333') or (E.updateRequestTriggered and 'ff9933') or '33ff33', E.version)
StatusFrame.Section1.Content.Line1.Text:SetFormattedText('Version of ElvUI: |cff%s%s|r', (E.recievedOutOfDateMessage and 'ff3333') or (E.updateRequestTriggered and 'ff9933') or '33ff33', E.versionString)

local addons, plugins = E:AreOtherAddOnsEnabled()
StatusFrame.Section1.Content.Line2.Text:SetFormattedText('Other AddOns Enabled: |cff%s|r', (not addons and plugins and 'ff9933Plugins') or (addons and 'ff3333Yes') or '33ff33No')
Expand Down
17 changes: 14 additions & 3 deletions ElvUI/Core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

local _G = _G
local gsub, tinsert, next = gsub, tinsert, next
local tostring, strfind, type = tostring, strfind, type
local tostring, strfind, type, strsub = tostring, strfind, type, strsub

local CreateFrame = CreateFrame
local GetBuildInfo = GetBuildInfo
Expand Down Expand Up @@ -113,8 +113,19 @@ do -- this is different from E.locale because we need to convert for ace locale
end
end

function E:ParseVersionString(addon)
local versionString = GetAddOnMetadata(addon, 'Version')
if not strfind(versionString, '-') then
return tonumber(strsub(versionString, 2)), versionString
elseif strfind(versionString, 'project%-version') then
return 99999, 'Development'
else
return 99999, versionString
end
end

do
E.Libs = { version = tonumber(GetAddOnMetadata('ElvUI_Libraries', 'Version')) }
E.Libs = { version = E:ParseVersionString('ElvUI_Libraries') }
E.LibsMinor = {}
function E:AddLib(name, major, minor)
if not name then return end
Expand Down Expand Up @@ -340,4 +351,4 @@ function E:OnInitialize()
elseif GetAddOnEnableState(E.myname, 'Tukui') == 2 then
E:StaticPopup_Show('TUKUI_ELVUI_INCOMPATIBLE')
end
end
end
2 changes: 1 addition & 1 deletion ElvUI/ElvUI_Classic.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: |cff1784d1ElvUI|r |cfd9b9b9bClassic|r
## Notes: User Interface Replacement
## Author: Elv, Simpy
## Version: 13.60
## Version: @project-version@
## SavedVariables: ElvDB, ElvPrivateDB
## SavedVariablesPerCharacter: ElvCharacterDB
## OptionalDeps: SharedMedia, Tukui, Masque
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/ElvUI_Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: |cff1784d1ElvUI|r
## Notes: User Interface Replacement
## Author: Elv, Simpy
## Version: 13.60
## Version: @project-version@
## SavedVariables: ElvDB, ElvPrivateDB
## SavedVariablesPerCharacter: ElvCharacterDB
## OptionalDeps: SharedMedia, Tukui, Masque
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/ElvUI_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: |cff1784d1ElvUI|r |cfd9b9b9bWrath|r
## Notes: User Interface Replacement
## Author: Elv, Simpy
## Version: 13.60
## Version: @project-version@
## SavedVariables: ElvDB, ElvPrivateDB
## SavedVariablesPerCharacter: ElvCharacterDB
## OptionalDeps: SharedMedia, Tukui, Masque
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ L["List of installations in queue:"] = "Liste der Installationen in der Wartesch
L["Loadouts"] = "Auslastungen"
L["Location"] = "Standort"
L["Lock"] = "Sperren"
L["LOGIN_MSG"] = ("Willkommen zu *ElvUI|r Version *%.2f|r, Tippe */ec|r um das Konfigurationsmenü aufzurufen. Für technische Hilfe, besuche das Supportforum unter https://tukui.org oder trete unserem Discord bei: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("Willkommen zu *ElvUI|r Version *%s|r, Tippe */ec|r um das Konfigurationsmenü aufzurufen. Für technische Hilfe, besuche das Supportforum unter https://tukui.org oder trete unserem Discord bei: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("Please use */ehelp|r for a list of available *ElvUI|r commands."):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333Du benutzt gerade nicht die *ElvUI|r Version für den Öffentlichen Testserver, was Probleme verursachen kann.|r ^Bitte downloade die PTR Version vom folgenden Link.|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = "Beute-/Alarmfenster"
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ L["List of installations in queue:"] = true
L["Loadouts"] = true
L["Location"] = true
L["Lock"] = true
L["LOGIN_MSG"] = ("Welcome to *ElvUI|r version *%.2f|r, type */ec|r to access the in-game configuration menu. If you are in need of technical support you can visit us at https://tukui.org or join our Discord: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("Welcome to *ElvUI|r version *%s|r, type */ec|r to access the in-game configuration menu. If you are in need of technical support you can visit us at https://tukui.org or join our Discord: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("Please use */ehelp|r for a list of available *ElvUI|r commands."):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333You are currently not running the PTR version of *ElvUI|r which may cause issues.|r ^Please download the PTR version from the following link.|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = true
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/esMX.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ L["List of installations in queue:"] = "Lista de Instalaciones en cola:"
L["Loadouts"] = true
L["Location"] = true
L["Lock"] = "Bloquear"
L["LOGIN_MSG"] = ("Bienvenido a *ElvUI|r versión *%.2f|r, escribe */ec|r para acceder al menú de configuración del juego. Si necesita ayuda, puede visítenos en https://tukui.org o unirse a nuestro Discord: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("Bienvenido a *ElvUI|r versión *%s|r, escribe */ec|r para acceder al menú de configuración del juego. Si necesita ayuda, puede visítenos en https://tukui.org o unirse a nuestro Discord: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("Por favor, escriba */ehelp|r para obtener una lista de los comandos de *ElvUI|r disponibles."):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333You are currently not running the PTR version of *ElvUI|r which may cause issues.|r ^Please download the PTR version from the following link.|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = "Marcos de Botín / Alerta"
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ L["List of installations in queue:"] = "Liste des installations en file d'attent
L["Loadouts"] = "Chargements"
L["Location"] = "Emplacement"
L["Lock"] = "Verrouiller"
L["LOGIN_MSG"] = ("Bienvenue sur *ElvUI|r version *%.2f|r. Tapez */ec|r pour accéder au menu de configuration en jeu. Si vous avez besoin d'assistance technique, vous pouvez nous rendre visite sur https://tukui.org ou rejoindre notre serveur Discord : https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("Bienvenue sur *ElvUI|r version *%s|r. Tapez */ec|r pour accéder au menu de configuration en jeu. Si vous avez besoin d'assistance technique, vous pouvez nous rendre visite sur https://tukui.org ou rejoindre notre serveur Discord : https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("Utilisez */ehelp|r pour obtenir la liste des commandes disponibles dans *ElvUI|r."):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333Vous n'utilisez pas actuellement la version PTR de *ElvUI|r, ce qui peut causer des problèmes.|r ^Veuillez télécharger la version PTR depuis le lien suivant.|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = "Cadres de butin / alerte"
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ L["List of installations in queue:"] = true
L["Loadouts"] = true
L["Location"] = true
L["Lock"] = true
L["LOGIN_MSG"] = ("Welcome to *ElvUI|r version *%.2f|r, type */ec|r to access the in-game configuration menu. If you are in need of technical support you can visit us at https://tukui.org or join our Discord: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("Welcome to *ElvUI|r version *%s|r, type */ec|r to access the in-game configuration menu. If you are in need of technical support you can visit us at https://tukui.org or join our Discord: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("Please use */ehelp|r for a list of available *ElvUI|r commands."):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333You are currently not running the PTR version of *ElvUI|r which may cause issues.|r ^Please download the PTR version from the following link.|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = true
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ L["List of installations in queue:"] = "설치 대기열 목록"
L["Loadouts"] = "로드아웃"
L["Location"] = "위치"
L["Lock"] = "잠금"
L["LOGIN_MSG"] = ("*ElvUI|r 버전 *%.2f|r이 설치되었습니다.\n메뉴 호출은*/ec|r.기술 지원은 https://tukui.org \n또는,*Discord :|r https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("*ElvUI|r 버전 *%s|r이 설치되었습니다.\n메뉴 호출은*/ec|r.기술 지원은 https://tukui.org \n또는,*Discord :|r https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("*ElvUI|r 명령어 목록은 */ehelp|r를 입력하면 됩니다."):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333현재 *ElvUI|r의 PTR 버전을 실행하고 있지 않아 문제가 발생할 수 있습니다.|r ^다음 링크에서 PTR 버전을 다운로드하십시오.|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = "획득/알림 창"
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ L["List of installations in queue:"] = "Lista de instalações na fila:"
L["Loadouts"] = true
L["Location"] = true
L["Lock"] = "Travar"
L["LOGIN_MSG"] = ("Bem-vindo ao *ElvUI|r versão *%.2f|r, digite */ec|r para acessar as configurações dentro do jogo. Se você precisa de suporte técnico nos contate em https://tukui.org ou se entre no Discord: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("Bem-vindo ao *ElvUI|r versão *%s|r, digite */ec|r para acessar as configurações dentro do jogo. Se você precisa de suporte técnico nos contate em https://tukui.org ou se entre no Discord: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("Por favor use */ehelp|r para ver a lista de comandos do *ElvUI|r."):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333You are currently not running the PTR version of *ElvUI|r which may cause issues.|r ^Please download the PTR version from the following link.|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = "Quadro de Saque / Alerta"
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ L["List of installations in queue:"] = "Очередь установки:"
L["Loadouts"] = "Шаблоны"
L["Location"] = "Локация"
L["Lock"] = "Закрепить"
L["LOGIN_MSG"] = ("Добро пожаловать в *ElvUI|r версии *%.2f|r, наберите */ec|r для доступа в меню настроек. Если Вам нужна техническая поддержка, посетите наш форум на https://tukui.org или присоединяйтесь к серверу Discord: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("Добро пожаловать в *ElvUI|r версии *%s|r, наберите */ec|r для доступа в меню настроек. Если Вам нужна техническая поддержка, посетите наш форум на https://tukui.org или присоединяйтесь к серверу Discord: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("Используйте */ehelp|r для вызова доступных команд *ElvUI|r."):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333You are currently not running the PTR version of *ElvUI|r which may cause issues.|r ^Please download the PTR version from the following link.|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = "Розыгрыш/оповещения"
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/trTR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ L["List of installations in queue:"] = "Kuyruktaki kurulumlarin listesi:"
L["Loadouts"] = true
L["Location"] = true
L["Lock"] = "Kilit"
L["LOGIN_MSG"] = ("*ElvUI|r surum *%.2f|r'ye hos geldiniz, oyun ici yapilandirma menusune erismek icin */ec|r yazin. Teknik destege ihtiyaciniz varsa bizi https://www.tukui adresinden ziyaret edebilirsiniz. .org veya Discord'umuza katilin: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("*ElvUI|r surum *%s|r'ye hos geldiniz, oyun ici yapilandirma menusune erismek icin */ec|r yazin. Teknik destege ihtiyaciniz varsa bizi https://www.tukui adresinden ziyaret edebilirsiniz. .org veya Discord'umuza katilin: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("Kullanilabilir *ElvUI|r komutlarinin listesi icin lutfen */ehelp|r kullanin."):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333su anda *ElvUI|r'nin PTR surumunu calistirmiyorsunuz, bu da sorunlara neden olabilir.|r ^Lutfen asagidaki baglantidan PTR surumunu indirin.|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = "Ganimet / Uyari Cerceveleri"
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ L["List of installations in queue:"] = "即将安装的列表:"
L["Loadouts"] = true
L["Location"] = true
L["Lock"] = "锁定"
L["LOGIN_MSG"] = ("欢迎使用*ElvUI|r 版本*%.2f|r,输入*/ec|r 访问游戏内配置菜单。如果您需要技术支持,您可以访问我们的 https://tukui.org 或加入我们的 Discord:https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("欢迎使用*ElvUI|r 版本*%s|r,输入*/ec|r 访问游戏内配置菜单。如果您需要技术支持,您可以访问我们的 https://tukui.org 或加入我们的 Discord:https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("请使用 */ehelp|r 获取可用的 *ElvUI|r 命令列表。"):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333您当前未运行 *ElvUI|r 的 PTR 版本,这可能会导致问题|r ^请从以下链接下载 PTR 版本。|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = "拾取/提醒框"
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ L["List of installations in queue:"] = "即將安裝的列表"
L["Loadouts"] = "配置"
L["Location"] = true
L["Lock"] = "鎖定"
L["LOGIN_MSG"] = ("歡迎使用 *ElvUI|r *%.2f 版本|r, 輸入 */ec|r 可打開遊戲內設置介面. 如果你需要技術協助, 可訪問我們的網址 https://tukui.org 或是加入我們的 Discord 伺服器: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG"] = ("歡迎使用 *ElvUI|r *%s 版本|r, 輸入 */ec|r 可打開遊戲內設置介面. 如果你需要技術協助, 可訪問我們的網址 https://tukui.org 或是加入我們的 Discord 伺服器: https://discord.tukui.org"):gsub('*', E.InfoColor)
L["LOGIN_MSG_HELP"] = ("請使用 */ehelp|r 以獲取可用的 *ElvUI|r 命令."):gsub('*', E.InfoColor)
L["LOGIN_PTR"] = ("|cffff3333由於你沒有在使用 PTR 版本的 *ElvUI|r, 游戲可能會產生錯誤.|r ^請使用下列鏈接下載 PTR 版本.|r %s"):gsub('*', E.InfoColor):gsub('%^', E.InfoColor2)
L["Loot / Alert Frames"] = "拾取 / 提醒框架"
Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Libraries/ElvUI_Libraries_Classic.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: |cff1784d1ElvUI|r |cfd9b9b9bLibraries|r
## Notes: Libraries that power ElvUI
## Author: Elv, Simpy
## Version: 13.60
## Version: @project-version@
## Interface: 11501
## OptionalDeps: LibHealComm-4.0
## X-oUF: ElvUF
Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Libraries/ElvUI_Libraries_Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: |cff1784d1ElvUI|r |cfd9b9b9bLibraries|r
## Notes: Libraries that power ElvUI
## Author: Elv, Simpy
## Version: 13.60
## Version: @project-version@
## Interface: 100206
## X-oUF: ElvUF
## IconTexture: Interface\AddOns\ElvUI\Core\Media\Textures\LogoAddon
Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Libraries/ElvUI_Libraries_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: |cff1784d1ElvUI|r |cfd9b9b9bLibraries|r
## Notes: Libraries that power ElvUI
## Author: Elv, Simpy
## Version: 13.60
## Version: @project-version@
## Interface: 30403
## OptionalDeps: LibHealComm-4.0
## X-oUF: ElvUF
Expand Down
4 changes: 2 additions & 2 deletions ElvUI_Options/Core/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local GetAddOnMetadata = (C_AddOns and C_AddOns.GetAddOnMetadata) or GetAddOnMet
local ACH = E.Libs.ACH
local L = E.Libs.ACL:GetLocale('ElvUI', E.global.general.locale)
local C = {
version = tonumber(GetAddOnMetadata('ElvUI_Options', 'Version')),
version = E:ParseVersionString('ElvUI_Options'),
Blank = function() return '' end,
SearchCache = {},
SearchText = '',
Expand Down Expand Up @@ -138,7 +138,7 @@ end

E.Libs.AceConfig:RegisterOptionsTable('ElvUI', E.Options)
E.Libs.AceConfigDialog:SetDefaultSize('ElvUI', E:Config_GetDefaultSize())
E.Options.name = format('%s: |cff99ff33%.2f|r', L["Version"], E.version)
E.Options.name = format('%s: |cff99ff33%s|r', L["Version"], E.versionString)

local DEVELOPERS = {
'Tukz',
Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Options/ElvUI_Options_Classic.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: |cff1784d1ElvUI|r |cfd9b9b9bOptions|r
## Notes: Powers the configuration window.|n|cffff3333Does not store any profile data.|r
## Author: Elv, Simpy
## Version: 13.60
## Version: @project-version@
## Interface: 11501
## RequiredDeps: ElvUI
## LoadOnDemand: 1
Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Options/ElvUI_Options_Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: |cff1784d1ElvUI|r |cfd9b9b9bOptions|r
## Notes: Powers the configuration window.|n|cffff3333Does not store any profile data.|r
## Author: Elv, Simpy
## Version: 13.60
## Version: @project-version@
## Interface: 100206
## RequiredDeps: ElvUI
## LoadOnDemand: 1
Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Options/ElvUI_Options_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Title: |cff1784d1ElvUI|r |cfd9b9b9bOptions|r
## Notes: Powers the configuration window.|n|cffff3333Does not store any profile data.|r
## Author: Elv, Simpy
## Version: 13.60
## Version: @project-version@
## Interface: 30403
## RequiredDeps: ElvUI
## LoadOnDemand: 1
Expand Down

0 comments on commit d465ab2

Please sign in to comment.