mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Refresh citeproc-js version 1.0.349
This commit is contained in:
parent
7f0c8f3a4d
commit
4a8831b929
1 changed files with 4 additions and 3 deletions
|
|
@ -6719,9 +6719,10 @@ CSL.NameOutput.prototype._isRomanesque = function (name) {
|
|||
if (!ret && name.given && name.given.match(CSL.STARTSWITH_ROMANESQUE_REGEXP)) {
|
||||
ret = 1;
|
||||
}
|
||||
if (ret == 2 && name.multi && name.multi.main) {
|
||||
var top_locale = name.multi.main.slice(0, 2);
|
||||
if (!top_locale && this.Item.language) {
|
||||
if (ret == 2) {
|
||||
if (name.multi && name.multi.main) {
|
||||
var top_locale = name.multi.main.slice(0, 2);
|
||||
} else if (this.Item.language) {
|
||||
top_locale = this.Item.language.slice(0, 2);
|
||||
}
|
||||
if (["ja", "zh"].indexOf(top_locale) > -1) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue