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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue