mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
[Editor] Utilize Fluent "better" when localizing the resizer DOM-elements
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.
This commit is contained in:
parent
b58c24ab09
commit
ac75a05cd4
2 changed files with 33 additions and 27 deletions
|
@ -379,14 +379,22 @@ pdfjs-editor-alt-text-textarea =
|
|||
## Editor resizers
|
||||
## This is used in an aria label to help to understand the role of the resizer.
|
||||
|
||||
pdfjs-editor-resizer-label-top-left = Top left corner — resize
|
||||
pdfjs-editor-resizer-label-top-middle = Top middle — resize
|
||||
pdfjs-editor-resizer-label-top-right = Top right corner — resize
|
||||
pdfjs-editor-resizer-label-middle-right = Middle right — resize
|
||||
pdfjs-editor-resizer-label-bottom-right = Bottom right corner — resize
|
||||
pdfjs-editor-resizer-label-bottom-middle = Bottom middle — resize
|
||||
pdfjs-editor-resizer-label-bottom-left = Bottom left corner — resize
|
||||
pdfjs-editor-resizer-label-middle-left = Middle left — resize
|
||||
pdfjs-editor-resizer-top-left =
|
||||
.aria-label = Top left corner — resize
|
||||
pdfjs-editor-resizer-top-middle =
|
||||
.aria-label = Top middle — resize
|
||||
pdfjs-editor-resizer-top-right =
|
||||
.aria-label = Top right corner — resize
|
||||
pdfjs-editor-resizer-middle-right =
|
||||
.aria-label = Middle right — resize
|
||||
pdfjs-editor-resizer-bottom-right =
|
||||
.aria-label = Bottom right corner — resize
|
||||
pdfjs-editor-resizer-bottom-middle =
|
||||
.aria-label = Bottom middle — resize
|
||||
pdfjs-editor-resizer-bottom-left =
|
||||
.aria-label = Bottom left corner — resize
|
||||
pdfjs-editor-resizer-middle-left =
|
||||
.aria-label = Middle left — resize
|
||||
|
||||
## Color picker
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue