Add variable placeholder. (#9465)

Changes the character translation string `charactersRemaining`  in
groups.json to include a variable placeholder `<%= characters %>`
This commit is contained in:
Allister
2017-11-15 08:41:18 -08:00
committed by Matteo Pagliazzi
parent 22b683b1d9
commit c5296d4cb0
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
.form-group
label
strong(v-once) {{$t('challengeSummary')}} *
div.summary-count {{charactersRemaining}} {{ $t('charactersRemaining') }}
div.summary-count {{ $t('charactersRemaining', {characters: charactersRemaining}) }}
textarea.summary-textarea.form-control(:placeholder="$t('challengeSummaryPlaceholder')", v-model="workingChallenge.summary")
.form-group
label