diff pidgin/gtkutils.c @ 16010:eae8e127e4fb

make things cleaner for translators
author Nathan Walp <nwalp@pidgin.im>
date Sat, 07 Apr 2007 22:46:39 +0000
parents 5f9b7e2652f0
children 07554cc5d090
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Sat Apr 07 19:48:38 2007 +0000
+++ b/pidgin/gtkutils.c	Sat Apr 07 22:46:39 2007 +0000
@@ -1415,13 +1415,16 @@
 		/* XXX - make ft api suupport sending a directory */
 		/* Are we dealing with a directory? */
 		if (g_file_test(filename, G_FILE_TEST_IS_DIR)) {
-			char *str;
+			char *str, *str2;
 
 			str = g_strdup_printf(_("Cannot send folder %s."), basename);
+			str2 = g_strdup_printf(_("%s cannot transfer a folder. You will need to send the files within individually"), PIDGIN_NAME);
+
 			purple_notify_error(NULL, NULL,
-					  str,_(PIDGIN_NAME " cannot transfer a folder. You will need to send the files within individually"));
+					  str, str2);
 
 			g_free(str);
+			g_free(str2);
 
 			continue;
 		}