After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 140342 - Typo in gnome-font-viewer's usage message
Typo in gnome-font-viewer's usage message
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: general
git master
Other All
: High trivial
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-17 14:39 UTC by Julio Merino
Modified: 2005-08-15 01:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample patch (555 bytes, patch)
2004-04-17 14:40 UTC, Julio Merino
none Details | Review

Description Julio Merino 2004-04-17 14:39:15 UTC
When running gnome-font-viewer without arguments, it prints an usage message. 
More specifically, it says: "usage: foo fontfile".  It's obvious that 'foo' is
not the right thing to print, as it's pointless.  It should say
"gnome-font-viewer" instead.
Comment 1 Julio Merino 2004-04-17 14:40:38 UTC
Created attachment 26748 [details] [review]
Sample patch

The patch changes the string to say gnome-font-viewer.	I don't know if the
program name can be retrieved with an specific functions, but as far as I can
see, other modules in gnome-control-center use hardcoded strings.
Comment 2 alexander.winston 2004-05-16 15:06:51 UTC
Confirming the bug, raising the priority to high for noticeability, and adding
the string keyword.
Comment 3 Jody Goldberg 2004-05-17 02:49:46 UTC
1) I patched it to use argv[0] rather than hard coding the name
2) That string should be translated.