Skip to content

Commit 87a6ed3

Browse files
committed
Update gettextExample.lua
bindtextdomain changed: ~/
1 parent 95d8e77 commit 87a6ed3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎examples/gettextExample.lua‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ local gettext = dt.gettext
6363
dt.print_error(gettext.gettext("image"))
6464

6565
-- Tell gettext where to find the .mo file translating messages for a particular domain
66-
gettext.bindtextdomain("gettextExample",".config/darktable/lua/")
66+
gettext.bindtextdomain("gettextExample","~/.config/darktable/lua/")
6767
-- Translate a string using the specified textdomain
6868
dt.print_error(_("gettextExample", 'Hello World!'))

0 commit comments

Comments
 (0)