diff --git a/assets/themes/aed/aed.json b/assets/themes/aed/aed.json index eb50932..a404043 100644 --- a/assets/themes/aed/aed.json +++ b/assets/themes/aed/aed.json @@ -1,6 +1,7 @@ { "language": [ - "en" + "en", + "fr" ], "startLat": "0", "startLon": "0", @@ -11,7 +12,10 @@ "id": "Defibrillator", "title": { "key": "*", - "render": "Defibrillator" + "render": { + "en": "Defibrillator", + "fr": "Défibrillateur" + } }, "icon": { "key": "*", @@ -21,11 +25,17 @@ "render": "#0000ff", "key": "*" }, - "description": "A defibrillator", + "description": { + "en": "A defibrillator", + "fr": "Un défibrillateur" + }, "minzoom": "12", "presets": [ { - "title": "Defibrillator", + "title": { + "en": "Defibrillator", + "fr": "Défibrillateur" + }, "tags": "emergency=defibrillator", "description": "A defibrillator" } @@ -34,33 +44,54 @@ { "mappings": [ { - "then": "This defibrillator is located indoors", + "then": { + "en": "This defibrillator is located indoors", + "fr": "Ce défibrillateur est en intérieur (dans un batiment)" + }, "if": "indoor=yes" }, { - "then": "This defibrillator is located outdoors", + "then": { + "en": "This defibrillator is located outdoors", + "fr": "Ce défibrillateur est situé en extérieur" + }, "if": "indoor=no" } ], - "question": "Is this defibrillator located indoors?", + "question": { + "en": "Is this defibrillator located indoors?", + "fr": "Ce défibrillateur est-il disposé en intérieur ?" + }, "type": "text" }, { "mappings": [ { - "then": "Publicly accessible", + "then": { + "en": "Publicly accessible", + "fr": "Librement accessible" + }, "if": "access=yes" }, { - "then": "Only accessible to customers", + "then": { + "en": "Only accessible to customers", + "fr": "Réservé aux clients du lieu" + }, "if": "access=customers" }, { "if": "access=private", - "then": "Not accessible to the general public (e.g. only accesible to staff, the owners, ...)" + "then": { + "en": "Not accessible to the general public (e.g. only accesible to staff, the owners, ...)", + "fr": "Non accessible au public (par exemple réservé au personnel, au propriétaire, ...)" + } } ], - "question": "Is this defibrillator freely accessible", + "question": { + "en": "Is this defibrillator freely accessible?", + "fr": "Ce défibrillateur est-il librement accessible ?" + }, "type": "text", "key": "access", "condition": "indoor=yes" @@ -68,15 +99,24 @@ { "key": "level", "mappings": [], - "question": "On which floor is this defibrillator located?", + "question": { + "en": "On which floor is this defibrillator located?", + "fr": "À quel étage est situé ce défibrillateur ?" + }, "type": "int", - "render": "This defibrallator is on floor {level}", + "render": { + "en": "This defibrallator is on floor {level}", + "fr": "Ce défibrillateur est à l'étage {level}" + }, "condition": "indoor=yes&access!=private" }, { "key": "defibrillator:location", "mappings": [], - "question": "Please give some explanation on where the defibrillator can be found", + "question": { + "en": "Please give some explanation on where the defibrillator can be found", + "fr": "Veuillez indiquez plus précisément où se situe le défibrillateur" + }, "type": "text", "render": "{defibrillator:location}" } @@ -87,5 +127,8 @@ "title": "Open AED Map", "icon": "./assets/themes/aed/aed.svg", "name": "aed", - "description": "On this map, one can find and mark nearby defibrillators" + "description": { + "en": "On this map, one can find and mark nearby defibrillators", + "fr": "Sur cette carte, vous pouvez trouver et améliorer les informations sur les défibrillateurs" + } } \ No newline at end of file