diff options
| author | Roger Braun <rbraun@Bobble.local> | 2017-11-07 15:14:37 +0100 |
|---|---|---|
| committer | Roger Braun <rbraun@Bobble.local> | 2017-11-07 15:14:37 +0100 |
| commit | 7516cd859f0c9bc078548f801cbb6a63b72ced97 (patch) | |
| tree | 0bf5186d8739bad07c1a3b43b7d84d1a5fe3b104 /src/components/settings/settings.vue | |
| parent | 81b08498893b37fe58bdcde343b29396562dbe4c (diff) | |
Prepare for i18n.
Diffstat (limited to 'src/components/settings/settings.vue')
| -rw-r--r-- | src/components/settings/settings.vue | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/components/settings/settings.vue b/src/components/settings/settings.vue index 6ff96fec..5978e4ed 100644 --- a/src/components/settings/settings.vue +++ b/src/components/settings/settings.vue @@ -1,40 +1,40 @@ <template> <div class="settings panel panel-default base00-background"> <div class="panel-heading base01-background base04"> - Settings + {{$t('settings.settings')}} </div> <div class="panel-body"> <div class="setting-item"> - <h2>Theme</h2> + <h2>{{$t('settings.theme')}}</h2> <style-switcher></style-switcher> </div> <div class="setting-item"> - <h2>Filtering</h2> - <p>All notices containing these words will be muted, one per line</p> + <h2>{{$t('settings.filtering')}}</h2> + <p>{{$t('settings.filtering_explanation')}}</p> <textarea id="muteWords" v-model="muteWordsString"></textarea> </div> <div class="setting-item"> - <h2>Attachments</h2> + <h2>{{$t('settings.attachments')}}</h2> <ul class="setting-list"> <li> <input type="checkbox" id="hideAttachments" v-model="hideAttachmentsLocal"> - <label for="hideAttachments">Hide attachments in timeline</label> + <label for="hideAttachments">{{$t('settings.hide_attachments_in_tl')}}</label> </li> <li> <input type="checkbox" id="hideAttachmentsInConv" v-model="hideAttachmentsInConvLocal"> - <label for="hideAttachmentsInConv">Hide attachments in conversations</label> + <label for="hideAttachmentsInConv">{{$t('settings.hide_attachments_in_convo')}}</label> </li> <li> <input type="checkbox" id="hideNsfw" v-model="hideNsfwLocal"> - <label for="hideNsfw">Enable clickthrough NSFW attachment hiding</label> + <label for="hideNsfw">{{$t('settings.nsfw_clickthrough')}}</label> </li> <li> <input type="checkbox" id="autoLoad" v-model="autoLoadLocal"> - <label for="autoLoad">Enable automatic loading when scrolled to the bottom</label> + <label for="autoLoad">{{$t('settings.autoload')}}</label> </li> <li> <input type="checkbox" id="hoverPreview" v-model="hoverPreviewLocal"> - <label for="hoverPreview">Enable reply-link preview on mouse hover</label> + <label for="hoverPreview">{{$t('settings.reply_link_preview')}}</label> </li> </ul> </div> |
