[FIX] payment_transfer: untranslated string

Replaces and closes #12787
This commit is contained in:
Martin Trigaux 2016-12-14 15:53:03 +01:00
parent f6692139da
commit 13ed92c6d8
No known key found for this signature in database
GPG Key ID: 7B0E288E7C0F83A7
2 changed files with 17 additions and 4 deletions

View File

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-05 12:00+0000\n"
"PO-Revision-Date: 2015-09-05 12:00+0000\n"
"POT-Creation-Date: 2016-12-14 14:52+0000\n"
"PO-Revision-Date: 2016-12-14 14:52+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -15,6 +15,18 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: payment_transfer
#: code:addons/payment_transfer/models/payment_acquirer.py:32
#, python-format
msgid "<div>\n"
"<h3>Please use the following transfer details</h3>\n"
"<h4>%(bank_title)s</h4>\n"
"%(bank_accounts)s\n"
"<h4>Communication</h4>\n"
"<p>Please use the order name as communication reference.</p>\n"
"</div>"
msgstr ""
#. module: payment_transfer
#: model:payment.acquirer,pre_msg:payment_transfer.payment_acquirer_transfer
msgid "<p>Transfer information will be provided after choosing the payment mode.</p>\n"
@ -45,6 +57,7 @@ msgstr ""
#. module: payment_transfer
#: code:addons/payment_transfer/models/payment_acquirer.py:19
#: model:payment.acquirer,name:payment_transfer.payment_acquirer_transfer
#, python-format
msgid "Wire Transfer"
msgstr ""

View File

@ -29,13 +29,13 @@ class TransferPaymentAcquirer(osv.Model):
accounts = self.pool['res.partner.bank'].name_get(cr, uid, bank_ids, context=context)
bank_title = _('Bank Accounts') if len(accounts) > 1 else _('Bank Account')
bank_accounts = ''.join(['<ul>'] + ['<li>%s</li>' % name for id, name in accounts] + ['</ul>'])
post_msg = '''<div>
post_msg = _('''<div>
<h3>Please use the following transfer details</h3>
<h4>%(bank_title)s</h4>
%(bank_accounts)s
<h4>Communication</h4>
<p>Please use the order name as communication reference.</p>
</div>''' % {
</div>''') % {
'bank_title': bank_title,
'bank_accounts': bank_accounts,
}