summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorRavi Gadhia <rga@openerp.com>2015-08-11 19:47:20 +0530
committerRaphael Collet <rco@openerp.com>2015-11-02 10:57:18 +0100
commitcb835f8a3b762f79a824d85579863c3c0c5584e9 (patch)
tree9d1770d432e3deed79c4e9855d07a9dd98e3df4e /addons/web/static/src/xml
parent4b768b3ba0f5b9af6a01054628d2e39e6bda3346 (diff)
[IMP] web: display message to edit translations when translated fields have been modified
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 4ad7312d40c..fa9dadc0c72 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1464,4 +1464,13 @@
</div>
</t>
+<t t-name="translation-alert">
+ <t t-foreach="fields" t-as="field">
+ <div>
+ You have updated <strong><t t-esc="field.string"/></strong> (<t t-esc="lang"/>).
+ <a class="oe_field_translate" t-att-name="field.name" href="#">Update translations</a>
+ </div>
+ </t>
+</t>
+
</templates>