diff --git a/openerp/addons/base/tests/test_translate.py b/openerp/addons/base/tests/test_translate.py
index 8aab490e0fa..d6944cd24dd 100644
--- a/openerp/addons/base/tests/test_translate.py
+++ b/openerp/addons/base/tests/test_translate.py
@@ -119,7 +119,7 @@ class TranslationToolsTestCase(unittest.TestCase):
terms = []
source = """
stuff before
-
Do not translate this
+
Do not translate this
stuff after
"""
result = xml_translate(terms.append, source)
diff --git a/openerp/tools/translate.py b/openerp/tools/translate.py
index 7a5f6452fa2..2ee09b12982 100644
--- a/openerp/tools/translate.py
+++ b/openerp/tools/translate.py
@@ -215,7 +215,7 @@ class XMLTranslator(object):
if (
isinstance(node, SKIPPED_ELEMENT_TYPES) or
node.tag in SKIPPED_ELEMENTS or
- node.get("translation", "").strip() == "off" or
+ node.get("t-translation", "").strip() == "off" or
node.tag == "attribute" and node.get("name") not in TRANSLATED_ATTRS
):
# do not translate the contents of the node