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

@@ -69,6 +69,8 @@ dt.print_error("Hello World!")
local gettext = dt.gettext.gettext
gettext.bindtextdomain("gettextExample", dt.configuration.config_dir .."/lua/locale/")
-- Translate a string using the darktable textdomain
dt.print_error(gettext("image"))