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 554926 - gtk_init_with_args: not setting translation domain for the parameter_string
gtk_init_with_args: not setting translation domain for the parameter_string
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-10-03 21:25 UTC by Gabor Kelemen
Modified: 2017-04-26 10:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple patch to set translation domain of parameter_string, also update doc (959 bytes, patch)
2008-10-03 21:26 UTC, Gabor Kelemen
none Details | Review

Description Gabor Kelemen 2008-10-03 21:25:52 UTC
The translation domain passed in the translation_domain argument is not set for the parameter_string argument, only for the entries argument. I think the translation_domain should cover both arguments, otherwise constructs like this: 

gtk_init_with_args (&argc, &argv,
			 _("- Empathy Instant Messenger"),
			 options, GETTEXT_PACKAGE, &error)

don't work in terms of l10n.
Comment 1 Gabor Kelemen 2008-10-03 21:26:58 UTC
Created attachment 119887 [details] [review]
Simple patch to set translation domain of parameter_string, also update doc
Comment 2 Gabor Kelemen 2008-12-27 21:55:47 UTC
Ping.
Any comments?
Comment 3 ibcoverity 2017-04-26 10:22:58 UTC
Please apply to current GTK+ 2 as well.

It has only be fixed for GTK+ >= 2.90.5.