Missing strings for translation in gnome-vfs and gnome-volume-manager



In gnome-vfs/libgnomevfs/gnome-vfs-hal-mounts.c line 541

	name = g_strdup ("Floppy Drive");

should be 

	name = g_strdup (_("Floppy Drive"));

In gnome-volume-manager/src/manager.c there are 

#define ASK_MIXED_MSG	"This CD has both audio tracks and data files.\n"
\

at line 520 and 

#define ASK_PHOTOS_MSG	"There are photographs on this device.\n\n" \

at line 278.

Patch for gnome-vfs is trivial and it's attached. What about
gnome-volume manager. Move the string inside the function or there are
some gettext facilities?

Of corse those changes break the string freeze :-(

Oh, I didn't yet open any bug report, sorry.


--- CVS/gnome-vfs/libgnomevfs/gnome-vfs-hal-mounts.c	2004-09-01 10:29:36.000000000 +0200
+++ gnome-vfs/libgnomevfs/gnome-vfs-hal-mounts.c	2004-09-20 11:16:27.000000000 +0200
@@ -538,7 +538,7 @@
 		name = g_strdup_printf ("%s%s", first, second);
 	} else if (strcmp (drive->type, "floppy") == 0) {
 		/* TODO: Check for LS120 or Zip drive etc. */
-		name = g_strdup ("Floppy Drive");
+		name = g_strdup (_("Floppy Drive"));
 	} else {
 		name = g_strdup (drive->model);
 	}


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