[FIX] ir.ui.view: match translated terms without heading/trailing whitespace
authorOlivier Dony <odo@openerp.com>
Tue, 16 Sep 2014 15:02:05 +0000 (17:02 +0200)
committerOlivier Dony <odo@openerp.com>
Tue, 16 Sep 2014 15:46:25 +0000 (17:46 +0200)
commit3caafac8c02c773aa6ae1243e03edd64c2ad081b
tree7880af315a61b7c575acc8a2d388345248b128cd
parentb7a2cc13bad36e08e1e1f56391bc95a6ab623c9b
[FIX] ir.ui.view: match translated terms without heading/trailing whitespace

As the whitespace is stripped when exporting terms
to translate, it must be done as well when matching
translations at runtime.

Fixes issue #1755 partly
openerp/addons/base/ir/ir_ui_view.py