Commit graph

1954 commits

Author SHA1 Message Date
chrisgarrity
66c562a1d0
Merge pull request #73 from chrisgarrity/master
Manually update translations (due to failing builds)
2019-03-21 11:48:00 +01:00
chrisgarrity
f6531e6472 pull translations from transifex 2019-03-21 11:01:04 +01:00
chrisgarrity
a995aa5413 Helpers for failing validations
* Update Slack notification to always notify.
* Add optional parameter to `tx-pull-www` to pull just resources for a particular language. Helpful when validations are failing for one language.
2019-03-21 11:00:12 +01:00
Travis CI User
341e3ae8b0 pull new editor translations from Transifex 2019-02-20 14:27:44 +00:00
chrisgarrity
21baae8d9e
Merge pull request #68 from chrisgarrity/sync-www
Sync www
2019-02-18 08:42:56 +00:00
chrisgarrity
6c3f436dcf
Merge pull request #69 from chrisgarrity/notifications
Add l10n build failure notification to slack
2019-02-18 08:42:17 +00:00
Benjamin Wheeler
a8e41c0cef
Merge pull request #70 from benjiwheeler/bump-version-instruction
added note about bumping minor version number
2019-02-13 14:20:47 -05:00
Ben Wheeler
7a3e1e492a added note about bumping minor version number 2019-02-13 14:19:03 -05:00
Travis CI User
b87759c0d4 pull new editor translations from Transifex 2019-02-13 14:24:56 +00:00
Benjamin Wheeler
e937ec914e
Merge pull request #67 from benjiwheeler/clarify-pull-request-template
clarified country code step in adding new language
2019-02-12 10:30:53 -05:00
chrisgarrity
564ee36353 Add build failure notification to slack
Created a slack integration that posts to the scratch-ops channel and ddded the token as ENV variable in travis.

Configured the slack notification to only post on failure.
2019-02-12 13:36:58 +01:00
chrisgarrity
4bc711e18d pull updated www files and remove outdated ones 2019-02-12 10:55:07 +01:00
chrisgarrity
50761ad970 New scripts to support www in scratch-l10n
* tx-pull-www: pull www translations from transifex
* validate-www: check www for correct placeholders
* add commands to pull and validate www to package.json
* add validating www to the test step
* add pulling www to the update-translations script for the cron job
* changed .tx/config to match the new folder names `scratch-website.<resource-slug>`, and added missing folders. This isn’t needed for the scripts, but it’s useful if you need to pull the translation for a single language/resource
2019-02-12 10:50:43 +01:00
Ben Wheeler
7b7e9435eb clarified country code issue 2019-02-11 14:29:40 -05:00
chrisgarrity
783eab1ae3
Merge pull request #65 from nikhiljha/master
Upgrade Dependencies
2019-02-11 15:21:52 +01:00
Ben Wheeler
b3dda0b9a7 clarified country code step in adding new language 2019-02-07 17:48:37 -05:00
Benjamin Wheeler
d826aeeddb
Merge pull request #66 from benjiwheeler/add-persian-and-central-kurdish
add persian and central kurdish
2019-02-07 17:41:22 -05:00
Ben Wheeler
8ab0e8be7b updated and added translation data files for fa and ckb 2019-02-06 17:09:30 -05:00
Ben Wheeler
1a3e6245e0 add persian and central kurdish 2019-02-06 17:09:23 -05:00
Travis CI User
b51ede6cc4 pull new editor translations from Transifex 2019-02-06 14:25:31 +00:00
Nikhil Jha
a4305a3a8c Upgrade Dependencies 2019-02-02 09:53:30 -08:00
Travis CI User
194a147dbe pull new editor translations from Transifex 2019-01-30 14:24:26 +00:00
Travis CI User
ff3f1d1c8c pull new editor translations from Transifex 2019-01-23 14:27:01 +00:00
Benjamin Wheeler
c2411aa64e
Merge pull request #62 from benjiwheeler/pull-request-template
added pull request template, and note on where to find react-intl info
2019-01-22 09:52:29 -05:00
Ben Wheeler
bb7b458a85 added notes about .tx/config deprecation 2019-01-22 09:51:45 -05:00
Ben Wheeler
4c9541b47d added pull request template, and note on where to find react-intl info 2019-01-18 12:33:24 -05:00
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