diff pidgin/plugins/timestamp_format.c @ 16012:765cfc73182f

more help for translators (I removed a few PIDGIN_NAME references because they'd have been irritating to remove, and I really don't see much point to them, unless we're gonna rename again)
author Nathan Walp <nwalp@pidgin.im>
date Sun, 08 Apr 2007 13:25:35 +0000
parents fde34f782314
children 3d41d0d7fb9b
line wrap: on
line diff
--- a/pidgin/plugins/timestamp_format.c	Sat Apr 07 22:46:39 2007 +0000
+++ b/pidgin/plugins/timestamp_format.c	Sun Apr 08 13:25:35 2007 +0000
@@ -16,16 +16,19 @@
 {
 	PurplePluginPrefFrame *frame;
 	PurplePluginPref *ppref;
+	char *tmp;
 
 	frame = purple_plugin_pref_frame_new();
 
 	ppref = purple_plugin_pref_new_with_label(_("Timestamp Format Options"));
 	purple_plugin_pref_frame_add(frame, ppref);
 
+	tmp = g_strdup_printf(_("_Force (traditional %s) 24-hour time format"), PIDGIN_NAME);
 	ppref = purple_plugin_pref_new_with_name_and_label(
 			"/plugins/gtk/timestamp_format/force_24hr",
-			_("_Force (traditional " PIDGIN_NAME ") 24-hour time format"));
+			tmp);
 	purple_plugin_pref_frame_add(frame, ppref);
+	g_free(tmp);
 
 	ppref = purple_plugin_pref_new_with_label(_("Show dates in..."));
 	purple_plugin_pref_frame_add(frame, ppref);