diff options
| author | rinpatch <rin@patch.cx> | 2021-03-04 22:24:17 +0300 |
|---|---|---|
| committer | rinpatch <rin@patch.cx> | 2021-03-04 22:24:17 +0300 |
| commit | b4f5df9ce502efbf35eccf5c62066200b04428f8 (patch) | |
| tree | 1abaab1f1ea4ff454fa1e1d2dbd109d1958eb509 | |
| parent | 6d7b5b157b64df5b189dd4e64e382bdda17e8897 (diff) | |
Make it possible to localize user highlight options
| -rw-r--r-- | src/components/user_card/user_card.vue | 8 | ||||
| -rw-r--r-- | src/i18n/en.json | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 60776ebb..c59faaa6 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -141,10 +141,10 @@ v-model="userHighlightType" class="userHighlightSel" > - <option value="disabled">No highlight</option> - <option value="solid">Solid bg</option> - <option value="striped">Striped bg</option> - <option value="side">Side stripe</option> + <option value="disabled">{{$t('user_card.highlight.disabled')}}</option> + <option value="solid">{{$t('user_card.highlight.solid')}}</option> + <option value="striped">{{$t('user_card.highlight.striped')}}</option> + <option value="side">{{$t('user_card.highlight.side')}}</option> </select> <FAIcon class="select-down-icon" diff --git a/src/i18n/en.json b/src/i18n/en.json index bf775363..2aefebc9 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -746,6 +746,12 @@ "quarantine": "Disallow user posts from federating", "delete_user": "Delete user", "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": { |
