diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2017-09-26 12:46:59 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-10-03 15:46:19 +0300 |
commit | b509588a28d0a102f4ad4b97d91c5b5944946834 (patch) | |
tree | 1ace10c95ed2573f14927ddee014c562ab987621 /app/assets/javascripts/vue_shared | |
parent | 92173ac55cd921a65ce137e238ed8bc4474aaccb (diff) |
Add basic sprintf implementation to JavaScript
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, }, }); }; |