We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 267c8ff + 725f98e commit 8d7d33eCopy full SHA for 8d7d33e
ElvUI/Core/init.lua
@@ -105,7 +105,7 @@ do
105
end
106
107
do -- this is different from E.locale because we need to convert for ace locale files
108
- local convert = {enGB = 'enUS', esES = 'esMX', itIT = 'enUS'}
+ local convert = { enGB = 'enUS', esES = 'esMX', itIT = 'enUS' }
109
local gameLocale = convert[E.locale] or E.locale or 'enUS'
110
111
function E:GetLocale()
@@ -115,7 +115,7 @@ end
115
116
function E:ParseVersionString(addon)
117
local version = GetAddOnMetadata(addon, 'Version')
118
- if strfind(version, 'project%-version') then
+ if version == '@project-version@' then
119
return 13.60, '13.60-git', nil, true
120
else
121
local release, extra = strmatch(version, '^v?([%d.]+)(.*)')
0 commit comments