Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pt-br] Erro no cógigo #19854

Open
Joenck91 opened this issue Apr 29, 2024 · 0 comments
Open

[pt-br] Erro no cógigo #19854

Joenck91 opened this issue Apr 29, 2024 · 0 comments
Labels
l10n-pt-br Issues related to Brazilian Portuguese needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@Joenck91
Copy link

MDN URL

https://developer.mozilla.org/pt-BR/docs/Learn/Getting_started_with_the_web/JavaScript_basics

What specific section or headline is this issue about?

Adding a personalized welcome message

What information was incorrect, unhelpful, or incomplete?

In number 4.. The code JS is this:

if (!localStorage.getItem("name")) {
setUserName();
} else {
const storedName = localStorage.getItem("name");
myHeading.textContent = Mozilla is cool, ${storedName};
}

When translate for "Portuguese", the code is this:

if (!localStorage.getItem("name")) {
setUserName();
} else {
const storedName = localStorage.getItem("name");
myHeading.textContent = Mozilla é legal, ${storedName;
}

last line: myHeading.textContent = Mozilla é legal, ${storedName"???????";

Sorry, I don´t speack english. Is my best way.

What did you expect to see?

Só queria avisar que faltava um caractere.

if (!localStorage.getItem("name")) {
setUserName();
} else {
const storedName = localStorage.getItem("name");
myHeading.textContent = Mozilla is cool, ${storedName};
}

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@Joenck91 Joenck91 added l10n-pt-br Issues related to Brazilian Portuguese needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Apr 29, 2024
@leon-win leon-win changed the title Erro no cógigo [pt-br] Erro no cógigo Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-pt-br Issues related to Brazilian Portuguese needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant