Change "SVN" references to "source"

This commit is contained in:
Dan Stillman 2011-10-28 01:27:04 -04:00
parent af5f526ad1
commit 7a5024df6e
4 changed files with 10 additions and 10 deletions

View file

@ -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;

View file

@ -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"
};
/*

View file

@ -6,7 +6,7 @@
<em:id>zotero@chnm.gmu.edu</em:id>
<em:name>Zotero</em:name>
<em:version>3.0b2.SVN</em:version>
<em:version>3.0b2.SOURCE</em:version>
<em:creator>Center for History and New Media<br/>George Mason University</em:creator>
<em:contributor>Dan Cohen</em:contributor>
<em:contributor>Sean Takats</em:contributor>
@ -17,9 +17,9 @@
<em:optionsURL>chrome://zotero/content/preferences/preferences.xul</em:optionsURL>
<em:aboutURL>chrome://zotero/content/about.xul</em:aboutURL>
<em:iconURL>chrome://zotero/skin/zotero_z_32px.png</em:iconURL>
<em:updateURL>https://www.zotero.org/download/update-svn.rdf</em:updateURL>
<em:updateURL>https://www.zotero.org/download/update-source.rdf</em:updateURL>
<em:type>2</em:type> <!-- type=extension -->
<em:unpack>true</em:unpack>
<em:unpack>true</em:unpack>
<!-- Firefox -->
<em:targetApplication>

View file

@ -7,7 +7,7 @@
<RDF:Seq>
<RDF:li>
<RDF:Description>
<version>3.0b2.SVN</version>
<version>3.0b2.SOURCE</version>
<targetApplication>
<RDF:Description>
<id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id>