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 761528 - gtkbuilder: Add default msgctxt for shortcuts
gtkbuilder: Add default msgctxt for shortcuts
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-02-04 02:44 UTC by Daiki Ueno
Modified: 2016-02-21 05:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtkbuilder: Add default msgctxt for shortcuts (1.23 KB, patch)
2016-02-04 02:44 UTC, Daiki Ueno
reviewed Details | Review

Description Daiki Ueno 2016-02-04 02:44:40 UTC
See the discussion at:
https://mail.gnome.org/archives/desktop-devel-list/2016-February/msg00010.html

To test, use --its option of xgettext:

  xgettext --its gtk/gtkbuilder.its -o - demos/gtk-demo/shortcuts-gedit.ui
Comment 1 Daiki Ueno 2016-02-04 02:44:44 UTC
Created attachment 320400 [details] [review]
gtkbuilder: Add default msgctxt for shortcuts
Comment 2 Matthias Clasen 2016-02-04 04:12:56 UTC
Review of attachment 320400 [details] [review]:

I guess we need to teach GtkBuilder to use this as the default message context in the absence of a context attribute too, then.
I'm not entirely convinced that this implicit magic is worth it...
Comment 3 Matthias Clasen 2016-02-21 05:53:14 UTC
lets not do this