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

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-21 03:50+0100\n" "POT-Creation-Date: 2017-12-21 20:48+0100\n"
"PO-Revision-Date: 2017-12-21 03:50+0100\n" "PO-Revision-Date: 2017-12-21 20:49+0100\n"
"Last-Translator: Laura Klünder <laura@codingcatgirl.de>\n" "Last-Translator: Laura Klünder <laura@codingcatgirl.de>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: de\n" "Language: de\n"
@ -1027,8 +1027,8 @@ msgstr "Du musst dich anmelden um Änderungen vorzuschlagen."
#: c3nav/editor/views/changes.py:77 #: c3nav/editor/views/changes.py:77
msgid "You need to add a title an a description to propose this change set." msgid "You need to add a title an a description to propose this change set."
msgstr "" msgstr ""
"Du musst einen Titel und eine Beschreibung hinzufügen, um dieses Änderungsset " "Du musst einen Titel und eine Beschreibung hinzufügen, um dieses "
"vorzuschlagen." "Änderungsset vorzuschlagen."
#: c3nav/editor/views/changes.py:82 #: c3nav/editor/views/changes.py:82
msgid "You proposed your changes." msgid "You proposed your changes."
@ -1897,30 +1897,31 @@ msgid "Subtitle"
msgstr "Untertitel" msgstr "Untertitel"
#: c3nav/mapdata/utils/locations.py:367 #: c3nav/mapdata/utils/locations.py:367
msgid "Point" #, python-format
msgstr "Punkt" msgid "Point in %(level)s"
msgstr "Punkt innerhalb %(level)s"
#: c3nav/mapdata/utils/locations.py:374 #: c3nav/mapdata/utils/locations.py:373
#, python-format #, python-format
msgid "Point near %(poi)s" msgid "Point near %(poi)s"
msgstr "Punkt nahe %(poi)s" msgstr "Punkt nahe %(poi)s"
#: c3nav/mapdata/utils/locations.py:378 #: c3nav/mapdata/utils/locations.py:377
#, python-format #, python-format
msgid "near %(area)s" msgid "near %(area)s"
msgstr "nahe %(area)s" msgstr "nahe %(area)s"
#: c3nav/mapdata/utils/locations.py:380 #: c3nav/mapdata/utils/locations.py:379
#, python-format #, python-format
msgid "Point in %(area)s" msgid "Point in %(area)s"
msgstr "Punkt innerhalb %(area)s" msgstr "Punkt innerhalb %(area)s"
#: c3nav/mapdata/utils/locations.py:384 #: c3nav/mapdata/utils/locations.py:383
#, python-format #, python-format
msgid "Point near %(area)s" msgid "Point near %(area)s"
msgstr "Punkt nahe %(area)s" msgstr "Punkt nahe %(area)s"
#: c3nav/mapdata/utils/locations.py:386 #: c3nav/mapdata/utils/locations.py:385
#, python-format #, python-format
msgid "Point in %(space)s" msgid "Point in %(space)s"
msgstr "Punkt innerhalb %(space)s" msgstr "Punkt innerhalb %(space)s"
@ -2179,6 +2180,9 @@ msgid_plural "You have been invited to unlock the following areas:"
msgstr[0] "Du wurdest eingeladen, den folgenden Bereich freizuschalten:" msgstr[0] "Du wurdest eingeladen, den folgenden Bereich freizuschalten:"
msgstr[1] "Du wurdest eingeladen, die folgenden Bereiche freizuschalten:" msgstr[1] "Du wurdest eingeladen, die folgenden Bereiche freizuschalten:"
#~ msgid "Point"
#~ msgstr "Punkt"
#~ msgid "Custom Location" #~ msgid "Custom Location"
#~ msgstr "Benutzerdefinierter Ort" #~ msgstr "Benutzerdefinierter Ort"

View file

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