From 513acb43af3f7c87718ffb9b6eb44903f1f07752 Mon Sep 17 00:00:00 2001 From: Jody Goldberg Date: Mon, 17 May 2004 02:49:53 +0000 Subject: [PATCH] http://bugzilla.gnome.org/show_bug.cgi?id=140342 patched to use argv[0] 2004-05-16 Jody Goldberg http://bugzilla.gnome.org/show_bug.cgi?id=140342 * font-view.c (main) : patched to use argv[0] rather than hard coding things. Additionally marked the string for translation. --- vfs-methods/fontilus/ChangeLog | 6 ++++++ vfs-methods/fontilus/font-view.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/vfs-methods/fontilus/ChangeLog b/vfs-methods/fontilus/ChangeLog index 8de4f1d7c..5a0b416d9 100644 --- a/vfs-methods/fontilus/ChangeLog +++ b/vfs-methods/fontilus/ChangeLog @@ -1,3 +1,9 @@ +2004-05-16 Jody Goldberg + + http://bugzilla.gnome.org/show_bug.cgi?id=140342 + * font-view.c (main) : patched to use argv[0] rather than hard coding + things. Additionally marked the string for translation. + 2004-04-15 Jody Goldberg * Release 2.6.1 diff --git a/vfs-methods/fontilus/font-view.c b/vfs-methods/fontilus/font-view.c index 80e896965..7a6d90e42 100644 --- a/vfs-methods/fontilus/font-view.c +++ b/vfs-methods/fontilus/font-view.c @@ -391,7 +391,7 @@ main(int argc, char **argv) gtk_init(&argc, &argv); if (argc != 2) { - g_printerr("usage: foo fontfile\n"); + g_printerr(_("usage: %s fontfile\n"), argv[0]); return 1; }