Add context to place name strings
Needed for Russian translation.
This commit is contained in:
parent
0c40519a18
commit
b10557d1bd
@ -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:'),
|
||||
]
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user