Merge pull request #20372 from calixteman/bug1994958
[Editor] Fix the tooltip of the comment button when in the editor toolbar (bug 1994958)
This commit is contained in:
commit
928a758811
@ -700,5 +700,5 @@ pdfjs-editor-edit-comment-dialog-cancel-button = Cancel
|
||||
|
||||
## Edit a comment button in the editor toolbar
|
||||
|
||||
pdfjs-editor-edit-comment-button =
|
||||
.title = Edit comment
|
||||
pdfjs-editor-add-comment-button =
|
||||
.title = Add comment
|
||||
|
||||
@ -154,7 +154,7 @@ class Comment {
|
||||
comment.ariaControlsElements = [
|
||||
this.#editor._uiManager.getCommentDialogElement(),
|
||||
];
|
||||
comment.setAttribute("data-l10n-id", "pdfjs-editor-edit-comment-button");
|
||||
comment.setAttribute("data-l10n-id", "pdfjs-editor-add-comment-button");
|
||||
}
|
||||
|
||||
const signal = this.#editor._uiManager._signal;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user