From 5ff0b3f977e2d1128c103f2199eaa1419ca34488 Mon Sep 17 00:00:00 2001 From: prculley Date: Tue, 15 Nov 2016 09:38:39 -0600 Subject: [PATCH] Fix translation confusion on 'View' noun/verb --- gramps/gui/editors/displaytabs/gallerytab.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gramps/gui/editors/displaytabs/gallerytab.py b/gramps/gui/editors/displaytabs/gallerytab.py index e04d63f2d..25bb31b74 100644 --- a/gramps/gui/editors/displaytabs/gallerytab.py +++ b/gramps/gui/editors/displaytabs/gallerytab.py @@ -60,7 +60,7 @@ from ...ddtargets import DdTargets from .buttontab import ButtonTab from gramps.gen.const import THUMBSCALE from gramps.gen.const import GRAMPS_LOCALE as glocale -_ = glocale.translation.gettext +_ = glocale.translation.sgettext #------------------------------------------------------------------------- # @@ -136,7 +136,8 @@ class GalleryTab(ButtonTab, DbGUIElement): ref_obj = self.dbstate.db.get_media_from_handle(obj.ref) media_path = media_path_full(self.dbstate.db, ref_obj.get_path()) if media_path: - item = Gtk.MenuItem.new_with_mnemonic(_('_View')) + # Translators: _View means "to look at this" + item = Gtk.MenuItem.new_with_mnemonic(_('verb:look at this|_View')) item.connect('activate', make_launcher(media_path, self.uistate)) item.show() self.menu.append(item)