chore(learn): audit files for crowdin (#40838)

* 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>
This commit is contained in:
Nicholas Carrigan (he/him)
2021-02-01 11:56:07 -08:00
committed by GitHub
parent 4c99d18b2f
commit 427444c757
64 changed files with 122 additions and 123 deletions

View File

@ -13,7 +13,7 @@ The tweet embed `header` and `footer` used the `flex-direction` property earlier
# --instructions--
Add the CSS property `flex-direction` to the header's `.profile-name` element and set the value to column.
Add the CSS property `flex-direction` to the header's `.profile-name` element and set the value to `column`.
# --hints--
@ -23,7 +23,7 @@ Your `.follow-btn` should be rendered on the page. Be sure to turn off any exten
assert($('.follow-btn').length > 0 && $('.follow-btn').css('display') !== 'none');
```
The `.profile-name` element should have a `flex-direction` property set to column.
The `.profile-name` element should have a `flex-direction` property set to `column`.
```js
assert($('.profile-name').css('flex-direction') == 'column');

View File

@ -13,7 +13,7 @@ The `header` and `footer` in the tweet embed example have child items that could
# --instructions--
Add the CSS property `flex-direction` to both the `header` and `footer` and set the value to row.
Add the CSS property `flex-direction` to both the `header` and `footer` and set the value to `row`.
# --hints--
@ -23,13 +23,13 @@ Your `.follow-btn` should be rendered on the page. Be sure to turn off any exten
assert($('.follow-btn').length > 0 && $('.follow-btn').css('display') !== 'none');
```
The `header` should have a `flex-direction` property set to row.
The `header` should have a `flex-direction` property set to `row`.
```js
assert(code.match(/header\s*?{[^}]*?flex-direction:\s*?row;/g));
```
The `footer` should have a `flex-direction` property set to row.
The `footer` should have a `flex-direction` property set to `row`.
```js
assert(code.match(/footer\s*?{[^}]*?flex-direction:\s*?row;/g));

View File

@ -19,7 +19,7 @@ Set the initial size of the boxes using `flex-basis`. Add the CSS property `flex
# --hints--
The `#box-1` element should have a `flex-basis` property.
The `#box-1` element should have the `flex-basis` property.
```js
assert($('#box-1').css('flex-basis') != 'auto');

View File

@ -17,7 +17,7 @@ Add the CSS property `flex-direction` to the `#box-container` element, and give
# --hints--
The `#box-container` element should have a `flex-direction` property set to column.
The `#box-container` element should have a `flex-direction` property set to `column`.
```js
assert($('#box-container').css('flex-direction') == 'column');

View File

@ -21,7 +21,7 @@ Add the CSS property `flex-direction` to the `#box-container` element, and give
# --hints--
The `#box-container` element should have a `flex-direction` property set to row-reverse.
The `#box-container` element should have a `flex-direction` property set to `row-reverse`.
```js
assert($('#box-container').css('flex-direction') == 'row-reverse');