From 0c948baec6965506006c087cfd57d0053c386a82 Mon Sep 17 00:00:00 2001 From: dualshock-tools Date: Sun, 14 Apr 2024 00:50:41 +0200 Subject: [PATCH] Fix typo in TRANSLATIONS.md --- TRANSLATIONS.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/TRANSLATIONS.md b/TRANSLATIONS.md index ff389d4..51f82c1 100644 --- a/TRANSLATIONS.md +++ b/TRANSLATIONS.md @@ -15,15 +15,15 @@ To translate the project into a new language, follow these steps: 3. **Save the File**: Save the changes to the JSON file. -4. **Update `core.js`**: Add the new language to the list of available languages (`available_langs`) in [core.js](https://github.com/dualshock-tools/dualshock-tools.github.io/blob/main/core.js). For example: +4. **Update `core.js`**: Add the new language to the list of available languages (`available_langs`) in [core.js](https://github.com/dualshock-tools/dualshock-tools.github.io/blob/main/core.js). The languages are inserted in alphabetical order with respect to the name. For example: -```json +```javascript var available_langs = { - "zh_cn": { "name": "Chinese", "file": "zh_cn.json"}, - "fr_fr": { "name": "Français", "file": "fr_fr.json"}, - "hu_hu": { "name": "Hungarian", "file": "hu_hu.json"}, - "it_it": { "name": "Italiano", "file": "it_it.json"}, + "zh_cn": { "name": "中文", "file": "zh_cn.json"}, "es_es": { "name": "Español", "file": "es_es.json"}, + "fr_fr": { "name": "Français", "file": "fr_fr.json"}, + "it_it": { "name": "Italiano", "file": "it_it.json"}, + "hu_hu": { "name": "Magyar", "file": "hu_hu.json"}, }; ```