tools/script_manager - back ported gettext.bindomain fix
This commit is contained in:
@@ -60,7 +60,7 @@ local gettext = dt.gettext
|
|||||||
|
|
||||||
|
|
||||||
-- Tell gettext where to find the .mo file translating messages for a particular domain
|
-- Tell gettext where to find the .mo file translating messages for a particular domain
|
||||||
gettext.bindtextdomain("script_manager",dt.configuration.config_dir.."/lua/locale/")
|
dt.gettext.bindtextdomain("script_manager",dt.configuration.config_dir.."/lua/locale/")
|
||||||
|
|
||||||
local function _(msgid)
|
local function _(msgid)
|
||||||
return gettext.dgettext("script_manager", msgid)
|
return gettext.dgettext("script_manager", msgid)
|
||||||
|
|||||||
Reference in New Issue
Block a user