alias gettext to darktable.gettext.gettext then change the call to gettext

to only pass the message to be translated
This commit is contained in:
Bill Ferguson
2024-10-17 22:17:38 -04:00
parent 0e37a287ca
commit 44da339202
9 changed files with 16 additions and 17 deletions

View File

@@ -56,10 +56,10 @@ local dtsys = require "lib/dtutils.system"
local log = require "lib/dtutils.log"
local debug = require "darktable.debug"
local gettext = dt.gettext
local gettext = dt.gettext.gettext
local function _(msgid)
return gettext.dgettext("script_manager", msgid)
return gettext(msgid)
end
-- api check