diff --git a/official/copy_paste_metadata.lua b/official/copy_paste_metadata.lua index ffd69c87..a76a464b 100644 --- a/official/copy_paste_metadata.lua +++ b/official/copy_paste_metadata.lua @@ -58,11 +58,8 @@ local publisher = "" local rights = "" local tags = {} --- Tell gettext where to find the .mo file translating messages for a particular domain -gettext.bindtextdomain("copy_paste_metadata",dt.configuration.config_dir.."/lua/locale/") - local function _(msgid) - return gettext.dgettext("copy_paste_metadata", msgid) + return gettext.gettext(msgid) end local function copy(image) diff --git a/tools/script_manager.lua b/tools/script_manager.lua index e65cd204..0d3dabd3 100644 --- a/tools/script_manager.lua +++ b/tools/script_manager.lua @@ -59,11 +59,8 @@ local debug = require "darktable.debug" local gettext = dt.gettext --- Tell gettext where to find the .mo file translating messages for a particular domain -gettext.bindtextdomain("script_manager",dt.configuration.config_dir.."/lua/locale/") - local function _(msgid) - return gettext.dgettext("script_manager", msgid) + return gettext.gettext(msgid) end -- api check