diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-03 18:56:40 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-03 18:56:40 +0300 |
commit | 23e6b17b3e7fab3fc1668234133dcf339dedc649 (patch) | |
tree | a4b5099d988447ceece848d63ad759bb6a67bfdd /app/assets/javascripts/vue_shared | |
parent | 66dd045e6af591c370143c21ae98f36d439cd87e (diff) | |
parent | b509588a28d0a102f4ad4b97d91c5b5944946834 (diff) |
Merge branch 'winh-sprintf' into 'master'
Add basic sprintf implementation to JavaScript
See merge request gitlab-org/gitlab-ce!14506
Diffstat (limited to 'app/assets/javascripts/vue_shared')
-rw-r--r-- | app/assets/javascripts/vue_shared/translate.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_shared/translate.js b/app/assets/javascripts/vue_shared/translate.js index f83c4b00761..2c7886ec308 100644 --- a/app/assets/javascripts/vue_shared/translate.js +++ b/app/assets/javascripts/vue_shared/translate.js @@ -2,6 +2,7 @@ import { __, n__, s__, + sprintf, } from '../locale'; export default (Vue) => { @@ -37,6 +38,7 @@ export default (Vue) => { @returns {String} Translated context based text **/ s__, + sprintf, }, }); }; |