www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 568bd6f426e450ddb3dde3a400684c276bc82585
parent 2de4ab7e8e6d63f336d984e7e0109ea4df20a8c8
Author: Frank <biercenator@gmail.com>
Date:   Mon, 27 Feb 2012 09:20:45 +0800

Upgrade citeproc-js to version 1.0.293

Diffstat:
Mchrome/content/zotero/xpcom/citeproc.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js @@ -2149,7 +2149,7 @@ CSL.DateParser = function () { }; CSL.Engine = function (sys, style, lang, forceLang) { var attrs, langspec, localexml, locale; - this.processor_version = "1.0.292"; + this.processor_version = "1.0.293"; this.csl_version = "1.0"; this.sys = sys; this.sys.xml = new CSL.System.Xml.Parsing(); @@ -4256,7 +4256,7 @@ CSL.Engine.prototype.localeSet = function (myxml, lang_in, lang_out) { } } } - if (lang_out && lang_out.slice(0, 2) === "fr") { + if (lang_out && ["fr", "pt"].indexOf(lang_out.slice(0, 2).toLowerCase()) > -1) { this.locale[lang_out].terms["page-range-delimiter"] = "-"; } else { this.locale[lang_out].terms["page-range-delimiter"] = "\u2013";