Commit graph

2028 commits

Author SHA1 Message Date
chrisgarrity
8ca0a67b2b
Merge pull request #61 from chrisgarrity/fix-locale-data
Add react-intl locale data for new languages.
2019-01-17 14:14:49 -05:00
chrisgarrity
6c56414704 Add react-intl locale data for new languages. 2019-01-17 13:58:03 -05:00
chrisgarrity
2f54a12043
Merge pull request #60 from chrisgarrity/jan-update-languages
Jan update languages
2019-01-16 14:25:15 -05:00
chrisgarrity
7bf6affd85 update translations for added languages
Also pick up some hungarian changes (a reviewer must be working this morning).
2019-01-16 09:57:10 -05:00
chrisgarrity
324f606a19 Add fully reviewed languages
Adding Bulgarian, Latvian, Nynorsk, and Slovak.

Removing the obsolete `wwwLocales` export.
2019-01-16 09:45:13 -05:00
Travis CI User
59490c7df4 pull new editor translations from Transifex 2019-01-16 14:23:16 +00:00
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