diff libpurple/protocols/toc/toc.c @ 16063:fa8aeab4ca5a

Hopefully prevent libpurple causing problems for 3rd party UIs if they also use gettext for i18n. Use dgettext & dngettext in libpurple to explicitly specify the text domain to use. Currently, with no split of strings for libpurple/pidgin/finch, we are using 'pidgin' as the gettext domain everywhere. Hopefully this didn't break anything.
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 11 Apr 2007 14:46:04 +0000
parents 32c366eeeb99
children 44b4e8bd759b
line wrap: on
line diff
--- a/libpurple/protocols/toc/toc.c	Wed Apr 11 13:38:05 2007 +0000
+++ b/libpurple/protocols/toc/toc.c	Wed Apr 11 14:46:04 2007 +0000
@@ -2205,7 +2205,7 @@
 			index++;
 		}
 		g_snprintf(buf, sizeof(buf), 
-				ngettext(
+				dngettext(PACKAGE, 
 				"%s requests %s to accept %d file: %s (%.2f %s)%s%s",
 				"%s requests %s to accept %d files: %s (%.2f %s)%s%s",
 				ft->files),