Commit 729bac5e authored by Tim Zallmann's avatar Tim Zallmann

Merge branch 'remove-unnecessary-bind-in-gettext' into 'master'

Remove unnecessary bind call during translation

See merge request gitlab-org/gitlab-ce!28393
parents 1cdb7f3c 50910d50
......@@ -11,7 +11,7 @@ delete window.translations;
@param text The text to be translated
@returns {String} The translated text
*/
const gettext = text => locale.gettext.bind(locale)(ensureSingleLine(text));
const gettext = text => locale.gettext(ensureSingleLine(text));
/**
Translate the text with a number
......
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