From b10557d1bd4a4a80e2ac563762a0cbb60a8d6934 Mon Sep 17 00:00:00 2001 From: Stanislav Bolshakov Date: Sat, 16 Oct 2021 12:56:30 +0300 Subject: [PATCH] Add context to place name strings Needed for Russian translation. --- gramps/gen/filters/rules/place/_hasdata.py | 2 +- gramps/plugins/tool/removespaces.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gen/filters/rules/place/_hasdata.py b/gramps/gen/filters/rules/place/_hasdata.py index 63d323a3b..0eba40fab 100644 --- a/gramps/gen/filters/rules/place/_hasdata.py +++ b/gramps/gen/filters/rules/place/_hasdata.py @@ -45,7 +45,7 @@ class HasData(Rule): Rule that checks for a place with a particular value """ - labels = [ _('Name:'), + labels = [ _('Name:', 'place'), _('Place type:'), _('Code:'), ] diff --git a/gramps/plugins/tool/removespaces.py b/gramps/plugins/tool/removespaces.py index 9bcdf7afe..b5b983161 100644 --- a/gramps/plugins/tool/removespaces.py +++ b/gramps/plugins/tool/removespaces.py @@ -235,7 +235,7 @@ class RemoveSpaces(ManagedWindow): mess: text to add """ if nll == 0: - self.tooltip = _("Name:") + self.tooltip = _("Name:", 'place') self.tooltip += " " self.tooltip += mess elif nll == 1: