From 289b2df9a172e8230060b7eb058761805d710460 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 18 Oct 2015 17:28:31 +0100 Subject: [PATCH] Handle citation objects in glocale.trans_objclass Without this right clicking on a citation in the clipboard gives options like "Make See Details active" which don't make an awful lot of sense. --- gramps/gen/utils/grampslocale.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index 309b98c63..f8ab285b9 100644 --- a/gramps/gen/utils/grampslocale.py +++ b/gramps/gen/utils/grampslocale.py @@ -835,6 +835,8 @@ class GrampsLocale(object): return _("the source") elif objclass == "filter": return _("the filter") + elif objclass == "citation": + return _("the citation") else: return _("See details")