From 9db0d092141807b2511aa3987e9ff1ed3e5bdebb Mon Sep 17 00:00:00 2001 From: Luca Canali Date: Wed, 15 Sep 2021 16:47:45 +0200 Subject: [PATCH] README file some adjustaments --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 21b5c6b..03c8931 100644 --- a/README.md +++ b/README.md @@ -78,12 +78,12 @@ At this stage, we're still exploring ourselves which kind of levels would be fun ## Add localizations 1. Add the localization text into the section "description" in the file ./resource/cards.json ``` - Example: - "description": { - "en_EN": "Drag this card into the empty space above to initialize the time machine!", - "it_IT": "Trascina questa carta nell'area vuota sopra per inizializzare la macchina del tempo", - "es_ES": "Arrastre esta tarjeta al área en blanco de arriba para inicializar la máquina del tiempo" - } +Example: +"description": { + "en_EN": "Drag this card into the empty space above to initialize the time machine!", + "it_IT": "Trascina questa carta nell'area vuota sopra per inizializzare la macchina del tempo", + "es_ES": "Arrastre esta tarjeta al área en blanco de arriba para inicializar la máquina del tiempo" +} ``` 2. Add, into the directory **levels**, the directory with the levels to you want to adding (es. ./levels/fr_FR/LIVELLI ) 1. Add, the localization into the dictionary game.langs (es. `var langs = {0: "en_EN", 1: "it_IT", 2: "es_ES"}` the first and default localization it must be en_EN