Package: xmorph
Version: 1:20090929
Severity:  minor
Tags: patch


Hi,

please find attached a patch, that fixes some typos. I've found them while translating the package to german.

Regards,
Chris
diff -ru xmorph-20090929.orig/glade2/interface.c xmorph-20090929/glade2/interface.c
--- xmorph-20090929.orig/glade2/interface.c	2009-10-08 12:46:21.000000000 +0200
+++ xmorph-20090929/glade2/interface.c	2009-10-08 12:55:48.000000000 +0200
@@ -2123,7 +2123,7 @@
                     (GtkAttachOptions) (0), 0, 0);
   gtk_tooltips_set_tip (tooltips, animated_mpeg, _("creates an mpeg file and plays it; will use a parameter file (see help) (needs 'mpeg_encode' and 'mpeg_play')"), NULL);
 
-  avi = gtk_check_button_new_with_mnemonic (_("creati AVI MPEG4"));
+  avi = gtk_check_button_new_with_mnemonic (_("create AVI MPEG4"));
   gtk_widget_set_name (avi, "avi");
   gtk_widget_show (avi);
   gtk_table_attach (GTK_TABLE (table5), avi, 1, 2, 1, 2,
diff -ru xmorph-20090929.orig/gtkmorph/callbacks_help.c xmorph-20090929/gtkmorph/callbacks_help.c
--- xmorph-20090929.orig/gtkmorph/callbacks_help.c	2009-10-08 12:46:21.000000000 +0200
+++ xmorph-20090929/gtkmorph/callbacks_help.c	2009-10-08 12:52:36.000000000 +0200
@@ -41,7 +41,7 @@
   2) edit the meshes by dragging the points (and use the menu that you get\n\
        by the right mouse button)\n\
   3) set the `blending factors' and `mesh factors' as desired\n\
-  3) and hit `do morph'\n\
+  4) and hit `do morph'\n\
 ")  );
 }
 
diff -ru xmorph-20090929.orig/gtkmorph/loadsave.c xmorph-20090929/gtkmorph/loadsave.c
--- xmorph-20090929.orig/gtkmorph/loadsave.c	2009-10-08 12:46:21.000000000 +0200
+++ xmorph-20090929/gtkmorph/loadsave.c	2009-10-08 12:49:05.000000000 +0200
@@ -354,7 +354,7 @@
 { \
  if( EOF == fputc(C,F)) { \
       showerr(file,_("\
-the attempt to save the image file %s as produced error: %s")); \
+the attempt to save the image file %s has produced error: %s")); \
       return FALSE; \
     } \
 }
@@ -377,7 +377,7 @@
     if( f ==NULL)
       {
 	showerr(file,_("\
-the attempt to save the image file %s as produced error: %s"));
+the attempt to save the image file %s has produced error: %s"));
 	return FALSE;
       }
   
@@ -399,13 +399,13 @@
 	if ( fwrite(data+y*stride, channels,w, f) != w)
 	  {
 	    showerr(file,_("\
-the attempt to save the image file %s as produced error: %s"));
+the attempt to save the image file %s has produced error: %s"));
 	  }
     }
 
     if( 0 != fclose (f))
       showerr(file,_("\
-the attempt to close the saved image file %s as produced error: %s"));
+the attempt to close the saved image file %s has produced error: %s"));
     return TRUE;
 }
 
diff -ru xmorph-20090929.orig/gtkmorph/loadsave_mesh.c xmorph-20090929/gtkmorph/loadsave_mesh.c
--- xmorph-20090929.orig/gtkmorph/loadsave_mesh.c	2009-10-08 12:46:21.000000000 +0200
+++ xmorph-20090929/gtkmorph/loadsave_mesh.c	2009-10-08 12:50:57.000000000 +0200
@@ -105,7 +105,7 @@
   }
 
   if (meshRead_stream( &(sp-> im_mesh[lp]), fP))   {
-    show_error(_("the attempt to load mesh from file as produced an error\n(either this is not a mesh file, or the mesh file is corrupted)"));
+    show_error(_("the attempt to load mesh from file has produced an error\n(either this is not a mesh file, or the mesh file is corrupted)"));
     fclose(fP);
     return FALSE;
   }
@@ -282,7 +282,7 @@
     }  else   {      
       char *s = 
 	g_strdup_printf("\
-the attempt to save the mesh in file %s as produced an internal error",
+the attempt to save the mesh in file %s has produced an internal error",
 			file);
 			
       show_error(s);	  
@@ -325,7 +325,7 @@
   } else   {      
       char *s = 
 	g_strdup_printf("\
-the attempt to save the differential mesh in file %s as produced an internal error",
+the attempt to save the differential mesh in file %s has produced an internal error",
 			file);
       show_error(s);	  
       g_free(s);
@@ -359,7 +359,7 @@
   }
 
   if (meshRead_stream( &(sp-> im_mesh[lp]), fP))   {
-    show_error(_("the attempt to load mesh from file as produced an error\n(either this is not a mesh file, or the mesh file is corrupted)"));
+    show_error(_("the attempt to load mesh from file has produced an error\n(either this is not a mesh file, or the mesh file is corrupted)"));
     fclose(fP);
     return FALSE;
   }
@@ -401,7 +401,7 @@
   impixfile= gdk_pixbuf_new_from_file(file);
   if (impixfile ==NULL)    {
       showerr(file,_("\
-the attempt to load the image file %s as produced error: %s"));
+the attempt to load the image file %s has produced error: %s"));
       return FALSE;
     }
 #else
@@ -543,7 +543,7 @@
 #endif
     if (*impixfile ==NULL)
       {
-	showerr(sp-> im_filename_in[i], _("the attempt to reload the image file %s to resize it as produced error: %s"));
+	showerr(sp-> im_filename_in[i], _("the attempt to reload the image file %s to resize it has produced error: %s"));
 	create__pixbuf(i, PIXLOADED);
 	return;
       }
diff -ru xmorph-20090929.orig/gtkmorph/settings.c xmorph-20090929/gtkmorph/settings.c
--- xmorph-20090929.orig/gtkmorph/settings.c	2009-10-08 12:46:21.000000000 +0200
+++ xmorph-20090929/gtkmorph/settings.c	2009-10-08 12:53:47.000000000 +0200
@@ -126,7 +126,7 @@
   _("use antialiasing warping"), //name
   GUINT_TO_POINTER(2),//integer value, stored in pointer
   NULL,//accels NOW IGNORED
-  _("choose antialiasing method that is used when warping: the lanczos kernels are slower, but are necessary if the images have fine or grained textures and/or for animations"), //tooltip (they are translated below)
+  _("choose antialiasing method that is used when warping: the lanczos kernels are slower, but are necessary if the images have fine or grained textures for animations"), //tooltip (they are translated below)
   resample_array_inv_names, //magic pointer
 
 #if HAVE_WAILI
diff -ru xmorph-20090929.orig/po/gtkmorph.glade2.c xmorph-20090929/po/gtkmorph.glade2.c
--- xmorph-20090929.orig/po/gtkmorph.glade2.c	2009-10-08 12:46:21.000000000 +0200
+++ xmorph-20090929/po/gtkmorph.glade2.c	2009-10-08 12:56:28.000000000 +0200
@@ -178,7 +178,7 @@
 gchar *s = N_("creates an mpeg file and plays it; will use a parameter file (see help) (needs 'mpeg_encode' and 'mpeg_play')");
 gchar *s = N_("creates mpeg");
 gchar *s = N_("creates an AVI file in MPEG4 format (needs 'mplayer' and 'mencoder')");
-gchar *s = N_("creati AVI MPEG4");
+gchar *s = N_("create AVI MPEG4");
 gchar *s = N_("animations");
 gchar *s = N_("creates and saves all morphs, builds animations");
 gchar *s = N_("stops the computation of frames");

Reply via email to