Skip to content

Commit

Permalink
Have to build messages after reading SitePackage and lmod_config.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Mar 11, 2024
1 parent 57bb90b commit e9b1509
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,7 @@ function build_MT_envT(vstr)
return t
end

local s_build_i18n_messages = true

function build_i18n_messages()
-- Only build messages once
if (not s_build_i18n_messages) then return end
s_build_i18n_messages = false

local i18n = require("i18n")
local en_msg_fn = pathJoin(cmdDir(),"../messageDir/en.lua")
if (isFile(en_msg_fn)) then
Expand Down

0 comments on commit e9b1509

Please sign in to comment.