Merge branch 'remove-unnecessary-bind-in-gettext' into 'master'
Remove unnecessary bind call during translation See merge request gitlab-org/gitlab-ce!28393
This commit is contained in:
commit
729bac5e16
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue