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 454689 - Messages in the gnome-screenshot --help output are not all translated
Messages in the gnome-screenshot --help output are not all translated
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: screenshot
trunk
Other Linux
: Normal minor
: ---
Assigned To: Jonathan Blandford
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-07 21:57 UTC by Gabor Kelemen
Modified: 2008-08-10 19:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Simple fix (901 bytes, patch)
2007-07-07 22:08 UTC, Gabor Kelemen
committed Details | Review

Description Gabor Kelemen 2007-07-07 21:57:42 UTC
The translation domain of the GOptionGroup is not set, so the description of application options doesn't show up translated.
Comment 1 Gabor Kelemen 2007-07-07 22:08:49 UTC
Created attachment 91375 [details] [review]
Simple fix

This fix simplifies a bit on the code, there is no need (well, I'm not sure on this, only saw this part of code) to create a group and add it as main group, so I just add the entries as main entries. If the creation of the custom group is necessary, then only a g_option_group_set_translation_domain call is needed.
Comment 2 Dennis Cranston 2007-07-24 03:46:37 UTC
Reassigning to the correct gnome-utils module.
Comment 3 Matthias Clasen 2008-03-17 05:24:18 UTC
Patch looks right to me. Can it be applied ?
Comment 4 Emmanuele Bassi (:ebassi) 2008-04-07 14:28:49 UTC
yep, looks fine.
Comment 5 Emmanuele Bassi (:ebassi) 2008-08-10 19:50:35 UTC
committed to trunk. thanks.

2008-08-10  Emmanuele Bassi  <ebassi@gnome.org>

	Bug 454689 – Messages in the gnome-screenshot --help output
	are not all translated

	* gnome-screenshot.c (main): Remove the useless option group
	and allow the translation of the application options. (Gabor
	Kelemen)