Changeset c23f9ca in osmose-backend


Ignore:
Timestamp:
Dec 29, 2014 9:38:33 PM (5 years ago)
Author:
Frédéric Rodrigo <fred.rodrigo@…>
Branches:
master
Children:
e0ac7f3
Parents:
163c6c2
git-author:
Frédéric Rodrigo <fred.rodrigo@…> (20/12/2014 18:00:46)
git-committer:
Frédéric Rodrigo <fred.rodrigo@…> (29/12/2014 21:38:33)
Message:

Migrate forgotten error format lost in translation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/TagFix_MultipleTag_fr.py

    r163c6c2 rc23f9ca  
    4949            if tags["amenity"] == "place_of_worship": 
    5050                if self.Eglise.match(tags["name"]) and not self.EgliseNot1.match(tags["name"]) and not self.EgliseNot2.match(tags["name"]): 
    51                     err.append((3032, 1, {"en": u"\"name=%s\" is the localisation but not the name" % (tags["name"]), "fr": u"\"name=%s\" est la localisation mais pas le nom" % (tags["name"])})) 
     51                    err.append({"class": 3032, "subclass": 1, 
     52                                "text": {"en": u"\"name=%s\" is the localisation but not the name" % (tags["name"]), "fr": u"\"name=%s\" est la localisation mais pas le nom" % (tags["name"])} }) 
    5253        else: 
    5354            if "shop" not in tags and self.Marche.match(tags["name"]): 
Note: See TracChangeset for help on using the changeset viewer.