Add context to place name strings

Needed for Russian translation.
This commit is contained in:
Stanislav Bolshakov 2021-10-16 12:56:30 +03:00 committed by Nick Hall
parent 0c40519a18
commit b10557d1bd
2 changed files with 2 additions and 2 deletions

View File

@ -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:'),
]

View File

@ -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: