[Editor] Fix the tooltip of the comment button when in the editor toolbar (bug 1994958)

This commit is contained in:
Calixte Denizet 2025-10-17 15:43:40 +02:00
parent 745e42701f
commit 54ffd860ec
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;