GNOME Bugzilla – Bug 649379
Some files in libempathy-gtk use gi18n.h instead of gi18n-lib.h
Last modified: 2011-05-05 12:14:31 UTC
There are some library sources in libempathy-gtk, that include the gi18n.h header for i18n, but they should gi18n-lib.h, just like the majority of sources there. The effect is that when some program other than Empathy uses these libs, the gettext call will try to look up the strings in the other programs translation domain, and not in Empathy's. The result of this is visible here: https://bugs.launchpad.net/ubuntu/+source/nautilus-sendto/+bug/777064 Using gi18n-lib.h solves this, because it makes the _ macro use g_dgettext, which will look up the strings from Empathy's translation file.
Created attachment 187197 [details] [review] Replace gi18n.h with gi18n-lib.h
Created attachment 187200 [details] [review] Replace gi18n.h with gi18n-lib.h, add config.h when necessary include config.h to avoid build breakage
Thx for the patch ! Merged to 2.34, 3.0 and master. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.