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:
calixteman 2025-10-17 16:20:30 +02:00 committed by GitHub
commit 928a758811
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;