diff options
author | Brandon Labuschagne <blabuschagne@gitlab.com> | 2019-05-07 09:40:58 +0300 |
---|---|---|
committer | Brandon Labuschagne <blabuschagne@gitlab.com> | 2019-05-21 12:27:11 +0300 |
commit | 29a47bfc27597c8fb5aa2cdeedd026a8af85f083 (patch) | |
tree | 2017b07f61c9a32f4619709ead45e8411fb38102 /app/assets/javascripts/star.js | |
parent | a5f810c9b18d63778a9cd5dc1d2c288e68b1497a (diff) |
I18N JS files starting with s
This is one of many MRs opened in order to improve the overall
internationalisation of the GitLab codebase.
This commit only targets Vanilla JS files.
i18n documentation
https://docs.gitlab.com/ee/development/i18n/externalization.html
Diffstat (limited to 'app/assets/javascripts/star.js')
-rw-r--r-- | app/assets/javascripts/star.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/star.js b/app/assets/javascripts/star.js index 7404dfbf22a..70f89152f70 100644 --- a/app/assets/javascripts/star.js +++ b/app/assets/javascripts/star.js @@ -31,7 +31,7 @@ export default class Star { $this.prepend(spriteIcon('star', iconClasses)); } }) - .catch(() => Flash('Star toggle failed. Try again later.')); + .catch(() => Flash(__('Star toggle failed. Try again later.'))); }); } } |