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
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