From 682ae92a0871e746c17fb0ce510f926bdf303f6c Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Tue, 1 Nov 2016 21:48:11 -0700 Subject: [PATCH] updated docs with @homeurl@ --- docs/browsers.md | 3 +-- docs/offline.md | 2 +- docs/projects/guitar/displaybuttons.md | 2 +- docs/raspberry-pi.md | 2 +- docs/translate.md | 27 +------------------------- 5 files changed, 5 insertions(+), 31 deletions(-) diff --git a/docs/browsers.md b/docs/browsers.md index fab7ebb7..c8bece92 100644 --- a/docs/browsers.md +++ b/docs/browsers.md @@ -1,7 +1,6 @@ # Unsupported configuration -[pxt.microbit.org](https://pxt.microbit.org) doesn't currently support -your browser or operating system. The following configurations are supported: +Your browser is currently not supported. The following configurations are supported: ## Windows diff --git a/docs/offline.md b/docs/offline.md index 449b6f20..f34a264c 100644 --- a/docs/offline.md +++ b/docs/offline.md @@ -2,7 +2,7 @@ ## Web application -**https://pxt.microbit.org is an HTML5 web application** that automatically gets cached locally by your browser. +**@homeurl@ is an HTML5 web application** that automatically gets cached locally by your browser. Once the web app is loaded and you have compiled at least once, you will have all the code needed to work without an internet connection. ## Command line interface diff --git a/docs/projects/guitar/displaybuttons.md b/docs/projects/guitar/displaybuttons.md index 8b003ade..8b123b0d 100644 --- a/docs/projects/guitar/displaybuttons.md +++ b/docs/projects/guitar/displaybuttons.md @@ -43,7 +43,7 @@ music.beat(BeatFraction.Quarter) ``` ## Step 1: Make a Smiley -Open [pxt.microbit.org](https://pxt.microbit.org) in your web browser +Open @homeurl@ in your web browser ```blocks basic.showLeds(` . # . # . diff --git a/docs/raspberry-pi.md b/docs/raspberry-pi.md index 6b7a603d..d6745bdc 100644 --- a/docs/raspberry-pi.md +++ b/docs/raspberry-pi.md @@ -5,7 +5,7 @@ with [Raspbian Jessie with Pixel](https://www.raspberrypi.org/downloads/raspbian ## Web editor -Starting with **Raspbian Pixel**, Raspbian comes with Chromium. Simply open [](https://pxt.microbit.org). +Starting with **Raspbian Pixel**, Raspbian comes with Chromium. Simply open @homeurl@. ## Command line diff --git a/docs/translate.md b/docs/translate.md index a660430b..cac441a5 100644 --- a/docs/translate.md +++ b/docs/translate.md @@ -3,29 +3,4 @@ Our translations are managed via Crowdin, a translation management platform. It is free to join and you can volunteer to translate parts of the web site. -## Crowdin project - -The project below contains the resources from https://www.pxt.io and the menu items of https://pxt.microbit.org. - -* [https://crowdin.com/project/kindscript](https://crowdin.com/project/kindscript) - -If you want to help translating the editor, please sign in to Crowdin and send us a translator request. - -## Translating the editor interface - -The editor interface strings, like the "Download" button are in the ``strings.json`` file. Start by updating this file to translate the UI. - -To test your changes "live", use **beta** build and the ``?livelang=CODE`` query argument where ``CODE`` is your language ISO code. For example, to see the french translations: - -* https://pxt.microbit.org/beta?livelang=fr - -Note that there may be a delay of up to 5 minutes before your changes in Crowdin make it into the "live" view. - -## Translating the blocks and reference documentation - -You will find package files under ``/microbit`` , one for the block definition and one for the descriptions: - -* ``core-strings.json``: contains the block definitions -* ``core-jsdoc-strings.json``: contains the descriptions - -The block definition should be carefully translated using the [block definition syntax](https://www.pxt.io/defining-blocks). \ No newline at end of file +See the [PXT translation](https://pxt.io/translate) page for more information.