summaryrefslogtreecommitdiff
path: root/app/translator.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-10 16:21:47 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-10 16:21:47 +0200
commit28ff8dad91c9e3c25f6a3b5398ae15f2a1ef95cd (patch)
tree0cecc5cbb6e7e6795dd032cc6a5703cd88b8770e /app/translator.php
parent9bde377bbe85617dde280af985e033cf7de61803 (diff)
Add subtasks and comments history
Diffstat (limited to 'app/translator.php')
-rw-r--r--app/translator.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/translator.php b/app/translator.php
index 338821d3..ac4d72e2 100644
--- a/app/translator.php
+++ b/app/translator.php
@@ -9,6 +9,13 @@ function t()
return call_user_func_array(array($t, 'translate'), func_get_args());
}
+// translate with no html escaping
+function e()
+{
+ $t = new Translator;
+ return call_user_func_array(array($t, 'translateNoEscaping'), func_get_args());
+}
+
// Get a locale currency
function c($value)
{