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

@@ -56,7 +56,7 @@
.form-group(v-if='!isParty')
label
strong(v-once) {{$t('guildSummary')}} *
div.summary-count {{charactersRemaining}} {{ $t('charactersRemaining') }}
div.summary-count {{ $t('charactersRemaining', {characters: charactersRemaining}) }}
textarea.form-control.summary-textarea(:placeholder="isParty ? $t('partyDescriptionPlaceholder') : $t('guildSummaryPlaceholder')", v-model="workingGroup.summary")
// @TODO: need summary only for PUBLIC GUILDS, not for tavern, private guilds, or party