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
|
@ -607,7 +607,7 @@ Zotero.Style = function(arg) {
|
||||||
*/
|
*/
|
||||||
Zotero.Style.prototype.getCiteProc = function(locale, automaticJournalAbbreviations) {
|
Zotero.Style.prototype.getCiteProc = function(locale, automaticJournalAbbreviations) {
|
||||||
if(!locale) {
|
if(!locale) {
|
||||||
var locale = Zotero.locale;
|
var locale = Zotero.Prefs.get('export.lastLocale') || Zotero.locale;
|
||||||
if(!locale) {
|
if(!locale) {
|
||||||
var locale = 'en-US';
|
var locale = 'en-US';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user