[Pkg-mozext-commits] [adblock-plus] 326/464: Fixed download of Web Store description from Crowdin

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 8759c5ee16fa9d6d0b70bd0aa471fa031499d07f
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Wed Oct 31 12:38:56 2012 +0100

    Fixed download of Web Store description from Crowdin
    
    --HG--
    extra : rebase_source : 9d8dcbf78516ab851dcd5c555f6e76adb55287a5
---
 localeTools.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/localeTools.py b/localeTools.py
index f28ddcd..31d587c 100644
--- a/localeTools.py
+++ b/localeTools.py
@@ -433,7 +433,7 @@ def getTranslations(type, localesDir, defaultLocale, projectName, key):
       data = json.loads(data)
       if origFile in data:
         fileHandle = codecs.open(path, 'wb', encoding='utf-8')
-        fileHandle.write(data[origFile])
+        fileHandle.write(data[origFile]['message'])
         fileHandle.close()
     else:
       fromJSON(path, data)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list