Commit Graph

163 Commits (ba789fa8ec776aefdedeeebd8f4763d23e186233)

Author SHA1 Message Date
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) d76f861e72 tools(client): Translation Key usage validation (#40585) 2021-01-31 12:15:37 +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
Tom 48c97238fc fix: revert spanish translations (#40513) 2021-01-31 12:15:34 +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