updated contrib scripts to use darktable translation facilities
This commit is contained in:
@@ -62,13 +62,10 @@ qt.module_installed = false
|
||||
qt.event_registered = false
|
||||
qt.widget_table = {}
|
||||
|
||||
local gettext = dt.gettext
|
||||
|
||||
-- Tell gettext where to find the .mo file translating messages for a particular domain
|
||||
gettext.bindtextdomain("quicktag",dt.configuration.config_dir.."/lua/locale/")
|
||||
local gettext = dt.gettext.gettext
|
||||
|
||||
local function _(msgid)
|
||||
return gettext.dgettext("quicktag", msgid)
|
||||
return gettext(msgid)
|
||||
end
|
||||
|
||||
-- maximum length of button labels
|
||||
|
||||
Reference in New Issue
Block a user