GNOME Bugzilla – Bug 640751
Mark a non-user-visible string as untranslatable.
Last modified: 2011-01-28 10:48:58 UTC
empathy-main-window.ui has a hypothetical menu item named ‘Edit’ → ‘Context’. In practice, the string ‘Context’ is changed to ‘Contact’ or ‘Group’ by some slightly clunky code in empathy-main-window.c: <http://git.gnome.org/browse/empathy/tree/src/empathy-main-window.c#n1388>. So the word ‘Context’ should never be shown to the user. But it's still marked as translatable, and everyone's diligently translated it. Patch to follow…
Created attachment 179463 [details] [review] Main window: mark Edit→Context as untranslatable. The label of this menu item is changed to either _("Contact") or _("Group"), depending on what's currently selected in the tree view. If neither a contact nor a group is selected, the item is hidden entirely. Thus, it should be safe not to translate this string. I haven't tested this. I just came across this when mpt pointed it out on the Twitter: <http://twitter.theinfo.org/30701150579720192>. His tweets suggest that he's found a way to make it show up in the UI, but I can't find any way to do that (either reading the code, or playing with the actual UI).
Thanks, merged to master and 2.34. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
FWIW this was an issue with appmenu-gtk: http://twitter.com/#!/mpt/status/30730093336723456