Package: gtkterm
Version: 0.99.5-1
Priority: wishlist
Tags: l10n patch
--- gtkterm-0.99.5/src/config.c	2005-11-14 22:43:56.000000000 +0300
+++ gtkterm-0.99.5.mod/src/config.c	2009-08-21 14:25:48.000000000 +0400
@@ -1276,7 +1276,7 @@
 
   BoiteH = gtk_hbox_new(FALSE, 0);
   Label = gtk_label_new(NULL);
-  gtk_label_set_markup(GTK_LABEL(Label), "<b>Font selection : </b>");
+  gtk_label_set_markup(GTK_LABEL(Label), _("<b>Font selection : </b>"));
   gtk_box_pack_start(GTK_BOX(BoiteH), Label, FALSE, TRUE, 0);
   fonte =  g_strdup_printf("%s", term_conf.font);
   Bouton_font = gtk_button_new_with_label(fonte);
@@ -1284,7 +1284,7 @@
   g_signal_connect(GTK_OBJECT(Bouton_font), "clicked", G_CALLBACK(Config_Font), 0);
   gtk_box_pack_start(GTK_BOX(BoiteV), BoiteH, FALSE, TRUE, 0);
 
-  Check_Bouton = gtk_check_button_new_with_label("Show cursor");
+  Check_Bouton = gtk_check_button_new_with_label(_("Show cursor"));
   g_signal_connect(GTK_OBJECT(Check_Bouton), "toggled", G_CALLBACK(Curseur_OnOff), 0);
   gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(Check_Bouton), term_conf.show_cursor);
   gtk_box_pack_start(GTK_BOX(BoiteV), Check_Bouton, FALSE, TRUE, 5);
@@ -1297,11 +1297,11 @@
 
   Table = gtk_table_new(2, 2, FALSE);
 
-  Label = gtk_label_new("Text color :");
+  Label = gtk_label_new(_("Text color :"));
   gtk_misc_set_alignment(GTK_MISC(Label), 0, 0);
   gtk_table_attach(GTK_TABLE(Table), Label, 0, 1, 0, 1, GTK_SHRINK | GTK_FILL, GTK_SHRINK, 10, 0);
 
-  Label = gtk_label_new("Background color :");
+  Label = gtk_label_new(_("Background color :"));
   gtk_misc_set_alignment(GTK_MISC(Label), 0, 0);
   gtk_table_attach(GTK_TABLE(Table), Label, 0, 1, 1, 2, GTK_SHRINK | GTK_FILL , GTK_SHRINK, 10, 0);
 
@@ -1325,10 +1325,10 @@
 
   Label = gtk_label_new(NULL);
   gtk_misc_set_alignment(GTK_MISC(Label), 0, 0);
-  gtk_label_set_markup(GTK_LABEL(Label), "<b>Transparency : </b>");  
+  gtk_label_set_markup(GTK_LABEL(Label), _("<b>Transparency : </b>"));
   gtk_box_pack_start(GTK_BOX(BoiteV), Label, FALSE, TRUE, 10);
 
-  Check_Bouton = gtk_check_button_new_with_label("Transparency enable");
+  Check_Bouton = gtk_check_button_new_with_label(_("Transparency enable"));
   gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(Check_Bouton), term_conf.transparency);
   gtk_box_pack_start(GTK_BOX(BoiteV), Check_Bouton, FALSE, TRUE, 0);
 
@@ -1369,7 +1369,7 @@
   gint response;
   gchar *string;
 
-  Fenetre = gtk_color_selection_dialog_new ("Changing text color");
+  Fenetre = gtk_color_selection_dialog_new (_("Changing text color"));
   colorsel = GTK_COLOR_SELECTION (GTK_COLOR_SELECTION_DIALOG (Fenetre)->colorsel);      
   gtk_color_selection_set_previous_color (colorsel, &term_conf.foreground_color);
   gtk_color_selection_set_current_color (colorsel, &term_conf.foreground_color);
@@ -1410,7 +1410,7 @@
   gint response;
   gchar *string;
 
-  Fenetre = gtk_color_selection_dialog_new ("Changing background color");
+  Fenetre = gtk_color_selection_dialog_new (_("Changing background color"));
   colorsel = GTK_COLOR_SELECTION (GTK_COLOR_SELECTION_DIALOG (Fenetre)->colorsel);
   gtk_color_selection_set_previous_color (colorsel, &term_conf.background_color);
   gtk_color_selection_set_current_color (colorsel, &term_conf.background_color);  

Reply via email to