changeset 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 eae8e127e4fb
children 3d2a640984f2
files pidgin/plugins/gaiminc.c pidgin/plugins/pidginrc.c pidgin/plugins/relnot.c pidgin/plugins/timestamp_format.c pidgin/plugins/win32/winprefs/winprefs.c
diffstat 5 files changed, 14 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/gaiminc.c	Sat Apr 07 22:46:39 2007 +0000
+++ b/pidgin/plugins/gaiminc.c	Sun Apr 08 13:25:35 2007 +0000
@@ -88,7 +88,7 @@
 	PURPLE_PRIORITY_DEFAULT,                            /**< priority       */
 
 	PURPLEINC_PLUGIN_ID,                                /**< id             */
-	N_(PIDGIN_NAME " Demonstration Plugin"),                  /**< name           */
+	N_("Pidgin Demonstration Plugin"),                  /**< name           */
 	VERSION,                                          /**< version        */
 	                                                  /**  summary        */
 	N_("An example plugin that does stuff - see the description."),
--- a/pidgin/plugins/pidginrc.c	Sat Apr 07 22:46:39 2007 +0000
+++ b/pidgin/plugins/pidginrc.c	Sun Apr 08 13:25:35 2007 +0000
@@ -613,7 +613,7 @@
 	NULL,
 	PURPLE_PRIORITY_DEFAULT,
 	"purplerc",
-	N_(PIDGIN_NAME " GTK+ Theme Control"),
+	N_("Pidgin GTK+ Theme Control"),
 	VERSION,
 	N_("Provides access to commonly used gtkrc settings."),
 	N_("Provides access to commonly used gtkrc settings."),
--- a/pidgin/plugins/relnot.c	Sat Apr 07 22:46:39 2007 +0000
+++ b/pidgin/plugins/relnot.c	Sun Apr 08 13:25:35 2007 +0000
@@ -68,9 +68,9 @@
 	while(*changelog == '\n') changelog++;
 
 	message = g_string_new("");
-	g_string_append_printf(message, _("You are using " PIDGIN_NAME " version %s.  The "
+	g_string_append_printf(message, _("You are using %s version %s.  The "
 			"current version is %s.<hr>"),
-			purple_core_get_version(), cur_ver);
+			PIDGIN_NAME, purple_core_get_version(), cur_ver);
 
 	if(*changelog) {
 		formatted = purple_strdup_withhtml(changelog);
--- 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);
--- a/pidgin/plugins/win32/winprefs/winprefs.c	Sat Apr 07 22:46:39 2007 +0000
+++ b/pidgin/plugins/win32/winprefs/winprefs.c	Sun Apr 08 13:25:35 2007 +0000
@@ -292,6 +292,7 @@
 	GtkWidget *button;
 	char *gtk_version = NULL;
 	char *run_key_val;
+	char *tmp;
 
 	ret = gtk_vbox_new(FALSE, 18);
 	gtk_container_set_border_width(GTK_CONTAINER(ret), 12);
@@ -312,7 +313,9 @@
 
 	/* Autostart */
 	vbox = pidgin_make_frame(ret, _("Startup"));
-	button = gtk_check_button_new_with_mnemonic(_("_Start " PIDGIN_NAME " on Windows startup"));
+	tmp = g_strdup_printf(_("_Start %s on Windows startup"), PIDGIN_NAME);
+	button = gtk_check_button_new_with_mnemonic(tmp);
+	g_free(tmp);
 	gtk_box_pack_start(GTK_BOX(vbox), button, FALSE, FALSE, 0);
 
 	if ((run_key_val = wpurple_read_reg_string(HKEY_CURRENT_USER, RUNKEY, "Purple"))
@@ -365,8 +368,8 @@
 	WINPREFS_PLUGIN_ID,
 	N_("Pidgwin Options"),
 	VERSION,
-	N_("Options specific to Windows " PIDGIN_NAME "."),
-	N_("Provides options specific to Windows " PIDGIN_NAME ", such as buddy list docking."),
+	N_("Options specific to Pidgin for Windows."),
+	N_("Provides options specific to Pidgin for Windows , such as buddy list docking."),
 	"Herman Bloggs <hermanator12002@yahoo.com>",
 	PURPLE_WEBSITE,
 	plugin_load,