chrisgarrity
3537e36626
Merge pull request #59 from chrisgarrity/fix-error-checking
...
Fix placeholder checking
2019-01-10 14:44:14 -05:00
chrisgarrity
7d38349a59
Fix placeholder checking
...
The placeholder checking didn’t work if the translation’s grammar generated a different number of parsed elements.
E.g., in English:
something {placeholder} — two elements
translation
something {placeholder} something — three elements
I determined that placeholders are always array elements in the parsed array, so filter for Array elements and check that there are the same number of array elements.
2019-01-10 11:51:22 -05:00
Benjamin Wheeler
dbc4a67b26
Merge pull request #57 from chrisgarrity/sync-languages
...
Sync languages
2018-12-20 17:19:02 -05:00
chrisgarrity
aa8d1365dc
Add docs
2018-12-20 17:09:24 -05:00
Travis CI User
7f7604659c
pull new editor translations from Transifex
2018-12-20 18:40:25 +00:00
chrisgarrity
a168c93c65
fix language order
2018-12-20 13:29:45 -05:00
chrisgarrity
1850e094a5
Pull out languages not yet reviewed
2018-12-20 11:40:44 -05:00
chrisgarrity
36cbe734e6
Merge pull request #56 from LLK/add-zulu
...
Add isiZulu
2018-12-13 12:29:28 -05:00
chrisgarrity
08a4ee0b60
Add isiZulu
...
It was completed earlier this month.
2018-12-13 09:07:56 -05:00
Travis CI User
382a512dff
pull new editor translations from Transifex
2018-12-13 13:58:35 +00:00
Travis CI User
6318eb45be
pull new editor translations from Transifex
2018-12-10 14:39:04 +00:00
chrisgarrity
7d3a81799f
fix bad condition and add auth
...
And commit to master
2018-12-10 09:18:27 -05:00
chrisgarrity
a591ea9212
[WIP] conditions for cron job on travis
2018-12-07 08:40:46 -05:00
chrisgarrity
283a16c298
Merge pull request #55 from chrisgarrity/automate-travis
...
Automate travis
2018-12-06 13:52:50 -05:00
chrisgarrity
65b5158149
Add clarifying comment
2018-12-06 13:44:47 -05:00
chrisgarrity
216a766daa
pull new REVIEWED editor translations from transifex.
2018-12-06 11:46:21 -05:00
chrisgarrity
475aee4a65
Automate and switch to reviewed
...
* Add travis deploy step for cron job to update automatically.
* switch to reviewed translations
* make update script check for non-zero return codes from the update and test.
2018-12-06 11:45:45 -05:00
chrisgarrity
8802f277ad
Merge pull request #54 from chrisgarrity/tx-dependency
...
push/pull scripts need transifex as a dependency
2018-11-29 17:13:33 -05:00
chrisgarrity
6ebde7c676
push/pull scripts need transifex as a dependency
...
Scripts won’t work in dependent repos unless they also have transifex installed.
2018-11-29 17:02:00 -05:00
chrisgarrity
785e031765
pull new editor translations from Transifex
2018-11-29 15:40:22 -05:00
chrisgarrity
b00f2b9be2
Update README.md
2018-11-27 18:34:22 -05:00
chrisgarrity
757566ef14
Merge pull request #53 from chrisgarrity/tx-automation
...
Add scripts for automation
2018-11-27 17:45:22 -05:00
chrisgarrity
9c7b8f4f47
pull new editor translations from transifex
...
- using new script
- removed locales that are not yet supported in gui
2018-11-27 11:39:31 -05:00
chrisgarrity
1646441f4a
rename files for clarity
...
also made the naming convention consistent (dashes not underscore)
2018-11-27 11:36:37 -05:00
chrisgarrity
0f1dafef0e
Add bash script for committing sync updates
...
Also fix copy/paste typo in package.json
2018-11-27 07:32:34 -05:00
chrisgarrity
c286f62d69
Add scripts for automation
...
* bumped minor version
* added localeMap for converting between transifex locales and the ones used by Scratch (e.g., pt-br - pt_BR)
* using the transifex node package to automatically sync translations
* added scripts:
* sync_tx_src: uploads an en.json source file, for use by client packages
* sync_tx_translations: downloads gui translations, used by this repo, flattens Chrome i18n json into plain key-value json.
* sync_tx_blocks: same as above, but blocks need slightly different handling
* validate_translations: check the translation json files for basic translation errors
* tx_util - methods shared by sync and validate
* simplified build-data because jsons have already been flattened
* added new npm tasks
2018-11-25 18:05:44 -05:00
Benjamin Wheeler
7f95e31f48
Merge pull request #52 from benjiwheeler/translations-nov-20-2018-b
...
updated translations, including english
2018-11-21 17:44:16 -05:00
Ben Wheeler
ae164fa7ce
updated translations, including english
2018-11-20 14:14:22 -05:00
chrisgarrity
af23c0c1e6
Merge pull request #50 from chrisgarrity/sync/Nov16
...
Pull english sources.
2018-11-16 08:38:54 -05:00
chrisgarrity
6996b8eb6e
Pull english sources.
...
(Also picked up any other translation updates)
2018-11-16 08:24:27 -05:00
chrisgarrity
6886dc2af2
Merge pull request #49 from chrisgarrity/sync/nov15
...
Sync/nov15
2018-11-15 08:40:10 -05:00
chrisgarrity
837b92c503
sync translations
2018-11-15 08:37:22 -05:00
chrisgarrity
f4e938ab96
Add Croatian
2018-11-15 08:36:52 -05:00
chrisgarrity
a04ded2d86
Merge pull request #48 from chrisgarrity/update-translations/nov8
...
Sync translations
2018-11-08 09:15:03 -05:00
chrisgarrity
669f2cd128
Sync translations
2018-11-08 09:07:42 -05:00
chrisgarrity
8102d48dc9
Merge pull request #47 from chrisgarrity/update-translations/oct31
...
Sync new translations
2018-10-31 19:39:52 -04:00
chrisgarrity
8cdb91153e
Sync new translations
2018-10-31 18:07:17 -04:00
chrisgarrity
769838ad28
Merge pull request #46 from chrisgarrity/update-translations/oct24
...
Sync translations with transifex
2018-10-24 18:00:31 -04:00
chrisgarrity
920cb219e1
Update translations
...
Looks like the latest transifex client downloads json as a single line. So all the files changed.
2018-10-24 17:58:05 -04:00
chrisgarrity
9ca3897600
Merge pull request #45 from chrisgarrity/update-locales
...
Update supported languages and sync translations
2018-10-10 17:58:20 -04:00
chrisgarrity
542bccca2a
Sync translations
2018-10-10 17:53:06 -04:00
chrisgarrity
329eb0eacd
update supported languages and sync
2018-10-10 17:47:46 -04:00
chrisgarrity
84d617cdf8
Merge pull request #44 from chrisgarrity/update-translations/oct4
...
Sync translations with Transifex
2018-10-04 10:12:20 -04:00
chrisgarrity
99e0adceac
update webpack-cli
2018-10-04 10:06:47 -04:00
chrisgarrity
657f2b2da9
Sync translations with Transifex
2018-10-04 09:32:22 -04:00
chrisgarrity
1a5e8fb45f
Merge pull request #43 from chrisgarrity/update-translations/sep26
...
sync translations from Transifex
2018-09-26 16:33:37 -04:00
chrisgarrity
a6872694c7
sync translations from Transifex
...
Also added new languages that have been added to the Scratch Editor project. None of them are ready for the menu yet.
2018-09-26 15:43:18 -04:00
Benjamin Wheeler
0943adfff3
Merge pull request #42 from benjiwheeler/translations-sep18
...
Added Amharic and Basque/Euskara, Transifex translation updates
2018-09-18 17:11:51 -04:00
Ben Wheeler
f236ad61e6
Added Amharic and Basque/Euskara, Transifex translation updates
2018-09-18 16:58:25 -04:00
chrisgarrity
3a189974d0
Merge pull request #41 from chrisgarrity/update-translations/aug31
...
Sync translations from transifex
2018-08-30 16:56:57 -04:00