dont just say "Point"

This commit is contained in:
Laura Klünder 2017-12-21 20:49:38 +01:00
parent 3c00bd3e49
commit fa2978feca
2 changed files with 16 additions and 13 deletions

View file

@ -364,8 +364,7 @@ class CustomLocation:
@cached_property
def title_subtitle(self):
title = _('Point')
print(self.space)
title = _('Point in %(level)s') % {'level': self.level.title}
if not self.space:
return title, self.level.title,