mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Add variable placeholder. (#9465)
Changes the character translation string `charactersRemaining` in groups.json to include a variable placeholder `<%= characters %>`
This commit is contained in:
committed by
Matteo Pagliazzi
parent
22b683b1d9
commit
c5296d4cb0
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user