www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 020eaf2d470af493000daa2c71d26cd5d822ac01
parent d821778d247d00de1d08c949ec5ac7d9e0438e3b
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 19 Sep 2012 03:37:44 -0400

Fix translatorID in filename in ZIP build, hopefully

Follow-up from d821778

Refs #459, Non-ascii translator names

Diffstat:
Mchrome/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 @@ -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();