From 5cd646d22b3be0b263184c6b7b8261b99a5ca262 Mon Sep 17 00:00:00 2001 From: romjerome Date: Mon, 5 Dec 2016 09:37:24 +0100 Subject: [PATCH] 9276: ability to search alternate place names when selecting place --- gramps/gui/views/treemodels/placemodel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gui/views/treemodels/placemodel.py b/gramps/gui/views/treemodels/placemodel.py index c7eedd251..1e50c6f9a 100644 --- a/gramps/gui/views/treemodels/placemodel.py +++ b/gramps/gui/views/treemodels/placemodel.py @@ -126,7 +126,8 @@ class PlaceBaseModel(object): return value def column_name(self, data): - return str(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]: