diff options
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/translate.js')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/handlebars/translate.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/translate.js b/server/sonar-web/src/main/js/helpers/handlebars/translate.js new file mode 100644 index 00000000000..b4fd0b23178 --- /dev/null +++ b/server/sonar-web/src/main/js/helpers/handlebars/translate.js @@ -0,0 +1,4 @@ +module.exports = function () { + var args = Array.prototype.slice.call(arguments, 0, -1); + return window.translate.apply(this, args); +}; |