c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #01695
[Bug 668642] [NEW] Translation method wrong usage in account_bank_statement.py
Public bug reported:
There are wrong usage of translation method : _('...')
I got fresh code at 2010-10-30.
addons/account/account_bank_statement.py line 333: button_open method
raise osv.except_osv(_('Error !'), _('User %s does not have rights to
access %s journal !' % (statement.user_id.name,
statement.journal_id.name)))
It could be like this :
raise osv.except_osv(_('Error !'), _('User %s does not have rights to access %s journal !') % (statement.user_id.name, statement.journal_id.name))
-------------------------
I think there are many same bugs like this. This BUG will making po syntax errors like this :
#. module: account
#: code:addons/account/account_cash_statement.py:0
#, python-format
msgid ""
"User %s does not have rights to access %s journal !' % (statement.user_id.name, statement.journal_id.name)))\n"
"\n"
" if statement.name and statement.name == '/':\n"
" number = self.pool.get('ir.sequence"
msgstr ""
** Affects: openobject-addons
Importance: Undecided
Status: New
--
Translation method wrong usage in account_bank_statement.py
https://bugs.launchpad.net/bugs/668642
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: New
Bug description:
There are wrong usage of translation method : _('...')
I got fresh code at 2010-10-30.
addons/account/account_bank_statement.py line 333: button_open method
raise osv.except_osv(_('Error !'), _('User %s does not have rights to access %s journal !' % (statement.user_id.name, statement.journal_id.name)))
It could be like this :
raise osv.except_osv(_('Error !'), _('User %s does not have rights to access %s journal !') % (statement.user_id.name, statement.journal_id.name))
-------------------------
I think there are many same bugs like this. This BUG will making po syntax errors like this :
#. module: account
#: code:addons/account/account_cash_statement.py:0
#, python-format
msgid ""
"User %s does not have rights to access %s journal !' % (statement.user_id.name, statement.journal_id.name)))\n"
"\n"
" if statement.name and statement.name == '/':\n"
" number = self.pool.get('ir.sequence"
msgstr ""
Follow ups
References