From 020eaf2d470af493000daa2c71d26cd5d822ac01 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 19 Sep 2012 03:37:44 -0400 Subject: [PATCH] Fix translatorID in filename in ZIP build, hopefully Follow-up from d821778 Refs #459, Non-ascii translator names --- chrome/content/zotero/xpcom/schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 623ffe101..64ebf93df 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -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();