Guido Flohr wrote: > That means that probably `N_(”noun|Move”)` should be replaced with > `NC_(”noun”, ”Move”)` instead, see > https://developer-old.gnome.org/glib/unstable/glib-I18N.html#NC-:CAPS.
and later: > This structure is passed to `gtk_action_group_add_actions()` and the > pipe-separated message context apparently doesn’t work here. So the > patch is valid. The NC_() documentation you quote adds that "To get the translated string, you should call g_dpgettext2() at runtime" but GTK (GTK2 at least) doesn't do this in gtk_action_group_add_actions(), it uses g_dgettext(), so there is not support for a message context. It looks like the alternatives would be to have the actionEntries table non static, which may be somewhat complicated, or to use "Move" for move as a noun and "verb|Move" for move as a verb. The latter seems the more practical choice.