[PATCH] Bug 150558: Please include translator comment in eel messages
- From: Brent Smith <bsmith ucdavis edu>
- To: nautilus-list gnome org
- Subject: [PATCH] Bug 150558: Please include translator comment in eel messages
- Date: Mon, 18 Jul 2005 09:04:15 -0700
Attached is a patch against CVS HEAD (as of yesterday) which includes
translator comments as requested by bug 150558. It is also
available as an attachment in bugzilla.
http://bugs.gnome.org/show_bug.cgi?id=150558
--
Brent Smith <bsmith ucdavis edu>
Index: eel/eel/eel-mime-application-chooser.c
===================================================================
RCS file: /cvs/gnome/eel/eel/eel-mime-application-chooser.c,v
retrieving revision 1.9
diff -u -r1.9 eel-mime-application-chooser.c
--- eel/eel/eel-mime-application-chooser.c 11 Jun 2005 18:51:53 -0000 1.9
+++ eel/eel/eel-mime-application-chooser.c 16 Jul 2005 18:31:05 -0000
@@ -518,6 +518,7 @@
chooser->details->mime_type =
g_strdup_printf ("application/x-extension-%s",
extension);
+ /* the %s here is a file extension */
chooser->details->mime_description =
g_strdup_printf (_("%s document"), extension);
@@ -535,6 +536,7 @@
chooser->details->mime_description = description;
}
+ /* first %s is filename, second %s is mime-type description */
label = g_strdup_printf (_("Select an application to open <i>%s</i> and others of type \"%s\""), name, chooser->details->mime_description);
gtk_label_set_markup (GTK_LABEL (chooser->details->label), label);
Index: eel/eel/eel-open-with-dialog.c
===================================================================
RCS file: /cvs/gnome/eel/eel/eel-open-with-dialog.c,v
retrieving revision 1.15
diff -u -r1.15 eel-open-with-dialog.c
--- eel/eel/eel-open-with-dialog.c 6 Jul 2005 20:12:35 -0000 1.15
+++ eel/eel/eel-open-with-dialog.c 16 Jul 2005 18:31:06 -0000
@@ -965,6 +965,7 @@
dialog->details->mime_type =
g_strdup_printf ("application/x-extension-%s",
extension);
+ /* the %s here is a file extension */
dialog->details->mime_description =
g_strdup_printf (_("%s document"), extension);
dialog->details->new_glob = g_strdup_printf ("*.%s",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]