Commit Graph

2366 Commits

Author SHA1 Message Date
Shaun Hamilton
ab83d698f9 fix(client): give useful error in solutionform (#40225) 2021-02-01 19:04:04 +05:30
Shaun Hamilton
5539dbf086 feat(client): add project links to certificate (#40071)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-01 18:55:14 +05:30
dependabot[bot]
5396793179 chore(deps): bump sanitize-html from 2.3.1 to 2.3.2 in /client
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.3.1 to 2.3.2.
- [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.1...2.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 06:05:20 +00:00
dependabot[bot]
86d2ebe729 chore(deps): bump i18next from 19.8.4 to 19.8.5 in /client
Bumps [i18next](https://github.com/i18next/i18next) from 19.8.4 to 19.8.5.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v19.8.4...v19.8.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 05:41:22 +00:00
Nicholas Carrigan (he/him)
8867e2dcbc feat(client): modify breadcrumb design (#40835) 2021-02-01 10:03:36 +05:30
Randell Dawson
b07a9116b6 feat: use crowdin for client ui translations (#40841) 2021-01-31 13:48:52 +05:30
Tom
c56a9c966f fix(client): address nav UX issues (#40823)
Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:41 +05:30
Tom
1875984423 fix(client): remove auto scroll on superBlock page (#40828) 2021-01-31 12:15:41 +05:30
Ahmad Abdolsaheb
df014a4715 fix(client): add visual hierarchy to card blocks (#40822) 2021-01-31 12:15:41 +05:30
Mrugesh Mohapatra
6a09b9bce2 fix(client): refactor dynamic URLs based on lang (#40824) 2021-01-31 12:15:41 +05:30
Kristofer Koishigawa
187e3ec973 feat: update footer links and search indices (#40818) 2021-01-31 12:15:40 +05:30
Mrugesh Mohapatra
0b944ddfde fix(env): update variable validations (#40813) 2021-01-31 12:15:40 +05:30
Nicholas Carrigan (he/him)
58c6c54c67 feat(client): redesigned navigation (#40709)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2021-01-31 12:15:40 +05:30
Kristofer Koishigawa
9014fff6c4 fix: touch up icons and UI (#40809) 2021-01-31 12:15:40 +05:30
Ahmad Abdolsaheb
4879d26604 fix(client): inject bootstrap tags to the top of head (#40804) 2021-01-31 12:15:40 +05:30
Kristofer Koishigawa
9ec8aa3db4 fix: update intro pages and learn map (#40745) 2021-01-31 12:15:39 +05:30
Kristofer Koishigawa
2615490bac fix(learn): update copy for cert landing pages
* fix: update copy for certification landing pages (#40744)

* fix: broken ci tests (#40746)

Co-authored-by: Quincy Larson <QuincyLarson@users.noreply.github.com>
2021-01-31 12:15:39 +05:30
Ahmad Abdolsaheb
3ec468be38 feat: optimize head tags (#40630)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2021-01-31 12:15:39 +05:30
Tom
625469c82f feat: improve ui/ux learn map (#40579)
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2021-01-31 12:15:39 +05:30
Tom
14ca6beb0a fix: naming scheme for messages in translation files (#40642)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-01-31 12:15:38 +05:30
Nicholas Carrigan (he/him)
b0aaff19dc fix(tools): Validate server-side keys (#40643)
Adds the `api-server` code to the key validation script to include keys
that are specifically used on the server-side only.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:38 +05:30
Rafael D. Hernandez
c7fc86c7bc feat(i18n): add Spanish translations(#40638) 2021-01-31 12:15:38 +05:30
Tom
072a7ce6c6 feat(i18n): translate server messages (#40626) 2021-01-31 12:15:38 +05:30
Nicholas Carrigan (he/him)
49b1c29f6b fix(tools): validate and lint i18n schema (#40597)
* tools: Move schema validation to linter

Migrates the schema validation process for
translation files out of the `test` step and
in to a `lint` step.

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

* fix: typo

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

* tools: Lint motivation object

Verifies that the motivation.json objects are
correct, and that the quote objects are all
structured properly.

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

* tools: add object value validation

Adds a function that validates each translation
object does not have any empty keys.

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

* tools: Log missing values with property chain

Modifies the value validation to log property names
as chains, for easier identification of misisng key
values.

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

* fix(tools): Correct typo

Corrects the typo in the motivation-schema.js comments

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-01-31 12:15:37 +05:30
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
9381d259b6 fix(i18n): use withPrefix for custom paths (#40591) 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
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
24d9c94fe5 refactor: remove confusing abstraction 2021-01-31 12:15:34 +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]
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