parent
01f3159b2f
commit
e38725cf65
2 changed files with 7 additions and 7 deletions
|
@ -3858,12 +3858,11 @@ var ZoteroPane = new function()
|
||||||
|
|
||||||
var icon = 'chrome://zotero/skin/treeitem-attachment-pdf.png';
|
var icon = 'chrome://zotero/skin/treeitem-attachment-pdf.png';
|
||||||
var progressWin = new Zotero.ProgressWindow();
|
var progressWin = new Zotero.ProgressWindow();
|
||||||
// TODO: Localize
|
var title = Zotero.getString('findPDF.headline');
|
||||||
var title = items.length > 1 ? 'Searching for available PDFs…' : 'Searching for available PDF…';
|
|
||||||
progressWin.changeHeadline(title);
|
progressWin.changeHeadline(title);
|
||||||
var itemProgress = new progressWin.ItemProgress(
|
var itemProgress = new progressWin.ItemProgress(
|
||||||
icon,
|
icon,
|
||||||
"Checking " + items.length + " " + Zotero.Utilities.pluralize(items.length, ['item', 'items'])
|
Zotero.getString('findPDF.checkingItems', items.length, items.length)
|
||||||
);
|
);
|
||||||
progressWin.show();
|
progressWin.show();
|
||||||
|
|
||||||
|
@ -3888,11 +3887,8 @@ var ZoteroPane = new function()
|
||||||
itemProgress.setProgress(100);
|
itemProgress.setProgress(100);
|
||||||
itemProgress.setIcon(icon);
|
itemProgress.setIcon(icon);
|
||||||
|
|
||||||
// TODO: Localize
|
|
||||||
if (successful) {
|
if (successful) {
|
||||||
itemProgress.setText(
|
itemProgress.setText(Zotero.getString('findPDF.pdfsAdded', successful, successful));
|
||||||
successful + " " + Zotero.Utilities.pluralize(successful, ['PDF', 'PDFs']) + " added"
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
itemProgress.setText("No PDFs found")
|
itemProgress.setText("No PDFs found")
|
||||||
|
|
|
@ -602,6 +602,10 @@ ingester.importFile.intoNewCollection = Import into new collection
|
||||||
ingester.lookup.performing = Performing Lookup…
|
ingester.lookup.performing = Performing Lookup…
|
||||||
ingester.lookup.error = An error occurred while performing lookup for this item.
|
ingester.lookup.error = An error occurred while performing lookup for this item.
|
||||||
|
|
||||||
|
findPDF.headline = Searching for available PDFs…
|
||||||
|
findPDF.checkingItems = Checking %S item;Checking %S items
|
||||||
|
findPDF.pdfsAdded = %S PDF added;%S PDFs added
|
||||||
|
|
||||||
db.dbCorrupted = The Zotero database '%S' appears to have become corrupted.
|
db.dbCorrupted = The Zotero database '%S' appears to have become corrupted.
|
||||||
db.dbCorrupted.restart = Please restart %S to attempt an automatic restore from the last backup.
|
db.dbCorrupted.restart = Please restart %S to attempt an automatic restore from the last backup.
|
||||||
db.dbCorruptedNoBackup = The Zotero database '%S' appears to have become corrupted, and no automatic backup is available.\n\nA new database has been created. The damaged file was saved to your Zotero data directory.
|
db.dbCorruptedNoBackup = The Zotero database '%S' appears to have become corrupted, and no automatic backup is available.\n\nA new database has been created. The damaged file was saved to your Zotero data directory.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue