Bug 1697491 - Update remaining copy for Bookmarks Panel. r=flod,fluent-reviewers

Depends on D109191

Differential Revision: https://phabricator.services.mozilla.com/D109376
This commit is contained in:
Mike Conley
2021-03-30 17:51:57 +00:00
parent 4df63c2136
commit 120b610481
9 changed files with 25 additions and 20 deletions

View File

@@ -236,9 +236,13 @@ var StarUI = {
this._isNewBookmark = aIsNewBookmark;
this._itemGuids = null;
this._element("editBookmarkPanelTitle").textContent = this._isNewBookmark
? gNavigatorBundle.getString("editBookmarkPanel.newBookmarkTitle")
: gNavigatorBundle.getString("editBookmarkPanel.editBookmarkTitle");
let titleL10nID = this._isNewBookmark
? "bookmarks-add-bookmark"
: "bookmarks-edit-bookmark";
document.l10n.setAttributes(
this._element("editBookmarkPanelTitle"),
titleL10nID
);
this._element(
"editBookmarkPanel_showForNewBookmarks"