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:
@@ -96,6 +96,8 @@ local PATH_SEGMENT_REGEX = "(" .. PATH_SEPARATOR .. "?)([^" .. PATH_SEPARATOR ..
|
||||
unpack = unpack or table.unpack
|
||||
gmatch = string.gfind or string.gmatch
|
||||
|
||||
gettext.bindtextdomain("transfer_hierarchy", dt.configuration.config_dir .."/lua/locale/")
|
||||
|
||||
local function _(msgid)
|
||||
return darktable.gettext.gettext(msgid)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user