* chore(learn): audit files for crowdin
Audits the challenge text in the Responsive Web Design superblock to
account for words/phrases that should not be translated because they
refer to code.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix: remove quotes from code
Removes instances of quoted code blocks, or code blocked quotes.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix: additional uncaught quote-codes
Thanks Oliver :)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* fix: so many quotes
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: missing punctuation
Noted in a Crowdin comment.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix: remove more quotes
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* feat(curriculum): add extension tests for css-flexbox curriculum modules
* apply suggestions from code review
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* fix: reorder tests
Moves the test that asserts the presence of the follow button to the
top of the order.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
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>
* fix: redirect correctly in development
* fix: prevent // appearing in path
* refactor: remove old comments
* fix: remove trailing slash for redirection
* 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>