Commit 4cb40644 authored by Hiro's avatar Hiro 🏄
Browse files

Patch i18n plugin

parent 3361e259
......@@ -271,7 +271,7 @@ class I18NPlugin(Plugin):
)
if isinstance(field.type, FlowType):
if sections.has_key(field.name):
if field.name in sections:
section = sections[field.name]
for blockname, blockvalue in process_flowblock_data("".join(section)):
flowblockmodel = source.pad.db.flowblocks[blockname]
......@@ -426,5 +426,3 @@ class I18NPlugin(Plugin):
for language in self.translations_languages:
po_file=POFile(language, self.i18npath)
po_file.generate()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment