From 7a5024df6e7b70fc8a72f7f4ee02562d1bff7e1a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 28 Oct 2011 01:27:04 -0400 Subject: [PATCH] Change "SVN" references to "source" --- chrome/content/zotero/xpcom/schema.js | 10 +++++----- chrome/content/zotero/xpcom/zotero.js | 2 +- install.rdf | 6 +++--- update.rdf | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index b76ef9206..4d14a1868 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -434,7 +434,7 @@ Zotero.Schema = new function(){ /** * Update styles and translators in data directory with versions from - * ZIP file (XPI) or directory (SVN) in extension directory + * ZIP file (XPI) or directory (source) in extension directory * * @param {String} [mode] 'translators' or 'styles' * @param {Boolean} [skipDeleteUpdated] Skip updating of the file deleting version -- @@ -507,7 +507,7 @@ Zotero.Schema = new function(){ var deleted = extDir.clone(); deleted.append('deleted.txt'); - // In SVN builds, deleted.txt is in the translators directory + // In source builds, deleted.txt is in the translators directory if (!deleted.exists()) { deleted = extDir.clone(); deleted.append('translators'); @@ -730,7 +730,7 @@ Zotero.Schema = new function(){ zipReader.close(); } - // SVN installation + // Source installation else { var sourceDir = extDir.clone(); sourceDir.append(modes); @@ -746,7 +746,7 @@ Zotero.Schema = new function(){ while (entries.hasMoreElements()) { var file = entries.getNext(); file.QueryInterface(Components.interfaces.nsIFile); - // File might not exist in an SVN build with style symlinks + // File might not exist in an source build with style symlinks if (!file.exists() || !file.leafName.match(fileNameRE) || file.isDirectory()) { @@ -759,7 +759,7 @@ Zotero.Schema = new function(){ } } - // Don't attempt installation for SVN build with missing styles + // Don't attempt installation for source build with missing styles if (!sourceFilesExist) { Zotero.debug("No source " + mode + " files exist -- skipping update"); return false; diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 5caf8d7c3..dc5742e10 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -35,7 +35,7 @@ const ZOTERO_CONFIG = { API_URL: 'https://api.zotero.org/', PREF_BRANCH: 'extensions.zotero.', BOOKMARKLET_URL: 'https://www.zotero.org/bookmarklet/', - VERSION: "3.0b3.SVN" + VERSION: "3.0b3.SOURCE" }; /* diff --git a/install.rdf b/install.rdf index 51904dbca..7082398fd 100644 --- a/install.rdf +++ b/install.rdf @@ -6,7 +6,7 @@ zotero@chnm.gmu.edu Zotero - 3.0b2.SVN + 3.0b2.SOURCE Center for History and New Media
George Mason University
Dan Cohen Sean Takats @@ -17,9 +17,9 @@ chrome://zotero/content/preferences/preferences.xul chrome://zotero/content/about.xul chrome://zotero/skin/zotero_z_32px.png - https://www.zotero.org/download/update-svn.rdf + https://www.zotero.org/download/update-source.rdf 2 - true + true diff --git a/update.rdf b/update.rdf index 9b691c17c..327ed7316 100644 --- a/update.rdf +++ b/update.rdf @@ -7,7 +7,7 @@ - 3.0b2.SVN + 3.0b2.SOURCE {ec8030f7-c20a-464f-9b0e-13a3a9e97384}