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:
Bill Ferguson
2024-05-14 22:39:22 -04:00
parent 231e9b352b
commit cd3788f012
60 changed files with 120 additions and 3 deletions

View File

@@ -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