[Editor] Fix the tooltip of the comment button when in the editor toolbar (bug 1994958)
This commit is contained in:
parent
745e42701f
commit
54ffd860ec
@ -700,5 +700,5 @@ pdfjs-editor-edit-comment-dialog-cancel-button = Cancel
|
|||||||
|
|
||||||
## Edit a comment button in the editor toolbar
|
## Edit a comment button in the editor toolbar
|
||||||
|
|
||||||
pdfjs-editor-edit-comment-button =
|
pdfjs-editor-add-comment-button =
|
||||||
.title = Edit comment
|
.title = Add comment
|
||||||
|
|||||||
@ -154,7 +154,7 @@ class Comment {
|
|||||||
comment.ariaControlsElements = [
|
comment.ariaControlsElements = [
|
||||||
this.#editor._uiManager.getCommentDialogElement(),
|
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;
|
const signal = this.#editor._uiManager._signal;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user