Commit Graph

26782 Commits (41c4b7f49a85e0e1b7bfa8038a9351fee316b06c)

Author SHA1 Message Date
miyaliu666 41c4b7f49a translated new keys and supporter/top contributor 2021-01-31 12:15:37 +05:30
Nicholas Carrigan (he/him) a888b476a9 fix(i18n): apply unused translations (#40599)
* fix: Apply unused translations

Applies the following unused translation keys
(discovered with script from #40585):
- HeatMap uses plural form of points unless points=1
- Camper uses plural form of points unless points=1
- DeleteModal uses delete title instead of button text
- UpdateEmail page uses verify email translation correctly

Still unused:
- buttons.reset-lesson (replaced by reset-code?)
- settings.username validation error messages (loaded dynamically)
- flash messages (sent from server?)
- donate.additional (removed from page, discussed to keep this key)

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* revert: Undo manual plurality

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: use buttons.reset-lesson key

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2021-01-31 12:15:37 +05:30
Nicholas Carrigan (he/him) d76f861e72 tools(client): Translation Key usage validation (#40585) 2021-01-31 12:15:37 +05:30
Mrugesh Mohapatra 2f525de24c fix(api): validate url before use 2021-01-31 12:15:37 +05:30
Mrugesh Mohapatra 9381d259b6 fix(i18n): use `withPrefix` for custom paths (#40591) 2021-01-31 12:15:36 +05:30
Oliver Eyton-Williams a076547d43 fix(api): only use homeLocation as a fallback (#40517) 2021-01-31 12:15:36 +05:30
nhcarrigan 03fa21a565 feat(client): Translatable donation link
Replaces the "other ways to donate" link with a
swappable translation token - allowing us to use
localised versions of the news article when
they are available.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:36 +05:30
nhcarrigan 994b4c27df feat(client): Translatable footer links
Modifies the translation schema to allow the
footer links (such as `about`) to be replaced
based on the client locale. Updates the snapshot
for the `Footer` component to reflect the changes.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:36 +05:30
Tom 5950a397e6 fix: i18n new donate text (#40584) 2021-01-31 12:15:36 +05:30
miyaliu666 75b65c4a80 fix(i18n): translated translations.json to Chinese (#40529)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-01-31 12:15:35 +05:30
Nicholas Carrigan (he/him) 0de8dcdade feat(client): Add news translation (#40577) 2021-01-31 12:15:35 +05:30
Mrugesh Mohapatra 1e4c5fd6f0 fix: update donate page text options 2021-01-31 12:15:35 +05:30
Nicholas Carrigan (he/him) 59173b346a fix(tools): Validate `curriculum_locale` (#40572)
Adds validation for the `CURRICULUM_LOCALE`
environment variable in the same way the
`CLIENT_LOCALE` value is validated.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:35 +05:30
Kabindra Shrestha ac3d762bb5 fix(learn): split and simplified learn map (#39154) 2021-01-31 12:15:35 +05:30
Tom 48c97238fc fix: revert spanish translations (#40513) 2021-01-31 12:15:34 +05:30
Mrugesh Mohapatra 77c46dba2c fix(i18n): redirect based on Referer header (#40512)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-31 12:15:34 +05:30
Mrugesh Mohapatra a3b1b52cdd fix(i18n): pathPrefix for languages at subpath 2021-01-31 12:15:34 +05:30
Oliver Eyton-Williams ac6fc605ad refactor: clean up supportLangs refs 2021-01-31 12:15:34 +05:30
Oliver Eyton-Williams 24d9c94fe5 refactor: remove confusing abstraction 2021-01-31 12:15:34 +05:30
Oliver Eyton-Williams 7c4e0ec41e refactor: abstract out walk in getChallenges 2021-01-31 12:15:33 +05:30
Oliver Eyton-Williams 412938890a fix(api): use English slugs for all challenges 2021-01-31 12:15:33 +05:30
Mrugesh Mohapatra 28d3319ba7 feat: add redirects after authentication 2021-01-31 12:15:33 +05:30
Tom a6432ec561 fix(client): translation hydration (#40469)
* fix: translation hydration
2021-01-31 12:15:33 +05:30
Mrugesh Mohapatra ec5b250d13 feat: add scaffolding for chinese client 2021-01-31 12:15:33 +05:30
Tom 3978c6be28 feat: i18n user interface (#40306)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-31 12:15:32 +05:30
dependabot[bot] a60a887e63 chore(deps-dev): bump acorn from 8.0.4 to 8.0.5 in /curriculum
Bumps [acorn](https://github.com/acornjs/acorn) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.0.4...8.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-31 05:19:39 +00:00
Tom 0e96d2604e
fix: delete existing users before seeding db (#40423) 2021-01-30 11:13:52 +05:30
Nicholas Carrigan (he/him) 5d7173b124
chore(i8n,docs): processed translations (#40799)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-01-28 03:03:22 +05:30
Hernando Guzmán 3394a654bd
fix(learn): Correct syntax in the code example (#40811)
Closes #40810
2021-01-27 11:03:22 -08:00
Moses Chandramouli 4f4622dd21
chore: Copyright year from 2020 to 2021 in readme.md file (#40797) 2021-01-25 23:10:36 +05:30
Randell Dawson 2777fa3485
chore(docs) - Remove all but Spanish translations (#40789) 2021-01-25 18:01:16 +05:30
dependabot[bot] b48ec8adaa chore(deps): bump gatsby-plugin-manifest in /client
Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@2.11.0/packages/gatsby-plugin-manifest)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 09:40:07 +00:00
dependabot[bot] 2eb9f48178 chore(deps): bump gatsby from 2.30.3 to 2.31.1 in /client
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.30.3 to 2.31.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.30.3...gatsby@2.31.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 09:36:09 +00:00
dependabot[bot] b507767efa chore(deps): bump gatsby-plugin-create-client-paths in /client
Bumps [gatsby-plugin-create-client-paths](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-create-client-paths) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-create-client-paths/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-create-client-paths@2.9.0/packages/gatsby-plugin-create-client-paths)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 09:18:14 +00:00
dependabot[bot] 73218ec934 chore(deps): bump gatsby-plugin-react-helmet in /client
Bumps [gatsby-plugin-react-helmet](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-react-helmet) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-react-helmet/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-helmet@3.9.0/packages/gatsby-plugin-react-helmet)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 08:57:12 +00:00
dependabot[bot] 74847b4084 chore(deps): bump gatsby-plugin-advanced-sitemap in /client
Bumps [gatsby-plugin-advanced-sitemap](https://github.com/tryghost/gatsby-plugin-advanced-sitemap) from 1.5.6 to 1.5.7.
- [Release notes](https://github.com/tryghost/gatsby-plugin-advanced-sitemap/releases)
- [Commits](https://github.com/tryghost/gatsby-plugin-advanced-sitemap/compare/v1.5.6...v1.5.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 08:38:47 +00:00
dependabot[bot] d5316456e2 chore(deps): bump gatsby-source-filesystem in /client
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.9.1 to 2.10.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.10.0/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 08:38:04 +00:00
dependabot[bot] 8a0c51d2a6 chore(deps): bump gatsby-transformer-remark in /client
Bumps [gatsby-transformer-remark](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-remark) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-transformer-remark/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-remark@2.15.0/packages/gatsby-transformer-remark)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:56:00 +00:00
dependabot[bot] 74bfeccf2a chore(deps): bump react-reflex from 3.1.0 to 3.1.1 in /client
Bumps [react-reflex](https://github.com/leefsmp/Re-Flex) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/leefsmp/Re-Flex/releases)
- [Commits](https://github.com/leefsmp/Re-Flex/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:54:11 +00:00
dependabot[bot] 2559cdd736 chore(deps): bump enzyme-adapter-react-16 in /client
Bumps [enzyme-adapter-react-16](https://github.com/enzymejs/enzyme/tree/HEAD/packages/enzyme-adapter-react-16) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/enzymejs/enzyme/releases)
- [Changelog](https://github.com/enzymejs/enzyme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/enzymejs/enzyme/commits/enzyme-adapter-react-16@1.15.6/packages/enzyme-adapter-react-16)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:51:12 +00:00
dependabot[bot] 11b471e6c0 chore(deps): bump sanitize-html from 2.3.0 to 2.3.1 in /client
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.3.0...2.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:47:09 +00:00
dependabot[bot] 526efe8b8b chore(deps): bump react-instantsearch-dom from 6.8.2 to 6.8.3 in /client
Bumps [react-instantsearch-dom](https://github.com/algolia/react-instantsearch) from 6.8.2 to 6.8.3.
- [Release notes](https://github.com/algolia/react-instantsearch/releases)
- [Changelog](https://github.com/algolia/react-instantsearch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/algolia/react-instantsearch/compare/v6.8.2...v6.8.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:44:10 +00:00
dependabot[bot] e13996d143 chore(deps): bump react-youtube from 7.13.0 to 7.13.1 in /client
Bumps [react-youtube](https://github.com/tjallingt/react-youtube) from 7.13.0 to 7.13.1.
- [Release notes](https://github.com/tjallingt/react-youtube/releases)
- [Changelog](https://github.com/tjallingt/react-youtube/blob/canary/release.config.js)
- [Commits](https://github.com/tjallingt/react-youtube/compare/v7.13.0...v7.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:37:56 +00:00
dependabot[bot] cedd1ea8e4 chore(deps): bump gatsby-remark-prismjs from 3.11.0 to 3.12.0 in /client
Bumps [gatsby-remark-prismjs](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-prismjs) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-prismjs/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-prismjs@3.12.0/packages/gatsby-remark-prismjs)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:32:23 +00:00
dependabot[bot] fea073403a chore(deps): bump gatsby-cli from 2.17.1 to 2.18.0 in /client
Bumps [gatsby-cli](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-cli) from 2.17.1 to 2.18.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-cli/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-cli@2.18.0/packages/gatsby-cli)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:25:31 +00:00
Randell Dawson 32e80aa351
fix(docs): Configure docs folder with Crowdin (#40776) 2021-01-25 08:39:57 +05:30
gikf d41630ee19
fix(learn): clarify test description for Use Rest Parameter with Function Parameter (#40725)
* fix: clarify test description

* fix: improve wording regarding rest parameters syntax

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* fix: improve with better sounding wording

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-01-24 08:30:13 -08:00
Nicholas Carrigan (he/him) 96753ddca4
feat(docs): add notes about Crowdin quirks (#40758)
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-01-22 18:49:10 +05:30
Mainak Debnath d5ad87d915
fix(learn): put test cases under --seed-- and remove them from the solution (#40755)
* fix: put test cases under --seed--

* fix: put test cases under --seed--
2021-01-21 18:26:06 -08:00
Shaun Hamilton ce3a20e552
fix(learn): change requirements for positive and negative lookaheads (#40570) 2021-01-21 15:35:19 -06:00