diff --git a/chrome/content/zotero/browser.js b/chrome/content/zotero/browser.js
index d2f9bb478..0cff06bee 100644
--- a/chrome/content/zotero/browser.js
+++ b/chrome/content/zotero/browser.js
@@ -105,6 +105,7 @@ var Zotero_Browser = new function() {
Zotero_Browser._scrapePopupShowing = false;
Zotero.Ingester.ProxyMonitor.init();
Zotero.Ingester.MIMEHandler.init();
+ Zotero.Cite.MIMEHandler.init();
Zotero.Translate.init();
window.addEventListener("load",
diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js
index 54c0a8f93..42a09f8ab 100644
--- a/chrome/content/zotero/preferences/preferences.js
+++ b/chrome/content/zotero/preferences/preferences.js
@@ -146,6 +146,9 @@ function populateQuickCopyList() {
function buildQuickCopyFormatDropDown(menulist, currentFormat) {
+ menulist.selectedItem = null;
+ menulist.removeAllItems();
+
// Prevent Cmd-w from setting "Wikipedia"
menulist.onkeydown = function (event) {
if ((Zotero.isMac && event.metaKey) || event.ctrlKey) {
@@ -769,7 +772,26 @@ function runIntegrityCheck() {
}
-function rebuildTranslators() {
+function updateTranslators() {
+ Zotero.Schema.updateScrapersRemote(true, function (xmlhttp, updated) {
+ var button = document.getElementById('updateButton');
+ if (button) {
+ if (updated===-1) {
+ var label = Zotero.getString('zotero.preferences.update.upToDate');
+ }
+ else if (updated) {
+ var label = Zotero.getString('zotero.preferences.update.updated');
+ }
+ else {
+ var label = Zotero.getString('zotero.preferences.update.error');
+ }
+ button.setAttribute('label', label);
+ }
+ });
+}
+
+
+function resetTranslatorsAndStyles() {
var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
.getService(Components.interfaces.nsIPromptService);
@@ -778,9 +800,31 @@ function rebuildTranslators() {
var index = ps.confirmEx(null,
Zotero.getString('general.warning'),
- Zotero.getString('zotero.preferences.advanced.rebuildTranslators.changesLost'),
+ Zotero.getString('zotero.preferences.advanced.resetTranslatorsAndStyles.changesLost'),
buttonFlags,
- Zotero.getString('zotero.preferences.advanced.rebuildTranslators.rebuildTable'),
+ Zotero.getString('zotero.preferences.advanced.resetTranslatorsAndStyles'),
+ null, null, null, {});
+
+ if (index == 0) {
+ Zotero.Schema.rebuildTranslatorsAndStylesTables(function (xmlhttp, updated) {
+ populateQuickCopyList();
+ });
+ }
+}
+
+
+function resetTranslators() {
+ var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
+ .getService(Components.interfaces.nsIPromptService);
+
+ var buttonFlags = (ps.BUTTON_POS_0) * (ps.BUTTON_TITLE_IS_STRING)
+ + (ps.BUTTON_POS_1) * (ps.BUTTON_TITLE_CANCEL);
+
+ var index = ps.confirmEx(null,
+ Zotero.getString('general.warning'),
+ Zotero.getString('zotero.preferences.advanced.resetTranslators.changesLost'),
+ buttonFlags,
+ Zotero.getString('zotero.preferences.advanced.resetTranslators'),
null, null, null, {});
if (index == 0) {
@@ -789,6 +833,28 @@ function rebuildTranslators() {
}
+function resetStyles() {
+ var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
+ .getService(Components.interfaces.nsIPromptService);
+
+ var buttonFlags = (ps.BUTTON_POS_0) * (ps.BUTTON_TITLE_IS_STRING)
+ + (ps.BUTTON_POS_1) * (ps.BUTTON_TITLE_CANCEL);
+
+ var index = ps.confirmEx(null,
+ Zotero.getString('general.warning'),
+ Zotero.getString('zotero.preferences.advanced.resetStyles.changesLost'),
+ buttonFlags,
+ Zotero.getString('zotero.preferences.advanced.resetStyles'),
+ null, null, null, {});
+
+ if (index == 0) {
+ Zotero.Schema.rebuildStylesTable(function (xmlhttp, updated) {
+ populateQuickCopyList();
+ });
+ }
+}
+
+
function onOpenURLSelected()
{
var openURLMenu = document.getElementById('openURLMenu');
diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul
index 6550d5d9b..042b2d109 100644
--- a/chrome/content/zotero/preferences/preferences.xul
+++ b/chrome/content/zotero/preferences/preferences.xul
@@ -114,7 +114,7 @@ To add a new preference:
-
+
@@ -407,7 +407,7 @@ To add a new preference:
-
+
diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js
index ecae1b403..069f5ffcc 100644
--- a/chrome/content/zotero/xpcom/cite.js
+++ b/chrome/content/zotero/xpcom/cite.js
@@ -92,6 +92,164 @@ Zotero.Cite = new function() {
}
}
+
+
+Zotero.Cite.MIMEHandler = new function () {
+ this.init = init;
+
+ /*
+ * registers URIContentListener to handle MIME types
+ */
+ function init() {
+ Zotero.debug("Registering URIContentListener for text/x-csl");
+ var uriLoader = Components.classes["@mozilla.org/uriloader;1"]
+ .getService(Components.interfaces.nsIURILoader);
+ uriLoader.registerContentListener(Zotero.Cite.MIMEHandler.URIContentListener);
+ }
+}
+
+
+/*
+ * Zotero.Cite.MIMEHandler.URIContentListener: implements
+ * nsIURIContentListener interface to grab MIME types
+ */
+Zotero.Cite.MIMEHandler.URIContentListener = new function() {
+ // list of content types to capture
+ // NOTE: must be from shortest to longest length
+ this.desiredContentTypes = ["text/x-csl"];
+
+ this.QueryInterface = QueryInterface;
+ this.canHandleContent = canHandleContent;
+ this.doContent = doContent;
+ this.isPreferred = isPreferred;
+ this.onStartURIOpen = onStartURIOpen;
+
+ function QueryInterface(iid) {
+ if (iid.equals(Components.interfaces.nsISupports)
+ || iid.equals(Components.interfaces.nsISupportsWeakReference)
+ || iid.equals(Components.interfaces.nsIURIContentListener)) {
+ return this;
+ }
+ throw Components.results.NS_ERROR_NO_INTERFACE;
+ }
+
+ function canHandleContent(contentType, isContentPreferred, desiredContentType) {
+ if (this.desiredContentTypes.indexOf(contentType) != -1) {
+ return true;
+ }
+ return false;
+ }
+
+ function doContent(contentType, isContentPreferred, request, contentHandler) {
+ Zotero.debug("Running doContent() for " + request.name);
+ contentHandler.value = new Zotero.Cite.MIMEHandler.StreamListener(request, contentType);
+ return false;
+ }
+
+ function isPreferred(contentType, desiredContentType) {
+ if (this.desiredContentTypes.indexOf(contentType) != -1) {
+ return true;
+ }
+ return false;
+ }
+
+ function onStartURIOpen(URI) {
+ return true;
+ }
+}
+
+/*
+ * Zotero.Cite.MIMEHandler.StreamListener: implements nsIStreamListener and
+ * nsIRequestObserver interfaces to download MIME types we've grabbed
+ */
+Zotero.Cite.MIMEHandler.StreamListener = function(request, contentType) {
+ this._request = request;
+ this._contentType = contentType
+ this._readString = "";
+ this._scriptableStream = null;
+ this._scriptableStreamInput = null
+
+ Zotero.debug("Prepared to grab content type " + contentType);
+}
+
+Zotero.Cite.MIMEHandler.StreamListener.prototype.QueryInterface = function(iid) {
+ if (iid.equals(Components.interfaces.nsISupports)
+ || iid.equals(Components.interfaces.nsIRequestObserver)
+ || iid.equals(Components.interfaces.nsIStreamListener)) {
+ return this;
+ }
+ throw Components.results.NS_ERROR_NO_INTERFACE;
+}
+
+Zotero.Cite.MIMEHandler.StreamListener.prototype.onStartRequest = function(channel, context) {}
+
+/*
+ * Called when there's data available; basically, we just want to collect this data
+ */
+Zotero.Cite.MIMEHandler.StreamListener.prototype.onDataAvailable = function(request, context, inputStream, offset, count) {
+ Zotero.debug(count + " bytes available");
+
+ if (inputStream != this._scriptableStreamInput) {
+ this._scriptableStream = Components.classes["@mozilla.org/scriptableinputstream;1"]
+ .createInstance(Components.interfaces.nsIScriptableInputStream);
+ this._scriptableStream.init(inputStream);
+ this._scriptableStreamInput = inputStream;
+ }
+ this._readString += this._scriptableStream.read(count);
+}
+
+/*
+ * Called when the request is done
+ */
+Zotero.Cite.MIMEHandler.StreamListener.prototype.onStopRequest = function(channel, context, status) {
+ Zotero.debug("Request finished");
+ var externalHelperAppService = Components.classes["@mozilla.org/uriloader/external-helper-app-service;1"]
+ .getService(Components.interfaces.nsIExternalHelperAppService);
+
+ if (this._request.name) {
+ var loadURI = this._request.name;
+ }
+ else {
+ var loadURI = '';
+ }
+
+ try {
+ var xml = new XML(Zotero.CSL.Global.cleanXML(this._readString));
+ }
+ catch (e) {
+ var error = true;
+ Components.utils.reportError(e);
+ }
+
+ if (!xml || error) {
+ alert(Zotero.getString('styles.installError', loadURI));
+ return;
+ }
+
+ var uri = xml.info.id.toString();
+ var title = xml.info.title.toString();
+ var updated = xml.info.updated.toString().replace(/(.+)T([^\+]+)\+?.*/, "$1 $2");
+
+ var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
+ .getService(Components.interfaces.nsIPromptService);
+
+ var buttonFlags = (ps.BUTTON_POS_0) * (ps.BUTTON_TITLE_IS_STRING)
+ + (ps.BUTTON_POS_1) * (ps.BUTTON_TITLE_CANCEL);
+ var index = ps.confirmEx(null,
+ '',
+ Zotero.getString('styles.installStyle', [title, loadURI]),
+ buttonFlags,
+ Zotero.getString('general.install'), null, null, null, {});
+
+ if (index == 0) {
+ var sql = "REPLACE INTO csl VALUES (?,?,?,?)";
+ Zotero.DB.query(sql, [uri, updated, title, this._readString]);
+ alert(Zotero.getString('styles.installed', title));
+ }
+}
+
+
+
/*
* CSL: a class for creating bibliographies from CSL files
* this is abstracted as a separate class for the benefit of anyone who doesn't
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js
index 9f59335f5..6b5740b0b 100644
--- a/chrome/content/zotero/xpcom/schema.js
+++ b/chrome/content/zotero/xpcom/schema.js
@@ -26,6 +26,7 @@ Zotero.Schema = new function(){
this.updateSchema = updateSchema;
this.updateScrapersRemote = updateScrapersRemote;
this.stopRepositoryTimer = stopRepositoryTimer;
+ this.rebuildTranslatorsAndStylesTables = rebuildTranslatorsAndStylesTables;
this.rebuildTranslatorsTable = rebuildTranslatorsTable;
this.dbInitialized = false;
@@ -201,7 +202,7 @@ Zotero.Schema = new function(){
* _force_ forces a repository query regardless of how long it's been
* since the last check
**/
- function updateScrapersRemote(force){
+ function updateScrapersRemote(force, callback) {
if (!force){
if (_remoteUpdateInProgress) {
Zotero.debug("A remote update is already in progress -- not checking repository");
@@ -243,21 +244,26 @@ Zotero.Schema = new function(){
+ (lastUpdated ? 'last=' + lastUpdated + '&' : '')
+ 'version=' + Zotero.version;
- Zotero.debug('Checking repository for updates (' + url + ')');
+ Zotero.debug('Checking repository for updates');
_remoteUpdateInProgress = true;
- if (force === true) {
- url += '&m=1';
- var get = Zotero.Utilities.HTTP.doGet(url, _updateScrapersRemoteCallbackManual);
- }
- else {
+ if (force) {
if (force == 2) {
url += '&m=2';
}
- var get = Zotero.Utilities.HTTP.doGet(url, _updateScrapersRemoteCallback);
+ else {
+ url += '&m=1';
+ }
}
+ var get = Zotero.Utilities.HTTP.doGet(url, function (xmlhttp) {
+ var updated = _updateScrapersRemoteCallback(xmlhttp, !!force);
+ if (callback) {
+ callback(xmlhttp, updated)
+ }
+ });
+
// TODO: instead, add an observer to start and stop timer on online state change
if (!get){
Zotero.debug('Browser is offline -- skipping check');
@@ -274,7 +280,37 @@ Zotero.Schema = new function(){
}
- function rebuildTranslatorsTable() {
+ function rebuildTranslatorsAndStylesTables(callback) {
+ Zotero.debug("Rebuilding translators and styles tables");
+ Zotero.DB.beginTransaction();
+
+ Zotero.DB.query("DELETE FROM translators");
+ Zotero.DB.query("DELETE FROM csl");
+ var sql = "DELETE FROM version WHERE schema IN "
+ + "('scrapers', 'repository', 'lastcheck')";
+ Zotero.DB.query(sql);
+ _dbVersions['scrapers'] = null;
+ _dbVersions['repository'] = null;
+ _dbVersions['lastcheck'] = null;
+
+ // Rebuild from scrapers.sql
+ _updateSchema('scrapers');
+
+ // Rebuild the translator cache
+ Zotero.debug("Clearing translator cache");
+ Zotero.Translate.cache = null;
+ Zotero.Translate.init();
+
+ Zotero.DB.commitTransaction();
+
+ // Run a manual update from repository if pref set
+ if (Zotero.Prefs.get('automaticScraperUpdates')) {
+ this.updateScrapersRemote(2, callback);
+ }
+ }
+
+
+ function rebuildTranslatorsTable(callback) {
Zotero.debug("Rebuilding translators table");
Zotero.DB.beginTransaction();
@@ -298,11 +334,10 @@ Zotero.Schema = new function(){
// Run a manual update from repository if pref set
if (Zotero.Prefs.get('automaticScraperUpdates')) {
- this.updateScrapersRemote(2);
+ this.updateScrapersRemote(2, callback);
}
}
-
/////////////////////////////////////////////////////////////////
//
@@ -637,32 +672,6 @@ Zotero.Schema = new function(){
}
- function _updateScrapersRemoteCallbackManual(xmlhttp){
- var updated = _updateScrapersRemoteCallback(xmlhttp, true);
-
- // Update the "Update Now" button in the pref dialog with the result
- var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
- .getService(Components.interfaces.nsIWindowMediator);
- var enumerator = wm.getEnumerator('zotero:pref');
- while (enumerator.hasMoreElements()){
- var win = enumerator.getNext();
- var button = win.window.document.getElementById('updateButton');
- if (button){
- if (updated===-1){
- var label = Zotero.getString('zotero.preferences.update.upToDate');
- }
- else if (updated){
- var label = Zotero.getString('zotero.preferences.update.updated');
- }
- else {
- var label = Zotero.getString('zotero.preferences.update.error');
- }
- button.setAttribute('label', label);
- }
- }
- }
-
-
/**
* Set the interval between repository queries
*
@@ -743,6 +752,32 @@ Zotero.Schema = new function(){
// https://bugzilla.mozilla.org/show_bug.cgi?id=194231
xmlnode.normalize();
+ var uri = xmlnode.getAttribute('id');
+
+ //
+ // Workaround for URI change -- delete existing versions with old URIs of updated styles
+ //
+ var re = new RegExp("http://www.zotero.org/styles/(.+)");
+ var matches = uri.match(re);
+
+ if (matches) {
+ var zoteroReplacements = ['chicago-author-date', 'chicago-note-bibliography'];
+ var purlReplacements = [
+ 'apa', 'asa', 'chicago-note', 'ieee', 'mhra_note_without_bibliography',
+ 'mla', 'nature', 'nlm'
+ ];
+
+ if (zoteroReplacements.indexOf(matches[1]) != -1) {
+ var sql = "DELETE FROM csl WHERE cslID=?";
+ Zotero.DB.query(sql, 'http://www.zotero.org/namespaces/CSL/' + matches[1] + '.csl');
+ }
+ else if (purlReplacements.indexOf(matches[1]) != -1) {
+ var sql = "DELETE FROM csl WHERE cslID=?";
+ Zotero.DB.query(sql, 'http://purl.org/net/xbiblio/csl/styles/' + matches[1] + '.csl');
+ }
+ }
+
+
var sqlValues = [
{string: xmlnode.getAttribute('id')},
{string: xmlnode.getAttribute('updated')},
diff --git a/chrome/locale/af-ZA/zotero/preferences.dtd b/chrome/locale/af-ZA/zotero/preferences.dtd
index f22556938..f0467ee3b 100644
--- a/chrome/locale/af-ZA/zotero/preferences.dtd
+++ b/chrome/locale/af-ZA/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/af-ZA/zotero/zotero.properties b/chrome/locale/af-ZA/zotero/zotero.properties
index cbdd09b9c..2c5247ca7 100644
--- a/chrome/locale/af-ZA/zotero/zotero.properties
+++ b/chrome/locale/af-ZA/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/ar/zotero/preferences.dtd b/chrome/locale/ar/zotero/preferences.dtd
index 14495436a..70addaac9 100644
--- a/chrome/locale/ar/zotero/preferences.dtd
+++ b/chrome/locale/ar/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/ar/zotero/zotero.properties b/chrome/locale/ar/zotero/zotero.properties
index 18e098ca5..7af9f408d 100644
--- a/chrome/locale/ar/zotero/zotero.properties
+++ b/chrome/locale/ar/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=اسلوب توثيق المراج
zotero.preferences.export.quickCopy.exportFormats=صيغ التصدير
zotero.preferences.export.quickCopy.instructions=َتسمح لك خاصية النسخ السريع بنسخ المرجع الذي اخترته إلى الحافظة بالضغط على زر (%S) أو سحب الموضوع إلى أي مربع نص في صفحة الويب.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=الملفات التالية موجودة مسبقاً في الوجهة التي تريدها ، لذا لم يتم نسخها:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/bg-BG/zotero/preferences.dtd b/chrome/locale/bg-BG/zotero/preferences.dtd
index 7b39bb1fc..e66b6e1b0 100644
--- a/chrome/locale/bg-BG/zotero/preferences.dtd
+++ b/chrome/locale/bg-BG/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/bg-BG/zotero/zotero.properties b/chrome/locale/bg-BG/zotero/zotero.properties
index cfdd77678..0014adfd3 100644
--- a/chrome/locale/bg-BG/zotero/zotero.properties
+++ b/chrome/locale/bg-BG/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Стил на библиограф
zotero.preferences.export.quickCopy.exportFormats=Формати за експорт
zotero.preferences.export.quickCopy.instructions=Бързо копиране ви позволява да копирате избраните отпратки в клипборда с клавишната комбинация (%S) или да ги издърпате в текстова кутия от интернет страница.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Възстановяване на таблицата
-zotero.preferences.advanced.rebuildTranslators.changesLost=Промените които сте направили в таблицата с преводачите ще бъдат загубени.
dragAndDrop.existingFiles=Папката вече съдържа следните файлове и те не бяха копирани.
dragAndDrop.filesNotFound=Следните файлове не бяха намерени и не могат да бъдат копирани:
diff --git a/chrome/locale/ca-AD/zotero/preferences.dtd b/chrome/locale/ca-AD/zotero/preferences.dtd
index 7a2b6c82f..909e3e9fc 100644
--- a/chrome/locale/ca-AD/zotero/preferences.dtd
+++ b/chrome/locale/ca-AD/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/ca-AD/zotero/zotero.properties b/chrome/locale/ca-AD/zotero/zotero.properties
index 68960c724..75621fad8 100644
--- a/chrome/locale/ca-AD/zotero/zotero.properties
+++ b/chrome/locale/ca-AD/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Estils bibliogràfics
zotero.preferences.export.quickCopy.exportFormats=Formats d'exportació
zotero.preferences.export.quickCopy.instructions=Copia ràpida permet copiar les referències seleccionades al portaretalls prement una drecera de teclat o arrossegant els elements a un quadre de text en una pàgina web.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Reconstrueix la taula
-zotero.preferences.advanced.rebuildTranslators.changesLost=Qualsevol canvi que hagis fet als transcriptors es perdrà.
dragAndDrop.existingFiles=Els següents arxiu ja existeixen al directori de destí i no poden ser copiats:
dragAndDrop.filesNotFound=Els següents arxius no s'han trobat i no s'han pogut copiar:
diff --git a/chrome/locale/cs-CZ/zotero/preferences.dtd b/chrome/locale/cs-CZ/zotero/preferences.dtd
index b31503f55..74e4b4d4e 100644
--- a/chrome/locale/cs-CZ/zotero/preferences.dtd
+++ b/chrome/locale/cs-CZ/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/cs-CZ/zotero/zotero.properties b/chrome/locale/cs-CZ/zotero/zotero.properties
index cbdd09b9c..2c5247ca7 100644
--- a/chrome/locale/cs-CZ/zotero/zotero.properties
+++ b/chrome/locale/cs-CZ/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/da-DK/zotero/preferences.dtd b/chrome/locale/da-DK/zotero/preferences.dtd
index b31503f55..74e4b4d4e 100644
--- a/chrome/locale/da-DK/zotero/preferences.dtd
+++ b/chrome/locale/da-DK/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/da-DK/zotero/zotero.properties b/chrome/locale/da-DK/zotero/zotero.properties
index 014e38201..59de3a605 100644
--- a/chrome/locale/da-DK/zotero/zotero.properties
+++ b/chrome/locale/da-DK/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/de-AT/zotero/preferences.dtd b/chrome/locale/de-AT/zotero/preferences.dtd
index afd23ceca..88f5a9f36 100644
--- a/chrome/locale/de-AT/zotero/preferences.dtd
+++ b/chrome/locale/de-AT/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/de-AT/zotero/zotero.properties b/chrome/locale/de-AT/zotero/zotero.properties
index a5a3e74c9..fafc79734 100644
--- a/chrome/locale/de-AT/zotero/zotero.properties
+++ b/chrome/locale/de-AT/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/de-CH/zotero/preferences.dtd b/chrome/locale/de-CH/zotero/preferences.dtd
index afd23ceca..88f5a9f36 100644
--- a/chrome/locale/de-CH/zotero/preferences.dtd
+++ b/chrome/locale/de-CH/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/de-CH/zotero/zotero.properties b/chrome/locale/de-CH/zotero/zotero.properties
index 0dc14e8dd..ebba8bb3b 100644
--- a/chrome/locale/de-CH/zotero/zotero.properties
+++ b/chrome/locale/de-CH/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/de/zotero/preferences.dtd b/chrome/locale/de/zotero/preferences.dtd
index 53219bae1..7adc4e74d 100644
--- a/chrome/locale/de/zotero/preferences.dtd
+++ b/chrome/locale/de/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/de/zotero/zotero.properties b/chrome/locale/de/zotero/zotero.properties
index 1c1cef470..f4c4c3499 100644
--- a/chrome/locale/de/zotero/zotero.properties
+++ b/chrome/locale/de/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Zitierstile
zotero.preferences.export.quickCopy.exportFormats=Export-Formate
zotero.preferences.export.quickCopy.instructions=Quick Copy erlaubt Ihnen, ausgewählte Literaturangaben durch Drücken einer Tastenkombination (%S) in die Zwischenablage zu kopieren oder Einträge in ein Textfeld auf einer Webseite zu ziehen.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Tabelle neu aufbauen
-zotero.preferences.advanced.rebuildTranslators.changesLost=Alle Änderungen, die Sie an den Übersetzern vorgenommen haben, werden verloren gehen.
dragAndDrop.existingFiles=Die folgenden Datein waren im Zielordner bereits vorhanden und wurden nicht kopiert:
dragAndDrop.filesNotFound=Die folgenden Datei wurden nicht gefunden und konnten nicht kopiert werden.
diff --git a/chrome/locale/el-GR/zotero/preferences.dtd b/chrome/locale/el-GR/zotero/preferences.dtd
index b31503f55..74e4b4d4e 100644
--- a/chrome/locale/el-GR/zotero/preferences.dtd
+++ b/chrome/locale/el-GR/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/el-GR/zotero/zotero.properties b/chrome/locale/el-GR/zotero/zotero.properties
index cbdd09b9c..2c5247ca7 100644
--- a/chrome/locale/el-GR/zotero/zotero.properties
+++ b/chrome/locale/el-GR/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/en-US/zotero/preferences.dtd b/chrome/locale/en-US/zotero/preferences.dtd
index a1cce39af..6228f5d11 100644
--- a/chrome/locale/en-US/zotero/preferences.dtd
+++ b/chrome/locale/en-US/zotero/preferences.dtd
@@ -80,4 +80,6 @@
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties
index a1295cfb0..0417ba93d 100644
--- a/chrome/locale/en-US/zotero/zotero.properties
+++ b/chrome/locale/en-US/zotero/zotero.properties
@@ -381,8 +381,12 @@ zotero.preferences.export.quickCopy.bibStyles = Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats = Export Formats
zotero.preferences.export.quickCopy.instructions = Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable = Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost = Any changes you have made to the translators table will be lost.
+zotero.preferences.advanced.resetTranslatorsAndStyles = Reset Translators and Styles
+zotero.preferences.advanced.resetTranslatorsAndStyles.changesLost = Any new or modified translators or styles will be lost.
+zotero.preferences.advanced.resetTranslators = Reset Translators
+zotero.preferences.advanced.resetTranslators.changesLost = Any new or modified translators will be lost.
+zotero.preferences.advanced.resetStyles = Reset Styles
+zotero.preferences.advanced.resetStyles.changesLost = Any new or modified styles will be lost.
dragAndDrop.existingFiles = The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound = The following files were not found and could not be copied:
@@ -482,4 +486,8 @@ integration.regenerate.body = The changes you have made in the citation editor
integration.regenerate.saveBehavior = Always follow this selection.
integration.deleteCitedItem.title = Are you sure you want to remove this reference?
-integration.deleteCitedItem.body = This reference is cited in the text of your document. Deleting it will remove all citations.
\ No newline at end of file
+integration.deleteCitedItem.body = This reference is cited in the text of your document. Deleting it will remove all citations.
+
+styles.installStyle = Install style "%1$S" from %2$S?
+styles.installed = The style "%S" was installed successfully.
+styles.installError = %S does not appear to be a valid CSL file.
\ No newline at end of file
diff --git a/chrome/locale/es-ES/zotero/preferences.dtd b/chrome/locale/es-ES/zotero/preferences.dtd
index 374807d7a..a1183e953 100644
--- a/chrome/locale/es-ES/zotero/preferences.dtd
+++ b/chrome/locale/es-ES/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/es-ES/zotero/zotero.properties b/chrome/locale/es-ES/zotero/zotero.properties
index 1d9e60fa4..ac901f588 100644
--- a/chrome/locale/es-ES/zotero/zotero.properties
+++ b/chrome/locale/es-ES/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/et-EE/zotero/preferences.dtd b/chrome/locale/et-EE/zotero/preferences.dtd
index b31503f55..74e4b4d4e 100644
--- a/chrome/locale/et-EE/zotero/preferences.dtd
+++ b/chrome/locale/et-EE/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/et-EE/zotero/zotero.properties b/chrome/locale/et-EE/zotero/zotero.properties
index cbdd09b9c..2c5247ca7 100644
--- a/chrome/locale/et-EE/zotero/zotero.properties
+++ b/chrome/locale/et-EE/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/fr-FR/zotero/preferences.dtd b/chrome/locale/fr-FR/zotero/preferences.dtd
index b58eda1b4..dcfdfaa06 100644
--- a/chrome/locale/fr-FR/zotero/preferences.dtd
+++ b/chrome/locale/fr-FR/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/fr-FR/zotero/zotero.properties b/chrome/locale/fr-FR/zotero/zotero.properties
index f360b9b03..6bf47a1b5 100644
--- a/chrome/locale/fr-FR/zotero/zotero.properties
+++ b/chrome/locale/fr-FR/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Styles bibliographiques
zotero.preferences.export.quickCopy.exportFormats=Formats d'exportation
zotero.preferences.export.quickCopy.instructions=La copie rapide vous permet de copier les références sélectionnées dans le presse-papiers par un raccourci clavier (%S) ou en glissant les objets dans une zone de texte d'une page Web.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Reconstruire la table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Toutes les modifications faites sur le tableau des collecteurs seront perdues.
dragAndDrop.existingFiles=Les fichiers suivants existent déjà dans le répertoire de destination et n'ont pas été copiés :
dragAndDrop.filesNotFound=Les fichiers suivants n'ont pu être trouvés et donc copiés :
diff --git a/chrome/locale/he-IL/zotero/preferences.dtd b/chrome/locale/he-IL/zotero/preferences.dtd
index 71755abd3..9aa78ba05 100644
--- a/chrome/locale/he-IL/zotero/preferences.dtd
+++ b/chrome/locale/he-IL/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/he-IL/zotero/zotero.properties b/chrome/locale/he-IL/zotero/zotero.properties
index d9d2e1a8b..6c26d9c7c 100644
--- a/chrome/locale/he-IL/zotero/zotero.properties
+++ b/chrome/locale/he-IL/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/hu-HU/zotero/preferences.dtd b/chrome/locale/hu-HU/zotero/preferences.dtd
index e29c8af58..fa780b608 100644
--- a/chrome/locale/hu-HU/zotero/preferences.dtd
+++ b/chrome/locale/hu-HU/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/hu-HU/zotero/zotero.properties b/chrome/locale/hu-HU/zotero/zotero.properties
index 131dd318f..8165870eb 100644
--- a/chrome/locale/hu-HU/zotero/zotero.properties
+++ b/chrome/locale/hu-HU/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliográfiai stíélusok
zotero.preferences.export.quickCopy.exportFormats=Exportálási formátumok
zotero.preferences.export.quickCopy.instructions=A Gyorsmásolás segítségével a kiválasztott hivatkozásokat a vágólapra lehet másolni a %S gyorsbillentyű lenyomásával. A hivatkozást egy tetszőleges weboldal szövegmezőjébe is be lehet másolni, ha a kijelölt hivatkozást a szövegmezőbe húzzuk.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=A tábla újraépítése
-zotero.preferences.advanced.rebuildTranslators.changesLost=A konverter tábla módosításai elvesznek
dragAndDrop.existingFiles=Az alábbi fájlok már léteznek a célmappában, ezért nem kerültek bemásolásra.
dragAndDrop.filesNotFound=Az alábbi fájlok nem találhatóak, ezért nem lehet őket másolni:
diff --git a/chrome/locale/is-IS/zotero/preferences.dtd b/chrome/locale/is-IS/zotero/preferences.dtd
index 7013afffa..b11f6d1fb 100644
--- a/chrome/locale/is-IS/zotero/preferences.dtd
+++ b/chrome/locale/is-IS/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/is-IS/zotero/zotero.properties b/chrome/locale/is-IS/zotero/zotero.properties
index a0ba4b3ac..db9354849 100644
--- a/chrome/locale/is-IS/zotero/zotero.properties
+++ b/chrome/locale/is-IS/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/it-IT/zotero/preferences.dtd b/chrome/locale/it-IT/zotero/preferences.dtd
index 8a38d837d..a7aa2a0e5 100644
--- a/chrome/locale/it-IT/zotero/preferences.dtd
+++ b/chrome/locale/it-IT/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/it-IT/zotero/zotero.properties b/chrome/locale/it-IT/zotero/zotero.properties
index b41d06cfd..d1066377b 100644
--- a/chrome/locale/it-IT/zotero/zotero.properties
+++ b/chrome/locale/it-IT/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Stili bibliografici
zotero.preferences.export.quickCopy.exportFormats=Formati di esportazione
zotero.preferences.export.quickCopy.instructions=Copia veloce permette di copiare le citazioni bibliografiche selezionate negli Appunti utilizzando la scorciatoia da tastiera (%S) o trascinando l'elemento in un campo di testo di una pagina web.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Ricrea tabella
-zotero.preferences.advanced.rebuildTranslators.changesLost=Tutte le modifiche apportate alla tabella dei motori di ricerca andranno perse.
dragAndDrop.existingFiles=I seguenti file sono già presenti nella cartella di destinazione e non verranno copiati:
dragAndDrop.filesNotFound=I seguenti file non sono stati trovati e non saranno copiati:
diff --git a/chrome/locale/ja-JP/zotero/preferences.dtd b/chrome/locale/ja-JP/zotero/preferences.dtd
index 6fad4c5d6..53e91cff0 100644
--- a/chrome/locale/ja-JP/zotero/preferences.dtd
+++ b/chrome/locale/ja-JP/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/ja-JP/zotero/zotero.properties b/chrome/locale/ja-JP/zotero/zotero.properties
index b0e7be0fb..92f76a01a 100644
--- a/chrome/locale/ja-JP/zotero/zotero.properties
+++ b/chrome/locale/ja-JP/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=参考文献のスタイル
zotero.preferences.export.quickCopy.exportFormats=エクスポートフォーマット
zotero.preferences.export.quickCopy.instructions=クイックコピー機能で、ショートカットキーを押してクリップボードに選択された参照文献のコピー、またはウェブページのテキストボックスにアイテムをドラッグすることができます。
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=表を再構築
-zotero.preferences.advanced.rebuildTranslators.changesLost=翻訳者の表の変更事項は失われます。
dragAndDrop.existingFiles=次のファイルは宛先フォルダにすでに存在しており、コピーされませんでした:
dragAndDrop.filesNotFound=次のファイルは見つからず、コピーできませんでした。
diff --git a/chrome/locale/ko-KR/zotero/preferences.dtd b/chrome/locale/ko-KR/zotero/preferences.dtd
index 960c70ce6..1bbff8227 100644
--- a/chrome/locale/ko-KR/zotero/preferences.dtd
+++ b/chrome/locale/ko-KR/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/ko-KR/zotero/zotero.properties b/chrome/locale/ko-KR/zotero/zotero.properties
index 357555207..c60ae517e 100644
--- a/chrome/locale/ko-KR/zotero/zotero.properties
+++ b/chrome/locale/ko-KR/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=도서목록 형식
zotero.preferences.export.quickCopy.exportFormats=내보내기 형식
zotero.preferences.export.quickCopy.instructions=빠른 복사는 단축 키 (%S)를 누르거나 웹 페이지내 텍스트 박스 안으로 항목을 끌어 오면 클립보드에 선택한 참고를 복사하는 것을 허용시킵니다.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=테이블 재구축
-zotero.preferences.advanced.rebuildTranslators.changesLost=어떤 변경 사항이든 중계기 테이블을 손실시킵니다.
dragAndDrop.existingFiles=다음 파일은 목적 디렉토리내 이미 존재하며 복사하지는 않았습니다:
dragAndDrop.filesNotFound=다음 파일을 찾을수 없어 복사를 할 수 없습니다.
diff --git a/chrome/locale/mn-MN/zotero/preferences.dtd b/chrome/locale/mn-MN/zotero/preferences.dtd
index b31503f55..74e4b4d4e 100644
--- a/chrome/locale/mn-MN/zotero/preferences.dtd
+++ b/chrome/locale/mn-MN/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/mn-MN/zotero/zotero.properties b/chrome/locale/mn-MN/zotero/zotero.properties
index cbdd09b9c..2c5247ca7 100644
--- a/chrome/locale/mn-MN/zotero/zotero.properties
+++ b/chrome/locale/mn-MN/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/nb-NO/zotero/preferences.dtd b/chrome/locale/nb-NO/zotero/preferences.dtd
index 5b5cac139..8143c7469 100644
--- a/chrome/locale/nb-NO/zotero/preferences.dtd
+++ b/chrome/locale/nb-NO/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/nb-NO/zotero/zotero.properties b/chrome/locale/nb-NO/zotero/zotero.properties
index 73aedcf16..3612999b7 100644
--- a/chrome/locale/nb-NO/zotero/zotero.properties
+++ b/chrome/locale/nb-NO/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/nl-NL/zotero/preferences.dtd b/chrome/locale/nl-NL/zotero/preferences.dtd
index 6c6687a48..24ad05b72 100644
--- a/chrome/locale/nl-NL/zotero/preferences.dtd
+++ b/chrome/locale/nl-NL/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/nl-NL/zotero/zotero.properties b/chrome/locale/nl-NL/zotero/zotero.properties
index c9b52a806..b0a9a20b8 100644
--- a/chrome/locale/nl-NL/zotero/zotero.properties
+++ b/chrome/locale/nl-NL/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliografie-stijlen
zotero.preferences.export.quickCopy.exportFormats=Exportformaten
zotero.preferences.export.quickCopy.instructions=Met Snelle Kopie kunt u geselecteerde verwijzingen naar het klembord kopiëren met behulp van een sneltoets (%S) of door de items naar een tekstvak te slepen.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Tabel Herbouwen
-zotero.preferences.advanced.rebuildTranslators.changesLost=Wijzingingen die u heeft gemaakt aan de vertalers-tabel zullen verloren gaan.
dragAndDrop.existingFiles=De volgende bestanden waren al aanwezig in de bestemmingsmap en zijn niet gekopieerd:
dragAndDrop.filesNotFound=De volgende bestanden konden niet gevonden en gekopieerd worden:
diff --git a/chrome/locale/pl-PL/zotero/preferences.dtd b/chrome/locale/pl-PL/zotero/preferences.dtd
index e7d00d7ec..f71ae4b81 100644
--- a/chrome/locale/pl-PL/zotero/preferences.dtd
+++ b/chrome/locale/pl-PL/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/pl-PL/zotero/zotero.properties b/chrome/locale/pl-PL/zotero/zotero.properties
index 81416d88b..85b260572 100644
--- a/chrome/locale/pl-PL/zotero/zotero.properties
+++ b/chrome/locale/pl-PL/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Style bibliograficzne
zotero.preferences.export.quickCopy.exportFormats=Eksportuj formaty
zotero.preferences.export.quickCopy.instructions=Szybka kopia pozwala na skopiowanie wybranych pozycji bibliograficznych do schowka poprzez użycie skrótu klawiaturowego (%S) lub poprzez przeciągnięcie elementu w obszar pola tekstowego na stronie internetowej.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=Następujące pliki istnieją już w katalogu docelowym i nie zostały skopiowane:
dragAndDrop.filesNotFound=Następujących plików nie znaleziono i nie mogą zostać skopiowane:
diff --git a/chrome/locale/pt-BR/zotero/preferences.dtd b/chrome/locale/pt-BR/zotero/preferences.dtd
index 507d21b98..501525f40 100644
--- a/chrome/locale/pt-BR/zotero/preferences.dtd
+++ b/chrome/locale/pt-BR/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/pt-BR/zotero/zotero.properties b/chrome/locale/pt-BR/zotero/zotero.properties
index df83b49b2..81771ca7c 100644
--- a/chrome/locale/pt-BR/zotero/zotero.properties
+++ b/chrome/locale/pt-BR/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/pt-PT/zotero/preferences.dtd b/chrome/locale/pt-PT/zotero/preferences.dtd
index b31503f55..74e4b4d4e 100644
--- a/chrome/locale/pt-PT/zotero/preferences.dtd
+++ b/chrome/locale/pt-PT/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/pt-PT/zotero/zotero.properties b/chrome/locale/pt-PT/zotero/zotero.properties
index cbdd09b9c..2c5247ca7 100644
--- a/chrome/locale/pt-PT/zotero/zotero.properties
+++ b/chrome/locale/pt-PT/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/ro-RO/zotero/preferences.dtd b/chrome/locale/ro-RO/zotero/preferences.dtd
index cb1d1a9b0..70a404f8d 100644
--- a/chrome/locale/ro-RO/zotero/preferences.dtd
+++ b/chrome/locale/ro-RO/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/ro-RO/zotero/zotero.properties b/chrome/locale/ro-RO/zotero/zotero.properties
index 08eb1c57c..eafed5803 100644
--- a/chrome/locale/ro-RO/zotero/zotero.properties
+++ b/chrome/locale/ro-RO/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Stiluri bibliografice
zotero.preferences.export.quickCopy.exportFormats=Exportă formate
zotero.preferences.export.quickCopy.instructions=Copierea rapidă îţi permite să selectezi referinţele în memoria clipboard apăsând scurtătura de la tastatură (%S) sau trăgând înregistrările pe o pagină web, într-o casetă de text.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Reconstruieşte tabelul
-zotero.preferences.advanced.rebuildTranslators.changesLost=Orice schimbare pe care ai făcut-o în tabelul traducătorilor se va pierde.
dragAndDrop.existingFiles=Fişierele următoare există deja în dosarul de destinaţie şi nu au fost copiate:
dragAndDrop.filesNotFound=Următoarele fişiere nu au fost găsite şi nu pot fi copiate:
diff --git a/chrome/locale/ru-RU/zotero/preferences.dtd b/chrome/locale/ru-RU/zotero/preferences.dtd
index 2134133cc..630fdec76 100644
--- a/chrome/locale/ru-RU/zotero/preferences.dtd
+++ b/chrome/locale/ru-RU/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/ru-RU/zotero/zotero.properties b/chrome/locale/ru-RU/zotero/zotero.properties
index 8fcb2ec25..871aabc6e 100644
--- a/chrome/locale/ru-RU/zotero/zotero.properties
+++ b/chrome/locale/ru-RU/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Библиографические
zotero.preferences.export.quickCopy.exportFormats=Форматы экспорта
zotero.preferences.export.quickCopy.instructions=Быстрое копирование позволяет Вам копировать выбранные ссылки в буфер обмена, нажав горячую клавишу (%S) или перетащить документы в текстовое поле веб-страницы
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Перестроить таблицу
-zotero.preferences.advanced.rebuildTranslators.changesLost=Любые изменения, которые вы сделали с таблицей трансляторов, будут потеряны
dragAndDrop.existingFiles=Следующие файлы уже существуют в конечной директории и они не скопированы:
dragAndDrop.filesNotFound=Файлы не были найдены и не могут быть скопированы:
diff --git a/chrome/locale/sr-YU/zotero/preferences.dtd b/chrome/locale/sr-YU/zotero/preferences.dtd
index 31a517a84..a616e21ec 100644
--- a/chrome/locale/sr-YU/zotero/preferences.dtd
+++ b/chrome/locale/sr-YU/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/sr-YU/zotero/zotero.properties b/chrome/locale/sr-YU/zotero/zotero.properties
index 79d792877..53415525a 100644
--- a/chrome/locale/sr-YU/zotero/zotero.properties
+++ b/chrome/locale/sr-YU/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Библиографски сти
zotero.preferences.export.quickCopy.exportFormats=Извозни формат
zotero.preferences.export.quickCopy.instructions=Брзо умножавање вам дозвољава да умножите изабране референце у списак исечака (clipboard) притискајући дугме за пречицу (%S) или превлачењем ставки у поље за текст на веб страници.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Поново направи табелу
-zotero.preferences.advanced.rebuildTranslators.changesLost=Све промене које сте направили у табели преводиоца ће бити изгубљена.
dragAndDrop.existingFiles=Следеће датотеке већ постоје у одредишном директоријуму и нису умножене:
dragAndDrop.filesNotFound=Следеће датотеке нису нађене и због тога нису умножене:
diff --git a/chrome/locale/sv-SE/zotero/preferences.dtd b/chrome/locale/sv-SE/zotero/preferences.dtd
index f8c5df717..ebfdc1e26 100644
--- a/chrome/locale/sv-SE/zotero/preferences.dtd
+++ b/chrome/locale/sv-SE/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/sv-SE/zotero/zotero.properties b/chrome/locale/sv-SE/zotero/zotero.properties
index 9030d34e2..91d4346b6 100644
--- a/chrome/locale/sv-SE/zotero/zotero.properties
+++ b/chrome/locale/sv-SE/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliographic Styles
zotero.preferences.export.quickCopy.exportFormats=Export Formats
zotero.preferences.export.quickCopy.instructions=Quick Copy allows you to copy selected references to the clipboard by pressing a shortcut key (%S) or dragging items into a text box on a web page.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=The following files already existed in the destination directory and were not copied:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/tr-TR/zotero/preferences.dtd b/chrome/locale/tr-TR/zotero/preferences.dtd
index 4b49b96e2..a50828918 100644
--- a/chrome/locale/tr-TR/zotero/preferences.dtd
+++ b/chrome/locale/tr-TR/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/tr-TR/zotero/zotero.properties b/chrome/locale/tr-TR/zotero/zotero.properties
index 3f3a8267c..cff73becb 100644
--- a/chrome/locale/tr-TR/zotero/zotero.properties
+++ b/chrome/locale/tr-TR/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Bibliyografik Sitiller
zotero.preferences.export.quickCopy.exportFormats=Dışarı Aktarım Biçimleri
zotero.preferences.export.quickCopy.instructions=Çabuk Kopya bir kısayol tuşuna (%S) basarak seçilen referansların pano'ya kopyalanmasını sağlar. Veya eserleri bir web sayfasındaki text box'a sürükleyebilirsiniz.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Rebuild Table
-zotero.preferences.advanced.rebuildTranslators.changesLost=Any changes you have made to the translators table will be lost.
dragAndDrop.existingFiles=Aşağıdaki dosyalar hedef dizinde zaten varlar ve kopyalanmadılar:
dragAndDrop.filesNotFound=The following files were not found and could not be copied:
diff --git a/chrome/locale/vi-VN/zotero/preferences.dtd b/chrome/locale/vi-VN/zotero/preferences.dtd
index 98c6b4fa4..667cf096c 100644
--- a/chrome/locale/vi-VN/zotero/preferences.dtd
+++ b/chrome/locale/vi-VN/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/vi-VN/zotero/zotero.properties b/chrome/locale/vi-VN/zotero/zotero.properties
index 60aabb57c..accd6626b 100644
--- a/chrome/locale/vi-VN/zotero/zotero.properties
+++ b/chrome/locale/vi-VN/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=Các Văn phong Thư tịch
zotero.preferences.export.quickCopy.exportFormats=Các Định dạng Xuất khẩu
zotero.preferences.export.quickCopy.instructions=Quick Copy cho phép bạn sao chép các tham khảo được chọn vào clipboard bằng cách ấn phím tắt (%S) hoặc bằng cách kéo thả các biểu ghi vào trong một khuôn văn bản của một trang Web.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=Lập lại Bảng
-zotero.preferences.advanced.rebuildTranslators.changesLost=Tất cả các thay đổi bạn vừa làm trong Bảng các Bộ chuyển đổi sẽ bị mất.
dragAndDrop.existingFiles=Các tập tin sau đã có ở trong thư mục đích, và do đó không được sao chép:
dragAndDrop.filesNotFound=Các tập tin sau không tồn tại, và do đó không được sao chép:
diff --git a/chrome/locale/zh-CN/zotero/preferences.dtd b/chrome/locale/zh-CN/zotero/preferences.dtd
index 5bf7c0a65..9991de8ee 100644
--- a/chrome/locale/zh-CN/zotero/preferences.dtd
+++ b/chrome/locale/zh-CN/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/zh-CN/zotero/zotero.properties b/chrome/locale/zh-CN/zotero/zotero.properties
index 22e5f0095..82beb9dc6 100644
--- a/chrome/locale/zh-CN/zotero/zotero.properties
+++ b/chrome/locale/zh-CN/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=文献目录样式
zotero.preferences.export.quickCopy.exportFormats=导出格式
zotero.preferences.export.quickCopy.instructions=快速复制可以让你通过快捷键(%S)或拖放条目到文本框的方式将所选引文复制到剪切板.
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=重建表
-zotero.preferences.advanced.rebuildTranslators.changesLost=你对转换器表所做的任何改动都将丢失.
dragAndDrop.existingFiles=下列文件因已在目标文件夹中, 所以没有复制:
dragAndDrop.filesNotFound=未找到下列文件, 无法复制.
diff --git a/chrome/locale/zh-TW/zotero/preferences.dtd b/chrome/locale/zh-TW/zotero/preferences.dtd
index 8215a52c5..368d4a1f6 100644
--- a/chrome/locale/zh-TW/zotero/preferences.dtd
+++ b/chrome/locale/zh-TW/zotero/preferences.dtd
@@ -80,4 +80,3 @@
-
diff --git a/chrome/locale/zh-TW/zotero/zotero.properties b/chrome/locale/zh-TW/zotero/zotero.properties
index 4700d5ba1..c4a111466 100644
--- a/chrome/locale/zh-TW/zotero/zotero.properties
+++ b/chrome/locale/zh-TW/zotero/zotero.properties
@@ -381,8 +381,6 @@ zotero.preferences.export.quickCopy.bibStyles=參考文獻的樣式
zotero.preferences.export.quickCopy.exportFormats=匯出格式
zotero.preferences.export.quickCopy.instructions=快速複製讓你可以按快捷鍵(%S)來把選取的參考文獻複製到剪貼簿,或者拖放項目到網頁的文字輸入區。
-zotero.preferences.advanced.rebuildTranslators.rebuildTable=重建項目表
-zotero.preferences.advanced.rebuildTranslators.changesLost=將會失去你對轉譯器項目表所作的任何變更。
dragAndDrop.existingFiles=以下的檔案已經存在目的目錄中,並未被複製:
dragAndDrop.filesNotFound=找不到以下的檔案而無法加以複製:
diff --git a/defaults/preferences/zotero.js b/defaults/preferences/zotero.js
index f622235f7..289776db0 100644
--- a/defaults/preferences/zotero.js
+++ b/defaults/preferences/zotero.js
@@ -57,11 +57,11 @@ pref("extensions.zotero.report.combineChildItems", true);
// Export and citation settings
pref("extensions.zotero.export.lastTranslator", '14763d24-8ba0-45df-8f52-b8d1108e7ac9');
pref("extensions.zotero.export.translatorSettings", 'true,false');
-pref("extensions.zotero.export.lastStyle", 'http://purl.org/net/xbiblio/csl/styles/chicago-note.csl');
+pref("extensions.zotero.export.lastStyle", 'http://www.zotero.org/styles/chicago-note.csl');
pref("extensions.zotero.export.bibliographySettings", 'save-as-rtf');
pref("extensions.zotero.export.bibliographyLocale", '');
-pref("extensions.zotero.export.quickCopy.setting", 'bibliography=http://purl.org/net/xbiblio/csl/styles/chicago-note.csl');
+pref("extensions.zotero.export.quickCopy.setting", 'bibliography=http://www.zotero.org/styles/chicago-note.csl');
// Integration settings
pref("extensions.zotero.integration.autoRegenerate", -1); // -1 = ask; 0 = no; 1 = yes