GNOME Bugzilla – Bug 758553
invalid use of gettext (without domain set)
Last modified: 2015-12-16 14:12:34 UTC
While debugging alacarte with watch-gettext tool[1], I found following invalid call of gettext in 2.46.1. As a result, none of these strings can be translated. [1] https://github.com/openSUSE/watch-gettext This happens probably during initialization of GtkButton. #. [1100] dcgettext() #: messages:0x7fbd2fda7528 # /usr/lib64/libgio-2.0.so.0(g_resources_enumerate_children+0x50) [0x7fbd2fd0c950] # /usr/lib64/libgtk-3.so.0(+0x1df022) [0x7fbd2dd74022] # /usr/lib64/libgtk-3.so.0(+0x1df596) [0x7fbd2dd74596] msgid "The resource at '%s' does not exist" msgstr "The resource at '%s' does not exist" It is apparently caused by including of <gi18n.h> instead of <gi18n-lib.h> in gio/gresource.c.
Created attachment 316117 [details] [review] proposed fix
Review of attachment 316117 [details] [review]: Yes, looks right.