chore(i18n,curriculum): update translations (#42022)

This commit is contained in:
camperbot
2021-05-06 17:11:14 +02:00
committed by GitHub
parent 5cb3465a1d
commit 44dc4f6788
3 changed files with 4 additions and 5 deletions

View File

@ -52,7 +52,7 @@ assert($('img').length);
Tu imagen debe tener un atributo `src` que apunte a la imagen del gatito. Tu imagen debe tener un atributo `src` que apunte a la imagen del gatito.
```js ```js
assert(/^https:\/\/www\.bit\.ly\/fcc-relaxing-cat$/i.test($('img').attr('src'))); assert(/^https:\/\/(www\.)?bit\.ly\/fcc-relaxing-cat$/i.test($('img').attr('src')));
``` ```
El atributo `alt` de tu elemento imagen no debe estar vacío. El atributo `alt` de tu elemento imagen no debe estar vacío.

View File

@ -37,9 +37,8 @@ assert(
Tu formulario `form` debe tener un atributo `action` que esté establecido como `https://www.freecatphotoapp.com/submit-cat-photo` Tu formulario `form` debe tener un atributo `action` que esté establecido como `https://www.freecatphotoapp.com/submit-cat-photo`
```js ```js
assert( const action = $('form').attr('action');
$('form').attr('action') === 'https://www.freecatphotoapp.com/submit-cat-photo' assert(action.match(/^https:\/\/(www\.)?freecatphotoapp\.com\/submit-cat-photo$/i))
);
``` ```
Tu elemento `form` debe tener etiquetas correctamente abiertas y cerradas. Tu elemento `form` debe tener etiquetas correctamente abiertas y cerradas.

View File

@ -34,7 +34,7 @@ assert(/cat photos/gi.test($('a').text()));
Necesitas un elemento `a` que enlace a `https://www.freecatphotoapp.com` Necesitas un elemento `a` que enlace a `https://www.freecatphotoapp.com`
```js ```js
assert(/^https?:\/\/www\.freecatphotoapp\.com\/?$/i.test($('a').attr('href'))); assert(/^https?:\/\/(www\.)?freecatphotoapp\.com\/?$/i.test($('a').attr('href')));
``` ```
Tu elemento `a` debe tener una etiqueta de cierre. Tu elemento `a` debe tener una etiqueta de cierre.