mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Upgrade citeproc-js to version 1.0.293
This commit is contained in:
parent
2de4ab7e8e
commit
568bd6f426
1 changed files with 2 additions and 2 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue