parent
af1a4941ce
commit
da1599ca34
2 changed files with 10 additions and 1 deletions
|
@ -5640,6 +5640,9 @@ var ZoteroPane = new function()
|
|||
}
|
||||
|
||||
var items = this.getSelectedItems();
|
||||
if (!items.length) return;
|
||||
|
||||
var progressWin = new Zotero.ProgressWindow();
|
||||
|
||||
for (var i=0; i<items.length; i++) {
|
||||
var item = items[i];
|
||||
|
@ -5677,9 +5680,13 @@ var ZoteroPane = new function()
|
|||
item.setField('title', newName);
|
||||
await item.saveTx();
|
||||
}
|
||||
|
||||
let str = await document.l10n.formatValue('file-renaming-file-renamed-to', { filename: newName });
|
||||
progressWin.addLines(str, item.getItemTypeIconName());
|
||||
progressWin.show();
|
||||
}
|
||||
|
||||
return true;
|
||||
progressWin.startCloseTimer(4000);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -122,6 +122,8 @@ item-menu-option-view-online =
|
|||
item-button-view-online =
|
||||
.tooltiptext = {view-online}
|
||||
|
||||
file-renaming-file-renamed-to = File renamed to { $filename }
|
||||
|
||||
itembox-button-options =
|
||||
.tooltiptext = Open context menu
|
||||
itembox-button-merge =
|
||||
|
|
Loading…
Reference in a new issue