Skip to content

Commit 54ffd86

Browse files
committed
[Editor] Fix the tooltip of the comment button when in the editor toolbar (bug 1994958)
1 parent 745e427 commit 54ffd86

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

l10n/en-US/viewer.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,5 +700,5 @@ pdfjs-editor-edit-comment-dialog-cancel-button = Cancel
700700
701701
## Edit a comment button in the editor toolbar
702702

703-
pdfjs-editor-edit-comment-button =
704-
.title = Edit comment
703+
pdfjs-editor-add-comment-button =
704+
.title = Add comment

src/display/editor/comment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class Comment {
154154
comment.ariaControlsElements = [
155155
this.#editor._uiManager.getCommentDialogElement(),
156156
];
157-
comment.setAttribute("data-l10n-id", "pdfjs-editor-edit-comment-button");
157+
comment.setAttribute("data-l10n-id", "pdfjs-editor-add-comment-button");
158158
}
159159

160160
const signal = this.#editor._uiManager._signal;

0 commit comments

Comments
 (0)