diff options
author | Bruno Tavares <bruno.exz@gmail.com> | 2015-04-08 21:30:53 -0300 |
---|---|---|
committer | Bruno Tavares <bruno.exz@gmail.com> | 2015-04-08 21:40:49 -0300 |
commit | ed8fd002c53800b966fc1ef6115c2ff53fa042b1 (patch) | |
tree | d503a13239afeac79b47526d7178f0dacc911083 /web-ui/app/js/helpers | |
parent | 497488499fcf870df762919e42862ca6b52a0028 (diff) |
Removes argument fixing of the i18n library #66
To introduce variables on the internationalization functions we should
be able to pass extra arguments to the `i18n.t`.
The way it was we could only pass the key and no more options to
interpolate values.
Diffstat (limited to 'web-ui/app/js/helpers')
-rw-r--r-- | web-ui/app/js/helpers/view_helper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/helpers/view_helper.js b/web-ui/app/js/helpers/view_helper.js index 6755b891..cf4406bb 100644 --- a/web-ui/app/js/helpers/view_helper.js +++ b/web-ui/app/js/helpers/view_helper.js @@ -22,7 +22,7 @@ define( 'quoted-printable/quoted-printable', 'utf8/utf8' ], - function(contentType, htmlWhitelister, i18n_lib, quotedPrintable, utf8) { + function(contentType, htmlWhitelister, i18n, quotedPrintable, utf8) { 'use strict'; function formatStatusClasses(ss) { |