aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web
diff options
context:
space:
mode:
authorKayquer <kayquerocha@gmail.com>2021-08-14 19:43:47 -0300
committerGitHub <noreply@github.com>2021-08-14 19:43:47 -0300
commite8757f8aeffd9e92abbb802f24aa9739c82914b8 (patch)
tree1ca71236d4e8be51adeda5974b53e376723a2617 /files/pt-br/web
parentb5095fcb4ccf7d2a745db2573ef2b377d344d551 (diff)
downloadtranslated-content-e8757f8aeffd9e92abbb802f24aa9739c82914b8.tar.gz
translated-content-e8757f8aeffd9e92abbb802f24aa9739c82914b8.tar.bz2
translated-content-e8757f8aeffd9e92abbb802f24aa9739c82914b8.zip
Update index.html (#2044)
Several HTML attributes had been translated to Portuguese like, name and value. JS events for click where translated too.
Diffstat (limited to 'files/pt-br/web')
-rw-r--r--files/pt-br/web/html/element/input/checkbox/index.html30
1 files changed, 15 insertions, 15 deletions
diff --git a/files/pt-br/web/html/element/input/checkbox/index.html b/files/pt-br/web/html/element/input/checkbox/index.html
index 155d8301b2..d2e7ed1f71 100644
--- a/files/pt-br/web/html/element/input/checkbox/index.html
+++ b/files/pt-br/web/html/element/input/checkbox/index.html
@@ -46,7 +46,7 @@ translation_of: Web/HTML/Element/input/checkbox
<pre class="brush: html">&lt;form&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "subscribeNews" nome = "subscribe" value = "<code>newsletter</code>"&gt;
+ &lt;input type = "checkbox" id = "subscribeNews" name = "subscribe" value = "<code>newsletter</code>"&gt;
&lt;label for = "subscribeNews"&gt; Subscreva a newsletter? &lt;/ label&gt;
&lt;/ div&gt;
&lt;div&gt;
@@ -77,11 +77,11 @@ translation_of: Web/HTML/Element/input/checkbox
<pre class="brush: html">&lt;fieldset&gt;
&lt;legend&gt; Escolha seus interesses &lt;/ legend&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "codificação" name = "interesse" valor = "codificação"&gt;
+ &lt;input type = "checkbox" id = "codificação" name = "interesse" value = "codificação"&gt;
&lt;label for = "coding"&gt; Codificação &lt;/ label&gt;
&lt;/ div&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "música" name = "interesse" valor = "música"&gt;
+ &lt;input type = "checkbox" id = "música" name = "interesse" value = "música"&gt;
&lt;label for = "music"&gt; Música &lt;/ label&gt;
&lt;/ div&gt;
&lt;/ fieldset&gt;</pre>
@@ -97,11 +97,11 @@ translation_of: Web/HTML/Element/input/checkbox
<pre class="brush: html">&lt;fieldset&gt;
&lt;legend&gt; Escolha seus interesses &lt;/ legend&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "codificação" nome = "interesse" valor = "codificação" checked&gt;
+ &lt;input type = "checkbox" id = "codificação" name = "interesse" value = "codificação" checked&gt;
&lt;label for = "coding"&gt; Codificação &lt;/ label&gt;
&lt;/ div&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "música" name = "interesse" valor = "música"&gt;
+ &lt;input type = "checkbox" id = "música" name = "interesse" value = "música"&gt;
&lt;label for = "music"&gt; Música &lt;/ label&gt;
&lt;/ div&gt;
&lt;/ fieldset&gt;</pre>
@@ -142,7 +142,7 @@ translation_of: Web/HTML/Element/input/checkbox
});
for(var i = 0; i &lt;ingredientes.length; i ++) {
- ingredientes [i] .addEventListener ('clique', updateDisplay);
+ ingredientes [i] .addEventListener ('click', updateDisplay);
}
função updateDisplay () {
@@ -185,29 +185,29 @@ translation_of: Web/HTML/Element/input/checkbox
&lt;fieldset&gt;
&lt;legend&gt; Escolha seus interesses &lt;/ legend&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "codificação" name = "interesse" valor = "codificação"&gt;
+ &lt;input type = "checkbox" id = "codificação" name = "interesse" value = "codificação"&gt;
&lt;label for = "coding"&gt; Codificação &lt;/ label&gt;
&lt;/ div&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "música" name = "interesse" valor = "música"&gt;
+ &lt;input type = "checkbox" id = "música" name = "interesse" value = "música"&gt;
&lt;label for = "music"&gt; Música &lt;/ label&gt;
&lt;/ div&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "arte" name = "interesse" valor = "arte"&gt;
+ &lt;input type = "checkbox" id = "arte" name = "interesse" value = "arte"&gt;
&lt;label for = "art"&gt; Art &lt;/ label&gt;
&lt;/ div&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "sports" nome = "interesse" valor = "esportes"&gt;
+ &lt;input type = "checkbox" id = "sports" name = "interesse" value = "esportes"&gt;
&lt;label for = "sports"&gt; Esportes &lt;/ label&gt;
&lt;/ div&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "cozinhar" nome = "interesse" valor = "cozinhar"&gt;
+ &lt;input type = "checkbox" id = "cozinhar" name = "interesse" value = "cozinhar"&gt;
&lt;label for = "cooking"&gt; Cozinhando &lt;/ label&gt;
&lt;/ div&gt;
&lt;div&gt;
- &lt;input type = "checkbox" id = "outro" nome = "interesse" valor = "outro"&gt;
+ &lt;input type = "checkbox" id = "outro" name = "interesse" value = "outro"&gt;
&lt;label for = "other"&gt; Outro &lt;/ label&gt;
- &lt;input type = "text" id = "otherValue" nome = "outro"&gt;
+ &lt;input type = "text" id = "otherValue" name = "outro"&gt;
&lt;/ div&gt;
&lt;div&gt;
&lt;button type = "submit"&gt; Enviar formulário &lt;/ button&gt;
@@ -252,10 +252,10 @@ otherText.style.visibility = 'oculto';
otherCheckbox.onchange = function () {
if (otherCheckbox.checked) {
- otherText.style.visibility = 'visível';
+ otherText.style.visibility = 'visible';
otherText.value = '';
} outro {
- otherText.style.visibility = 'oculto';
+ otherText.style.visibility = 'hidden';
}
};</pre>