From 8cf0203bb9ad66fb52e2a8ea26fbc9eed7204d3e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 9 Oct 2026 13:28:47 -0400 Subject: [PATCH] Use "Relate Items" as the undo label for Relate Items --- chrome/content/zotero/zoteroPane.js | 2 +- chrome/locale/en-US/zotero/zotero.ftl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index bf86cf5f4c..f0ac79db8b 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -2720,7 +2720,7 @@ var ZoteroPane = new function () { skipDateModifiedUpdate: true }; await Zotero.DB.executeTransaction(async () => { - Zotero.UndoHistory.stageAction('undo-action-add-related'); + Zotero.UndoHistory.stageAction('undo-action-relate-items'); for (let index1 = 0; index1 < selectedItems.length; index1++) { for (let index2 = index1 + 1; index2 < selectedItems.length; index2++) { let item1 = selectedItems[index1]; diff --git a/chrome/locale/en-US/zotero/zotero.ftl b/chrome/locale/en-US/zotero/zotero.ftl index f2b9b55842..174e13caab 100644 --- a/chrome/locale/en-US/zotero/zotero.ftl +++ b/chrome/locale/en-US/zotero/zotero.ftl @@ -1334,6 +1334,7 @@ undo-action-convert-to-standalone = { $count -> } undo-action-add-related = Add Related undo-action-remove-related = Remove Related +undo-action-relate-items = Relate Items undo-action-merge-items = { $count -> [one] Merge Item *[other] Merge { $count } Items