diff src/gtkwhiteboard.c @ 13565:7432bea7f7e6

[gaim-migrate @ 15944] Patch from Bj??rn Voigt to add some missing translation markers. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 25 Mar 2006 20:21:21 +0000
parents d6912eee114e
children 293088b65dac
line wrap: on
line diff
--- a/src/gtkwhiteboard.c	Sat Mar 25 15:45:49 2006 +0000
+++ b/src/gtkwhiteboard.c	Sat Mar 25 20:21:21 2006 +0000
@@ -23,6 +23,7 @@
 
 #include <stdlib.h>
 
+#include "internal.h"
 #include "blist.h"
 #include "debug.h"
 
@@ -752,7 +753,7 @@
 	int result;
 
 #if GTK_CHECK_VERSION(2,4,0) /* FILECHOOSER */
-	dialog = gtk_file_chooser_dialog_new ("Save File",
+	dialog = gtk_file_chooser_dialog_new (_("Save File"),
 										  GTK_WINDOW(gtkwb->window),
 										  GTK_FILE_CHOOSER_ACTION_SAVE,
 										  GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
@@ -771,7 +772,7 @@
 		gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (dialog), filename_for_existing_document);
 	*/
 #else
-	dialog = gtk_file_selection_new("Save File");
+	dialog = gtk_file_selection_new(_("Save File"));
 	gtk_file_selection_set_filename(GTK_FILE_SELECTION(dialog), "whiteboard.jpg");
 #endif
 	result = gtk_dialog_run(GTK_DIALOG(dialog));
@@ -859,7 +860,7 @@
 	GdkColor color;
 	GtkColorSelectionDialog *dialog;
 	
-	dialog = (GtkColorSelectionDialog *)gtk_color_selection_dialog_new("Select color");
+	dialog = (GtkColorSelectionDialog *)gtk_color_selection_dialog_new(_("Select color"));
 
 	g_signal_connect(G_OBJECT(dialog->colorsel), "color-changed",
 					G_CALLBACK(change_color_cb), gtkwb);