Use export.lastLocale before UI locale if none specified
This allows existing documents created before 4.0.27 with a bibliographyLocale set to continue to use that value by default. More details: https://github.com/zotero/zotero/pull/795#issuecomment-120227051
This commit is contained in:
parent
b40c1d7e2e
commit
c72b112afd
1 changed files with 1 additions and 1 deletions
|
@ -607,7 +607,7 @@ Zotero.Style = function(arg) {
|
|||
*/
|
||||
Zotero.Style.prototype.getCiteProc = function(locale, automaticJournalAbbreviations) {
|
||||
if(!locale) {
|
||||
var locale = Zotero.locale;
|
||||
var locale = Zotero.Prefs.get('export.lastLocale') || Zotero.locale;
|
||||
if(!locale) {
|
||||
var locale = 'en-US';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue