Fix some text to pass the test (#33183)
Added some changes in order to help spanish-speaking people to understand this translation.
This commit is contained in:
@ -7,21 +7,20 @@ localeTitle: Añadir texto de marcador de posición a un campo de texto
|
|||||||
---
|
---
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
<section id="description"> El texto de marcador de posición es lo que se muestra en su elemento de <code>input</code> antes de que su usuario haya ingresado algo. Puede crear texto de marcador de posición de la siguiente forma: <code><input type="text" placeholder="this is placeholder text"></code> </section>
|
<section id="description"> El texto de marcador de posición (<code>placeholder</code> ) es lo que se muestra en su elemento <code>input</code> antes de que su usuario haya ingresado algo. Puede crear texto de marcador de posición de la siguiente manera: <code><input type="text" placeholder="this is placeholder text"></code> </section>
|
||||||
|
|
||||||
## Instructions
|
<section id="instructions"> Establezca el valor del <code>placeholder</code> de su elemento <code>input</code> texto en "URL de foto de gato". </section>
|
||||||
<section id="instructions"> Establezca el valor de <code>placeholder</code> de su <code>input</code> texto en "URL de foto de gato". </section>
|
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
<section id='tests'>
|
<section id='tests'>
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
tests:
|
tests:
|
||||||
- text: Agregue un atributo de <code>placeholder</code> al elemento de <code>input</code> texto existente.
|
- text: Agregue un atributo <code>placeholder</code> al elemento <code>input</code> existente.
|
||||||
testString: 'assert($("input[placeholder]").length > 0, "Add a <code>placeholder</code> attribute to the existing text <code>input</code> element.");'
|
testString: 'assert($("input[placeholder]").length > 0, "Add a <code>placeholder</code> attribute to the existing text <code>input</code> element.");'
|
||||||
- text: Establezca el valor de su atributo de marcador de posición en "URL de foto de gato".
|
- text: Establezca el valor de su atributo <code>placeholder</code> en "cat photo URL".
|
||||||
testString: 'assert($("input") && $("input").attr("placeholder") && $("input").attr("placeholder").match(/cat\s+photo\s+URL/gi), "Set the value of your placeholder attribute to "cat photo URL".");'
|
testString: 'assert($("input") && $("input").attr("placeholder") && $("input").attr("placeholder").match(/cat\s+photo\s+URL/gi), "Set the value of your placeholder attribute to "cat photo URL".");'
|
||||||
- text: El elemento de <code>input</code> terminado debe tener una sintaxis válida.
|
- text: El elemento <code>input</code> completado debe tener una sintaxis válida.
|
||||||
testString: 'assert($("input[type=text]").length > 0 && code.match(/<input((\s+\w+(\s*=\s*(?:".*?"|".*?"|[\^"">\s]+))?)+\s*|\s*)\/?>/gi), "The finished <code>input</code> element should have valid syntax.");'
|
testString: 'assert($("input[type=text]").length > 0 && code.match(/<input((\s+\w+(\s*=\s*(?:".*?"|".*?"|[\^"">\s]+))?)+\s*|\s*)\/?>/gi), "The finished <code>input</code> element should have valid syntax.");'
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user