Fix translatorID in filename in ZIP build, hopefully
Follow-up from d821778
Refs #459, Non-ascii translator names
This commit is contained in:
parent
d821778d24
commit
020eaf2d47
|
@ -696,7 +696,7 @@ Zotero.Schema = new function(){
|
|||
Zotero.File.getValidFileName(entry.label)) + fileExt;
|
||||
// Use translatorID if name still isn't ASCII (e.g., Cyrillic)
|
||||
if (!fileName.match(/^[\x00-\x7f]+$/)) {
|
||||
fileName = entry.translatorID + fileExt;
|
||||
fileName = translatorID + fileExt;
|
||||
}
|
||||
|
||||
var destFile = destDir.clone();
|
||||
|
|
Loading…
Reference in New Issue
Block a user