From e9b1509ea764b0263ea88e74aae681830aad3587 Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Mon, 11 Mar 2024 16:17:40 -0600 Subject: [PATCH] Have to build messages after reading SitePackage and lmod_config.lua --- src/utils.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/utils.lua b/src/utils.lua index 6353662ef..8a051a8d4 100644 --- a/src/utils.lua +++ b/src/utils.lua @@ -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