all scripts - added bindtextdomain back in because 4.8 isn't ready to
handle the translations yet. In 5.0 this will be removed
and darktable will handle translating the strings.
This commit is contained in:
@@ -82,6 +82,8 @@ script_data.destroy_method = nil -- set to hide for libs since we can't destroy
|
||||
script_data.restart = nil -- how to restart the (lib) script after it's been hidden - i.e. make it visible again
|
||||
script_data.show = nil -- only required for libs since the destroy_method only hides them
|
||||
|
||||
gettext.bindtextdomain("image_stack", dt.configuration.config_dir .."/lua/locale/")
|
||||
|
||||
local function _(msgid)
|
||||
return gettext(msgid)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user