Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Add translateWith #18

Merged
merged 4 commits into from
Dec 20, 2022
Merged

Add translateWith #18

merged 4 commits into from
Dec 20, 2022

Conversation

andrenatal
Copy link
Contributor

No description provided.

Copy link
Contributor

@flodolo flodolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Luckily I looked at the code, because the string wasn't clear.

  title: `${browser.i18n.getMessage("translateWith")} Firefox Translations`,

Never hard-code content and patch together strings.
https://mozilla-l10n.github.io/documentation/localization/dev_best_practices.html#avoid-concatenations-use-placeholders-instead

You need to expose the whole strings.

en_US/messages.json Outdated Show resolved Hide resolved
@flodolo
Copy link
Contributor

flodolo commented Dec 13, 2022

BTW, I've just filed an issue for an hard-coded string (Changelog). It would be good to expose also that in this request.

andrenatal and others added 2 commits December 16, 2022 11:32
Co-authored-by: Francesco Lodolo <flod@lodolo.net>
@andrenatal
Copy link
Contributor Author

@flodolo lmk how it looks now

en_US/messages.json Outdated Show resolved Hide resolved
@flodolo flodolo merged commit 161f167 into mozilla-l10n:main Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants