Commit dc65337b authored by Sven Franck's avatar Sven Franck

allow to translate [node] for textNodes used by JQM

parent 903fa6b5
...@@ -1407,6 +1407,9 @@ ...@@ -1407,6 +1407,9 @@
} }
element.value = i18n.t(target[1]); element.value = i18n.t(target[1]);
break; break;
case "[node":
element.childNodes[0].textContent = i18n.t(target[1]);
break;
case "[html": case "[html":
// NOTE: slow // NOTE: slow
element.innerHTML = i18n.t(target[1]); element.innerHTML = i18n.t(target[1]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment