From 0baf7dc3adaa636e2e6c2d5acad912ae408713d7 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 4cdbc1e34..c502cb24f 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")