Make it possible to localize user highlight options

This commit is contained in:
rinpatch 2021-03-04 22:24:17 +03:00
parent 6d7b5b157b
commit b4f5df9ce5
2 changed files with 10 additions and 4 deletions

View file

@ -141,10 +141,10 @@
v-model="userHighlightType" v-model="userHighlightType"
class="userHighlightSel" class="userHighlightSel"
> >
<option value="disabled">No highlight</option> <option value="disabled">{{$t('user_card.highlight.disabled')}}</option>
<option value="solid">Solid bg</option> <option value="solid">{{$t('user_card.highlight.solid')}}</option>
<option value="striped">Striped bg</option> <option value="striped">{{$t('user_card.highlight.striped')}}</option>
<option value="side">Side stripe</option> <option value="side">{{$t('user_card.highlight.side')}}</option>
</select> </select>
<FAIcon <FAIcon
class="select-down-icon" class="select-down-icon"

View file

@ -746,6 +746,12 @@
"quarantine": "Disallow user posts from federating", "quarantine": "Disallow user posts from federating",
"delete_user": "Delete user", "delete_user": "Delete user",
"delete_user_confirmation": "Are you absolutely sure? This action cannot be undone." "delete_user_confirmation": "Are you absolutely sure? This action cannot be undone."
},
"highlight": {
"disabled": "No highlight",
"solid": "Solid bg",
"striped": "Striped bg",
"side": "Side stripe"
} }
}, },
"user_profile": { "user_profile": {