Commit graph

23 commits

Author SHA1 Message Date
chrisgarrity
84ff8d9b7e Add missing l10n source files
Also remove obsolete views from the config. The view code still exists - that’s a separate issue, but we shouldn’t be making translators translate obsolete strings.
2019-03-27 11:30:53 +01:00
chrisgarrity
b105c517d6 Add missing resource to .tx/config
The `download/scratch2` l10n file was missing from the config file, along with the new ideas page.

Also, the `name` field in the routes json needs to match the resource name. So changed the `download-scratch2` route name to match the l10n name.
2019-01-29 11:33:45 +01:00
chrisgarrity
4cf7653d72 Add ideas page to tx/config
Also remove cards view.
2018-12-14 13:13:56 -05:00
Eric Rosenbaum
68c8decae9 Remove microworlds pages 2018-12-10 18:06:23 -05:00
chrisgarrity
5d695ad158 Add new localization files to tx config 2018-11-28 10:15:40 -05:00
apple502j
9cb2c34a1d
Merge branch 'develop' into add-parents 2018-10-19 21:14:57 +09:00
apple502j
651f4b43a0
Parents l10n 2018-10-17 21:18:16 +09:00
chrisgarrity
5764d22f8e Add missing l10n files to tx config 2018-10-16 08:15:26 -04:00
Connor Hudson
5f0016f385
Add landing pages for the micro:bit and EV3 extensions (#1981)
* start building ev3 landing page structure

* Inject translations, add more content and structure to ev3 landing page

* Add ev3 route

* add active styles for os chooser buttons

* Add ev3 assets

* Add content and intial styles for everything down to "Sample Projects"

* Add correct padding to all sections on ev3 page

* Add more margins to match the mockup

* Create os chooser component for reuse on other landing pages

* Make EV3 page stateful, add OS logic, change step styles, fix images on Chrome

* Add sample project cards and styles

* Add fixed ev3 icon svg

* Add app store badges (no href on links yet)

* Add section separator, fix sample project card margins

* Add border to project cards, make project cards clickable links

* Add FAQ boilerplate and styling from InformationPage component

* Add indented ol style, example

* Add link style with underline

* Add EV3 retail link

* Content updates

* Fix some z-index issues with os chooser

* micro:bit page mega-commit

* os chooser should not have a higher z-index than nav

* Update starter projects

* Localize OS chooser

* Add localization configuration for EV3 page

* Localize section titles on ev3 page

* Add starter project images and descriptions

* Add link to microbit.org

* Fix tip box width on microbit and ev3 pages

* add l10n strings up to things to try on ev3 page

* Fix lint error in ev3.scss

* Add download link style to ev3

* microbit getting started text and images

* Remove tip about microbit name

* Hex file and starter project download links

* microbit wording updates

* update images

* Fix issues with download link style

* text fix

* Add ev3 starter project downloads

* Add microbit l10n file and config

* Add l10n strings for microbit header and scratch link sections

* Add l10n strings for microbit page up to faq

* content updates

* Fix some page overflow issues

* microbit faq content and style

* Use zipped version of microbit hex file

* Add platform name to scratch link download button

* Add EV3 faq to l10n.json

* Add final strings from micro:bit and EV3 pages to l10n.json files

* Add white download asset

* Tweak styles for ev3 and microbit

* Add some final tweaks to the EV3 page styles

* Add TODO comments about refactoring duplicate code
2018-07-19 18:08:44 -04:00
chrisgarrity
674e7b3342 remove obsolete tx/config for conference
We forgot to remove the conference l10n file from the tx config when the file was removed. It causes transifex to quit with an error, so research and preview weren’t getting sent to transifex/updated.
2018-07-18 21:43:19 -04:00
Connor Hudson
af1cf6bf6e Add preview l10n to .tx/config 2018-06-22 09:59:10 -04:00
chrisgarrity
8afaf36232 Add research view to transifex config
the `view/research/l10n.json` configuration was missing from the transifex config, so translations are missing.
2018-05-01 20:11:20 -04:00
Ray Schamp
590f505a61 Revert "Merge pull request #1788 from LLK/revert-1775-hotfix/es6-upgrade"
This reverts commit 1b1b396e92, reversing
changes made to a144bab0e6.
2018-01-30 11:53:12 -05:00
Ray Schamp
46511e1253
Revert "[Develop] Upgrade to ES6" 2018-01-30 09:54:45 -05:00
chrisgarrity
a7532c49db Fix projects curated row
Changed the localization string to use a placeholder to allow translators to re-order if needed.

Also added preview-faq to the transifex config.
2018-01-29 14:22:23 -05:00
Matthew Taylor
8f7bb287ed update transifex config to reflect new conference page 2017-11-21 16:35:05 -05:00
Matthew Taylor
6092bfe5fc Add messages l10n file to Transifex 2017-09-05 12:05:30 -04:00
Matthew Taylor
3d8f5eff82 Add tx config for camp page 2017-07-20 08:06:01 -04:00
Matthew Taylor
b0a81d24d2 add download tx config 2017-06-22 10:57:19 -04:00
Matthew Taylor
6225ddbaf3 update .tx/config with new file changes
1. Remove ttt
2. Add tips
2017-06-22 10:35:17 -04:00
Matthew Taylor
a4fa9ffa94 Add transifex config for new files
These files are new this iteration, so need to be added to the tx config
2017-02-16 16:44:38 -05:00
chrisgarrity
82785435bf New scripts to generate translations from Transifex
Added tx-import, expects TX_TOKEN environment variable to be set to an API token for Transifex. If no API token exists it’ll just use the default English strings for everything.

Removed the localization spot checks because they were checking tha json got built from po files. With Tx-import the files are already json, and may possibly be missing.
2017-02-15 22:51:15 -05:00
chrisgarrity
9e4ef5fb1b Tx import (#1143)
* Transifex transition

Scripts and configuration for transition to Transifex for translation.

* Transifex transition update

changed the name of the place where translations are saved from ‘translations’ to localizations so that we can have a consistent name in both scratchr2, and scratch-www.

A couple of other little clean-ups to make sure that it’s ES5 compliant.
- don’t use const
- don’t use template strings (backticks)
2017-01-18 12:57:14 -05:00