strip redundant trailing ' in 2 localized messages
This commit is contained in:
parent
c5a6a616f2
commit
b2f41ab563
@ -238,14 +238,14 @@ class EditPlace(EditPrimary):
|
||||
|
||||
if self.obj.get_title().strip() == '':
|
||||
msg1 = _("Cannot save location. Title not entered.")
|
||||
msg2 = _("You must enter a title before saving.'")
|
||||
msg2 = _("You must enter a title before saving.")
|
||||
ErrorDialog(msg1, msg2)
|
||||
self.ok_button.set_sensitive(True)
|
||||
return
|
||||
|
||||
if self.obj.get_name().strip() == '':
|
||||
msg1 = _("Cannot save location. Name not entered.")
|
||||
msg2 = _("You must enter a name before saving.'")
|
||||
msg2 = _("You must enter a name before saving.")
|
||||
ErrorDialog(msg1, msg2)
|
||||
self.ok_button.set_sensitive(True)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user