i18n: make "plain text" translatable

This commit is contained in:
William Pitcock 2018-08-31 00:44:25 +00:00
parent 38e3c2493d
commit 20a67e6809
2 changed files with 4 additions and 1 deletions

View file

@ -35,7 +35,7 @@
<div class="visibility-tray"> <div class="visibility-tray">
<span class="text-format"> <span class="text-format">
<select v-model="newStatus.contentType" class="form-control"> <select v-model="newStatus.contentType" class="form-control">
<option value="text/plain">Plain text</option> <option value="text/plain">{{$t('post_status.content_type.plain_text')}}</option>
<option value="text/html">HTML</option> <option value="text/html">HTML</option>
<option value="text/markdown">Markdown</option> <option value="text/markdown">Markdown</option>
</select> </select>

View file

@ -392,6 +392,9 @@ const en = {
unlisted: 'Unlisted - Do not post to public timelines', unlisted: 'Unlisted - Do not post to public timelines',
private: 'Followers-only - Post to followers only', private: 'Followers-only - Post to followers only',
direct: 'Direct - Post to mentioned users only' direct: 'Direct - Post to mentioned users only'
},
content_type: {
plain_text: 'Plain text'
} }
}, },
finder: { finder: {