From 9ccfd50d93d36add411c8dae7898c1d7c5bf6dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syst=C3=A8me?= Date: Sat, 14 Jan 2017 13:29:23 +0100 Subject: [PATCH] 9824: revert romjerome mistakes (part2) --- gramps/gui/views/treemodels/placemodel.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gramps/gui/views/treemodels/placemodel.py b/gramps/gui/views/treemodels/placemodel.py index 1de2619d6..995eab4a1 100644 --- a/gramps/gui/views/treemodels/placemodel.py +++ b/gramps/gui/views/treemodels/placemodel.py @@ -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]: