-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Editor] Utilize Fluent "better" when localizing the resizer DOM-elements #18649
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll need to create a Fluent migration for this when it lands in mozilla-central
.
Not sure how to deal with this living in a separate repository, especially if it becomes more frequent (and if it's worth adding extra process) 🤔
…ents Currently we manually localize and update the DOM-elements of the editor-resizers, and it seems nicer to utilize Fluent for that task. This can be achieved by updating the l10n-strings to directly target the `aria-label` and then just setting the `data-l10n-id` on the DOM-elements.
18c5ab3
to
ac75a05
Compare
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/a2c2ba5793a48ec/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/f6dac9e873d5573/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/a2c2ba5793a48ec/output.txt Total script time: 8.63 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/f6dac9e873d5573/output.txt Total script time: 18.51 mins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
Currently we manually localize and update the DOM-elements of the editor-resizers, and it seems nicer to utilize Fluent for that task.
This can be achieved by updating the l10n-strings to directly target the
aria-label
and then just setting thedata-l10n-id
on the DOM-elements.