Don't look up library name for each downloaded file
This commit is contained in:
parent
b0826fd91d
commit
a24f16eb85
1 changed files with 3 additions and 4 deletions
|
@ -612,10 +612,9 @@ Zotero.Sync.Runner_Module = function (options = {}) {
|
|||
var resyncLibraries = []
|
||||
for (let libraryID of libraries) {
|
||||
_stopCheck();
|
||||
let libraryName = Zotero.Libraries.get(libraryID).name;
|
||||
this.setSyncStatus(
|
||||
Zotero.getString(
|
||||
'sync.status.syncingFilesInLibrary', Zotero.Libraries.get(libraryID).name
|
||||
)
|
||||
Zotero.getString('sync.status.syncingFilesInLibrary', libraryName)
|
||||
);
|
||||
try {
|
||||
let opts = {
|
||||
|
@ -624,7 +623,7 @@ Zotero.Sync.Runner_Module = function (options = {}) {
|
|||
this.setSyncStatus(
|
||||
Zotero.getString(
|
||||
'sync.status.syncingFilesInLibraryWithRemaining',
|
||||
[Zotero.Libraries.get(libraryID).name, remaining],
|
||||
[libraryName, remaining],
|
||||
remaining
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue