Re: [PATCH] missed translations



ugh, sorry.

rt, gnome-i18n, anybody mind breaking the freeze for this?

-dave

On Mon, 2004-02-16 at 10:10, Luca Ferretti wrote:
> Buttons in column chooser for list view are untranslated.
> 
> This patch should fix it, but we are in string freeze :-(
diff -Naur nautilus/libnautilus-private/nautilus-column-chooser.c nautilus-new/libnautilus-private/nautilus-column-chooser.c
--- nautilus/libnautilus-private/nautilus-column-chooser.c	2004-02-16 15:39:35.000000000 +0100
+++ nautilus-new/libnautilus-private/nautilus-column-chooser.c	2004-02-16 15:42:27.000000000 +0100
@@ -362,7 +362,7 @@
 	box = gtk_vbox_new (FALSE, 8);
 	gtk_widget_show (box);
 	
-	chooser->details->move_up_button = gtk_button_new_with_mnemonic ("Move _Up");
+	chooser->details->move_up_button = gtk_button_new_with_mnemonic (_("Move _Up"));
 	g_signal_connect (chooser->details->move_up_button, 
 			  "clicked",  G_CALLBACK (move_up_clicked_callback),
 			  chooser);
@@ -371,7 +371,7 @@
 	gtk_box_pack_start (GTK_BOX (box), chooser->details->move_up_button,
 			    FALSE, FALSE, 0);
 
-	chooser->details->move_down_button = gtk_button_new_with_mnemonic ("Move _Down");
+	chooser->details->move_down_button = gtk_button_new_with_mnemonic (_("Move _Down"));
 	g_signal_connect (chooser->details->move_down_button, 
 			  "clicked",  G_CALLBACK (move_down_clicked_callback),
 			  chooser);
@@ -380,7 +380,7 @@
 	gtk_box_pack_start (GTK_BOX (box), chooser->details->move_down_button,
 			    FALSE, FALSE, 0);
 
-	chooser->details->show_button = gtk_button_new_with_mnemonic ("_Show");
+	chooser->details->show_button = gtk_button_new_with_mnemonic (_("_Show"));
 	g_signal_connect (chooser->details->show_button, 
 			  "clicked",  G_CALLBACK (show_clicked_callback),
 			  chooser);
@@ -390,7 +390,7 @@
 	gtk_box_pack_start (GTK_BOX (box), chooser->details->show_button,
 			    FALSE, FALSE, 0);
 
-	chooser->details->hide_button = gtk_button_new_with_mnemonic ("_Hide");
+	chooser->details->hide_button = gtk_button_new_with_mnemonic (_("_Hide"));
 	g_signal_connect (chooser->details->hide_button, 
 			  "clicked",  G_CALLBACK (hide_clicked_callback),
 			  chooser);
@@ -403,7 +403,7 @@
 	gtk_widget_show (separator);
 	gtk_box_pack_start (GTK_BOX (box), separator, FALSE, FALSE, 0);	
 
-	chooser->details->use_default_button = gtk_button_new_with_mnemonic ("_Use Default");
+	chooser->details->use_default_button = gtk_button_new_with_mnemonic (_("_Use Default"));
 	g_signal_connect (chooser->details->use_default_button, 
 			  "clicked",  G_CALLBACK (use_default_clicked_callback),
 			  chooser);
diff -Naur nautilus/po/POTFILES.in nautilus-new/po/POTFILES.in
--- nautilus/po/POTFILES.in	2004-02-16 15:39:26.000000000 +0100
+++ nautilus-new/po/POTFILES.in	2004-02-16 15:42:59.000000000 +0100
@@ -39,6 +39,7 @@
 libnautilus-extension/nautilus-property-page.c
 libnautilus-private/apps_nautilus_preferences.schemas.in
 libnautilus-private/filesystem-attributes.xml
+libnautilus-private/nautilus-column-chooser.c
 libnautilus-private/nautilus-column-utilities.c
 libnautilus-private/nautilus-customization-data.c
 libnautilus-private/nautilus-desktop-directory-file.c


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]