00a876d9b2
fix(learn): use json files for comments ( #40844 )
2021-01-31 21:36:57 +05:30
81e55605a2
feat: allow challenges to be hidden by language ( #40833 )
2021-01-31 19:23:27 +05:30
8c22432b17
fix(learn): add period for readability ( #40836 )
2021-01-31 13:57:46 +05:30
b07a9116b6
feat: use crowdin for client ui translations ( #40841 )
2021-01-31 13:48:52 +05:30
c56a9c966f
fix(client): address nav UX issues ( #40823 )
...
Co-authored-by: nhcarrigan <nhcarrigan@gmail.com >
2021-01-31 12:15:41 +05:30
1875984423
fix(client): remove auto scroll on superBlock page ( #40828 )
2021-01-31 12:15:41 +05:30
df014a4715
fix(client): add visual hierarchy to card blocks ( #40822 )
2021-01-31 12:15:41 +05:30
6a09b9bce2
fix(client): refactor dynamic URLs based on lang ( #40824 )
2021-01-31 12:15:41 +05:30
187e3ec973
feat: update footer links and search indices ( #40818 )
2021-01-31 12:15:40 +05:30
0b944ddfde
fix(env): update variable validations ( #40813 )
2021-01-31 12:15:40 +05:30
58c6c54c67
feat(client): redesigned navigation ( #40709 )
...
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com >
2021-01-31 12:15:40 +05:30
9014fff6c4
fix: touch up icons and UI ( #40809 )
2021-01-31 12:15:40 +05:30
4879d26604
fix(client): inject bootstrap tags to the top of head ( #40804 )
2021-01-31 12:15:40 +05:30
9ec8aa3db4
fix: update intro pages and learn map ( #40745 )
2021-01-31 12:15:39 +05:30
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
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
3ec468be38
feat: optimize head tags ( #40630 )
...
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com >
2021-01-31 12:15:39 +05:30
625469c82f
feat: improve ui/ux learn map ( #40579 )
...
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com >
2021-01-31 12:15:39 +05:30
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
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
c7fc86c7bc
feat(i18n): add Spanish translations( #40638 )
2021-01-31 12:15:38 +05:30
072a7ce6c6
feat(i18n): translate server messages ( #40626 )
2021-01-31 12:15:38 +05:30
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
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
41c4b7f49a
translated new keys and supporter/top contributor
2021-01-31 12:15:37 +05:30
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
d76f861e72
tools(client): Translation Key usage validation ( #40585 )
2021-01-31 12:15:37 +05:30
2f525de24c
fix(api): validate url before use
2021-01-31 12:15:37 +05:30
9381d259b6
fix(i18n): use withPrefix
for custom paths ( #40591 )
2021-01-31 12:15:36 +05:30
a076547d43
fix(api): only use homeLocation as a fallback ( #40517 )
2021-01-31 12:15:36 +05:30
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
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
5950a397e6
fix: i18n new donate text ( #40584 )
2021-01-31 12:15:36 +05:30
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
0de8dcdade
feat(client): Add news translation ( #40577 )
2021-01-31 12:15:35 +05:30
1e4c5fd6f0
fix: update donate page text options
2021-01-31 12:15:35 +05:30
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
ac3d762bb5
fix(learn): split and simplified learn map ( #39154 )
2021-01-31 12:15:35 +05:30
48c97238fc
fix: revert spanish translations ( #40513 )
2021-01-31 12:15:34 +05:30
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
a3b1b52cdd
fix(i18n): pathPrefix for languages at subpath
2021-01-31 12:15:34 +05:30
ac6fc605ad
refactor: clean up supportLangs refs
2021-01-31 12:15:34 +05:30
24d9c94fe5
refactor: remove confusing abstraction
2021-01-31 12:15:34 +05:30
7c4e0ec41e
refactor: abstract out walk in getChallenges
2021-01-31 12:15:33 +05:30
412938890a
fix(api): use English slugs for all challenges
2021-01-31 12:15:33 +05:30
28d3319ba7
feat: add redirects after authentication
2021-01-31 12:15:33 +05:30
a6432ec561
fix(client): translation hydration ( #40469 )
...
* fix: translation hydration
2021-01-31 12:15:33 +05:30
ec5b250d13
feat: add scaffolding for chinese client
2021-01-31 12:15:33 +05:30
3978c6be28
feat: i18n user interface ( #40306 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-01-31 12:15:32 +05:30
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