From 70d2c41738caff58628ec8bcb02033a8f5ebf7c4 Mon Sep 17 00:00:00 2001 From: Guillaume Jenkins Date: Thu, 29 Mar 2018 15:00:26 -0400 Subject: [PATCH] Add languages to pxtarget.json (#722) --- pxtarget.json | 46 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/pxtarget.json b/pxtarget.json index 776339ac..c627a0da 100644 --- a/pxtarget.json +++ b/pxtarget.json @@ -31,7 +31,8 @@ "flashUsableEnd": 245760, "flashEnd": 245760, "flashCodeAlign": 1024, - "upgrades": [{ + "upgrades": [ + { "type": "package", "map": { "microbit": "core", @@ -209,7 +210,14 @@ "useEditor": true, "editorTheme": { "graphBackground": "#d9d9d9", - "lineColors": ["#6633cc", "#3891A6", "#3454D1", "#EF767A", "#F46197", "#107C10"] + "lineColors": [ + "#6633cc", + "#3891A6", + "#3454D1", + "#EF767A", + "#F46197", + "#107C10" + ] }, "chromeExtension": "hjcflblhjoglmjjkecamiegdigfkgeni", "vendorId": "0x0d28", @@ -249,7 +257,8 @@ "appStoreID": "1092687276", "mobileSafariDownloadProtocol": "microbithex://?data", "extendEditor": true, - "docMenu": [{ + "docMenu": [ + { "name": "Support", "path": "https://support.microbit.org/" }, @@ -285,7 +294,8 @@ ], "hasReferenceDocs": true, "usbDocs": "/device/usb", - "usbHelp": [{ + "usbHelp": [ + { "name": "connection", "os": "*", "browser": "*", @@ -360,8 +370,34 @@ }, "highContrast": true, "selectLanguage": true, + "availableLocales": [ + "en", + "ar", + "cs", + "da", + "de", + "el", + "es-ES", + "fi", + "fr", + "hu", + "it", + "ja", + "ko", + "nl", + "no", + "pt-BR", + "pt-PT", + "ru", + "si-LK", + "sv-SE", + "tr", + "uk", + "zh-CN", + "zh-TW" + ], "monacoColors": { "editor.background": "#ecf0f1" } } -} +} \ No newline at end of file