http://bugzilla.gnome.org/show_bug.cgi?id=140342 patched to use argv[0]
2004-05-16 Jody Goldberg <jody@gnome.org> 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.
This commit is contained in:
parent
fb7556b11d
commit
513acb43af
2 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue