Merge branch 'master' of github.com:webnotes/erpnext
diff --git a/accounts/page/voucher_import_tool/voucher_import_tool.py b/accounts/page/voucher_import_tool/voucher_import_tool.py
index 62cf7c6..0a2178a 100644
--- a/accounts/page/voucher_import_tool/voucher_import_tool.py
+++ b/accounts/page/voucher_import_tool/voucher_import_tool.py
@@ -1,5 +1,6 @@
from __future__ import unicode_literals
import webnotes
+from webnotes import _
from webnotes.utils import flt, comma_and
@webnotes.whitelist()
@@ -244,7 +245,10 @@
accounts = [c for c in rows[i+1] if c.endswith(" - " + company_abbr)]
if accounts and (len(columns) != rows[i+1].index(accounts[0])):
- raise Exception, """All account columns should be after standard columns and \
- on the right. Please rectify it in the file and try again."""
+ raise Exception, _("""All account columns should be after \
+ standard columns and on the right.
+ If you entered it properly, next probable reason \
+ could be wrong account name.
+ Please rectify it in the file and try again.""")
return data, start_row_idx
\ No newline at end of file