Skip to content

Commit

Permalink
Merge pull request #5183 from dimagi/bulk-app-translation-fix
Browse files Browse the repository at this point in the history
Fix bug in bulk app translation with mismatched form/app languages
  • Loading branch information
czue committed Jan 4, 2015
2 parents 080cd43 + 2911e89 commit 599172c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corehq/apps/app_manager/translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def update_form_translations(sheet, rows, missing_cols, app):
new_trans_el.set('lang', lang)
if lang != app.langs[0]:
# If the language isn't the default language
new_trans_el.attrib.pop('default')
new_trans_el.attrib.pop('default', None)
else:
new_trans_el.set('default', '')
itext.xml.append(new_trans_el)
Expand Down

0 comments on commit 599172c

Please sign in to comment.