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

gEDA-cvs: CVS update: i_callbacks.nw



  User: pbernaud
  Date: 06/01/11 09:48:07

  Modified:    .        i_callbacks.nw o_misc.nw o_picture.nw o_text.nw
                        x_image.nw x_preview.nw
  Log:
  Added missing translation marks on a few log messages
  
  
  
  
  Revision  Changes    Path
  1.46      +1 -1      eda/geda/devel/gschem/noweb/i_callbacks.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: i_callbacks.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/i_callbacks.nw,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -b -r1.45 -r1.46
  --- i_callbacks.nw	7 Nov 2005 02:43:09 -0000	1.45
  +++ i_callbacks.nw	11 Jan 2006 14:48:06 -0000	1.46
  @@ -2335,7 +2335,7 @@
                                     GTK_DIALOG_DESTROY_WITH_PARENT,
                                     GTK_MESSAGE_QUESTION,
                                     GTK_BUTTONS_YES_NO,
  -                                  "Really revert page?");
  +                                  _("Really revert page?"));
    response = gtk_dialog_run (GTK_DIALOG (dialog));
    gtk_widget_destroy (dialog);
    
  
  
  
  1.40      +2 -2      eda/geda/devel/gschem/noweb/o_misc.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_misc.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/o_misc.nw,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -b -r1.39 -r1.40
  --- o_misc.nw	27 Nov 2005 00:15:01 -0000	1.39
  +++ o_misc.nw	11 Jan 2006 14:48:06 -0000	1.40
  @@ -1752,7 +1752,7 @@
         real_filename = follow_symlinks (p_current->page_filename, NULL);
         
         if (real_filename == NULL) {
  -	s_log_message ("o_autosave_backups: Can't get the real filename of %s.", p_current->page_filename);
  +	s_log_message (_("o_autosave_backups: Can't get the real filename of %s."), p_current->page_filename);
   	fprintf (stderr, "o_autosave_backups: Can't get the real filename of %s.\n", p_current->page_filename);
         }
         else {
  @@ -1794,7 +1794,7 @@
   	  p_current->ops_since_last_backup = 0;
             p_current->do_autosave_backup = 0;
   	} else {
  -	  s_log_message ("Could NOT save backup file [%s]\n", 
  +	  s_log_message (_("Could NOT save backup file [%s]\n"), 
   			 backup_filename);
   	}
   	g_free (backup_filename);
  
  
  
  1.2       +6 -6      eda/geda/devel/gschem/noweb/o_picture.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_picture.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/o_picture.nw,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- o_picture.nw	19 Feb 2005 23:27:08 -0000	1.1
  +++ o_picture.nw	11 Jan 2006 14:48:06 -0000	1.2
  @@ -231,7 +231,7 @@
                                        GTK_DIALOG_DESTROY_WITH_PARENT,
                                        GTK_MESSAGE_ERROR,
                                        GTK_BUTTONS_CLOSE,
  -                                     "Failed to load picture: %s",
  +                                     _("Failed to load picture: %s"),
                                        error->message);
       g_error_free (error);
        
  @@ -298,8 +298,8 @@
      /* Create the widgets */
      
      dialog = gtk_dialog_new();
  -   label = gtk_label_new ("Gschem doesn't support pictures if it has been compiled using GTK 1.2");
  -   okay_button = gtk_button_new_with_label("OK");
  +   label = gtk_label_new (_("Gschem doesn't support pictures if it has been compiled using GTK 1.2"));
  +   okay_button = gtk_button_new_with_label(_("OK"));
      
      /* Ensure that the dialog box is destroyed when the user clicks ok. */
      
  @@ -321,7 +321,7 @@
   #if DEBUG
        printf("Creating new picture file selection dialog\n");
   #endif
  -     w_current->pfswindow = gtk_file_selection_new ("Please select a picture file.");
  +     w_current->pfswindow = gtk_file_selection_new (_("Please select a picture file."));
        file_selector = w_current->pfswindow;
        if (w_current->pixbuf_filename)
          gtk_file_selection_set_filename(GTK_FILE_SELECTION(file_selector), w_current->pixbuf_filename);
  @@ -408,7 +408,7 @@
                                        GTK_DIALOG_DESTROY_WITH_PARENT,
                                        GTK_MESSAGE_ERROR,
                                        GTK_BUTTONS_CLOSE,
  -                                     "Failed to load picture: %s",
  +                                     _("Failed to load picture: %s"),
                                        error->message);
       g_error_free (error);
        
  @@ -501,7 +501,7 @@
   #if DEBUG
        printf("Creating change picture file selection dialog\n");
   #endif
  -     w_current->pcfswindow = gtk_file_selection_new ("Please select a picture file.");
  +     w_current->pcfswindow = gtk_file_selection_new (_("Please select a picture file."));
        file_selector = w_current->pcfswindow;
        if (w_current->pixbuf_filename)
          gtk_file_selection_set_filename(GTK_FILE_SELECTION(file_selector), w_current->pixbuf_filename);
  
  
  
  1.18      +2 -2      eda/geda/devel/gschem/noweb/o_text.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_text.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/o_text.nw,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- o_text.nw	17 Dec 2005 16:14:43 -0000	1.17
  +++ o_text.nw	11 Jan 2006 14:48:06 -0000	1.18
  @@ -67,7 +67,7 @@
   
   #include <libgeda/libgeda.h>
   
  -#include "../include/x_states.h"
  +#include "../include/globals.h"
   #include "../include/prototype.h"
   
   #ifdef HAVE_LIBDMALLOC
  @@ -191,7 +191,7 @@
         break;
   
       default:
  -      s_log_message("Tried to render text with an invalid angle: %d\n",
  +      s_log_message(_("Tried to render text with an invalid angle: %d\n"),
                       o_current->text->angle); 
         return;
         break;
  
  
  
  1.20      +2 -2      eda/geda/devel/gschem/noweb/x_image.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_image.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/x_image.nw,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -b -r1.19 -r1.20
  --- x_image.nw	16 Oct 2005 02:15:28 -0000	1.19
  +++ x_image.nw	11 Jan 2006 14:48:06 -0000	1.20
  @@ -377,7 +377,7 @@
       filetype = g_strdup("png");
       if (!gdk_pixbuf_save(pixbuf, filename, filetype, NULL, NULL)) {
         fprintf(stderr, "x_image_lowlevel: Unable to save PNG file  %s.\n", filename);
  -      s_log_message("x_image_lowlevel: Unable to write PNG file.\n");      
  +      s_log_message(_("x_image_lowlevel: Unable to write PNG file.\n"));
       }
       else {
         if (w_current->image_color == TRUE) {
  @@ -393,7 +393,7 @@
     }
     else {
       fprintf(stderr, "x_image_lowlevel: Unable to get pixbuf from gschem's window.\n");
  -    s_log_message("x_image_lowlevel: Unable to get pixbuf from gschem's window.\n");
  +    s_log_message(_("x_image_lowlevel: Unable to get pixbuf from gschem's window.\n"));
     }
   #endif
   
  
  
  
  1.20      +2 -1      eda/geda/devel/gschem/noweb/x_preview.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_preview.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/x_preview.nw,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -b -r1.19 -r1.20
  --- x_preview.nw	2 Dec 2005 17:04:42 -0000	1.19
  +++ x_preview.nw	11 Jan 2006 14:48:06 -0000	1.20
  @@ -179,7 +179,8 @@
     }
     else {
       fprintf (stderr, "x_preview_update_gtk24: Can't get pixbuf from preview struct.\n");
  -    s_log_message("x_preview_update_gtk24: Can't get pixbuf from preview struct.\n");
  +    s_log_message(
  +      _("x_preview_update_gtk24: Can't get pixbuf from preview struct.\n"));
     }
   
     g_free (filename);