Commit Graph

26821 Commits (a37d5f5817188550b08bea9fbfa8b9bb51041592)

Author SHA1 Message Date
Kim Leung a37d5f5817
fix(learn): add output type verbiage (#40589)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-02-01 19:41:15 +05:30
Robin Dürhager 26b5e4ea5f
fix(docs): Add WSL2 setup issues warning to clone repo section (#40671) 2021-02-01 19:39:58 +05:30
Nicholas Carrigan (he/him) 18e821bcd3
fix: remove clunky sentence (#40751) 2021-02-01 19:22:39 +05:30
Hernando Guzmán f63ca27e6a
Fix: corrected the typo (#40837)
Updated run-functional-tests-using-a-headless-browser.md to correct the typo
2021-02-01 06:52:11 -07:00
Oliver Eyton-Williams 77158a533e
fix: catch edge case of lang in path (#40826)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-01 19:18:56 +05:30
Randell Dawson 22f017caa2
fix(learn): replace single bactick with <code> tag for Crowdin (#40774) 2021-02-01 19:09:13 +05:30
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
Kai-Chin Huang 5503b54f85
fix(learn): update the return Object.values & solution (#40451) 2021-02-01 13:12:54 +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 7eb6bfc127
fix(tools): Download all languages from Crowdin (#40849) 2021-02-01 09:34:36 +05:30
Oliver Eyton-Williams 0b75c2fc62
fix: ensure-env before test and lint (#40850)
This prevents confusing errors resulting from the config files not always
being updated.
2021-02-01 09:25:13 +05:30
Randell Dawson cc223a9e54
fix: do not upload translations (#40848) 2021-01-31 12:41:24 -08:00
Randell Dawson 00a876d9b2
fix(learn): use json files for comments (#40844) 2021-01-31 21:36:57 +05:30
Oliver Eyton-Williams 81e55605a2
feat: allow challenges to be hidden by language (#40833) 2021-01-31 19:23:27 +05:30
Evan Boehs 8c22432b17
fix(learn): add period for readability (#40836) 2021-01-31 13:57:46 +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
Oliver Eyton-Williams 94e6219c39 fix(test): longer test timeout (#40748)
Some tests randomly fail in CI so this commit makes them more forgiving.
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
Oliver Eyton-Williams 77022b8a56 fix: redirect correctly in development (#40594)
* fix: redirect correctly in development

* fix: prevent // appearing in path

* refactor: remove old comments

* fix: remove trailing slash for redirection
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 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