9824: revert romjerome mistakes (part2)

This commit is contained in:
système 2017-01-14 13:29:23 +01:00
parent 0c4529c0ae
commit 9ccfd50d93

View File

@ -127,10 +127,8 @@ class PlaceBaseModel:
return value
def column_name(self, data):
if config.get("preferences.place-name-column"):
return '|'.join([data[6][0]] + [name[0] for name in data[7]])
else:
return data[6][0]
# need for spacing on the french translation
return _(',').join([data[6][0]] + [name[0] for name in data[7]])
def column_longitude(self, data):
if not data[3]: