This commit is contained in:
Henry Jameson 2023-03-12 17:28:14 +02:00
parent 6a7b182af1
commit 55ea6df40b
5 changed files with 47 additions and 22 deletions

View File

@ -36,7 +36,9 @@
<button <button
class="button-default btn" class="button-default btn"
@click="addLanguage" @click="addLanguage"
>{{ $t('settings.add_language') }}</button> >
{{ $t('settings.add_language') }}
</button>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -10,8 +10,8 @@
<ul class="setting-list suboptions"> <ul class="setting-list suboptions">
<li> <li>
<BooleanSetting <BooleanSetting
parentPath="hideFilteredStatuses" parent-path="hideFilteredStatuses"
:parentInvert="true" :parent-invert="true"
path="hideWordFilteredPosts" path="hideWordFilteredPosts"
> >
{{ $t('settings.hide_wordfiltered_statuses') }} {{ $t('settings.hide_wordfiltered_statuses') }}
@ -20,8 +20,8 @@
<li> <li>
<BooleanSetting <BooleanSetting
v-if="user" v-if="user"
parentPath="hideFilteredStatuses" parent-path="hideFilteredStatuses"
:parentInvert="true" :parent-invert="true"
path="hideMutedThreads" path="hideMutedThreads"
> >
{{ $t('settings.hide_muted_threads') }} {{ $t('settings.hide_muted_threads') }}
@ -30,8 +30,8 @@
<li> <li>
<BooleanSetting <BooleanSetting
v-if="user" v-if="user"
parentPath="hideFilteredStatuses" parent-path="hideFilteredStatuses"
:parentInvert="true" :parent-invert="true"
path="hideMutedPosts" path="hideMutedPosts"
> >
{{ $t('settings.hide_muted_posts') }} {{ $t('settings.hide_muted_posts') }}

View File

@ -33,7 +33,7 @@
<li> <li>
<BooleanSetting <BooleanSetting
path="pauseOnUnfocused" path="pauseOnUnfocused"
parentPath="streaming" parent-path="streaming"
> >
{{ $t('settings.pause_on_unfocused') }} {{ $t('settings.pause_on_unfocused') }}
</BooleanSetting> </BooleanSetting>
@ -262,7 +262,8 @@
<li> <li>
<BooleanSetting <BooleanSetting
v-if="user" v-if="user"
source="profile" path="stripRichContent" source="profile"
path="stripRichContent"
expert="1" expert="1"
> >
{{ $t('settings.no_rich_text_description') }} {{ $t('settings.no_rich_text_description') }}
@ -287,7 +288,7 @@
<BooleanSetting <BooleanSetting
path="preloadImage" path="preloadImage"
expert="1" expert="1"
parentPath="hideNsfw" parent-path="hideNsfw"
> >
{{ $t('settings.preload_images') }} {{ $t('settings.preload_images') }}
</BooleanSetting> </BooleanSetting>
@ -296,7 +297,7 @@
<BooleanSetting <BooleanSetting
path="useOneClickNsfw" path="useOneClickNsfw"
expert="1" expert="1"
parentPath="hideNsfw" parent-path="hideNsfw"
> >
{{ $t('settings.use_one_click_nsfw') }} {{ $t('settings.use_one_click_nsfw') }}
</BooleanSetting> </BooleanSetting>
@ -314,7 +315,7 @@
<BooleanSetting <BooleanSetting
path="loopVideoSilentOnly" path="loopVideoSilentOnly"
expert="1" expert="1"
parentPath="loopVideo" parent-path="loopVideo"
:disabled="!loopSilentAvailable" :disabled="!loopSilentAvailable"
> >
{{ $t('settings.loop_video_silent_only') }} {{ $t('settings.loop_video_silent_only') }}

View File

@ -4,7 +4,10 @@
<h2>{{ $t('settings.notification_setting_filters') }}</h2> <h2>{{ $t('settings.notification_setting_filters') }}</h2>
<ul class="setting-list"> <ul class="setting-list">
<li> <li>
<BooleanSetting source="profile" path="blockNotificationsFromStrangers"> <BooleanSetting
source="profile"
path="blockNotificationsFromStrangers"
>
{{ $t('settings.notification_setting_block_from_strangers') }} {{ $t('settings.notification_setting_block_from_strangers') }}
</BooleanSetting> </BooleanSetting>
</li> </li>
@ -67,7 +70,8 @@
</li> </li>
<li> <li>
<BooleanSetting <BooleanSetting
source="profile" path="webPushHideContents" source="profile"
path="webPushHideContents"
expert="1" expert="1"
> >
{{ $t('settings.notification_setting_hide_notification_contents') }} {{ $t('settings.notification_setting_hide_notification_contents') }}

View File

@ -254,27 +254,42 @@
<h2>{{ $t('settings.account_privacy') }}</h2> <h2>{{ $t('settings.account_privacy') }}</h2>
<ul class="setting-list"> <ul class="setting-list">
<li> <li>
<BooleanSetting source="profile" path="locked"> <BooleanSetting
source="profile"
path="locked"
>
{{ $t('settings.lock_account_description') }} {{ $t('settings.lock_account_description') }}
</BooleanSetting> </BooleanSetting>
</li> </li>
<li> <li>
<BooleanSetting source="profile" path="discoverable"> <BooleanSetting
source="profile"
path="discoverable"
>
{{ $t('settings.discoverable') }} {{ $t('settings.discoverable') }}
</BooleanSetting> </BooleanSetting>
</li> </li>
<li> <li>
<BooleanSetting source="profile" path="allowFollowingMove"> <BooleanSetting
source="profile"
path="allowFollowingMove"
>
{{ $t('settings.allow_following_move') }} {{ $t('settings.allow_following_move') }}
</BooleanSetting> </BooleanSetting>
</li> </li>
<li> <li>
<BooleanSetting source="profile" path="hideFavorites"> <BooleanSetting
source="profile"
path="hideFavorites"
>
{{ $t('settings.hide_favorites_description') }} {{ $t('settings.hide_favorites_description') }}
</BooleanSetting> </BooleanSetting>
</li> </li>
<li> <li>
<BooleanSetting source="profile" path="hideFollowers"> <BooleanSetting
source="profile"
path="hideFollowers"
>
{{ $t('settings.hide_followers_description') }} {{ $t('settings.hide_followers_description') }}
</BooleanSetting> </BooleanSetting>
<ul class="setting-list suboptions"> <ul class="setting-list suboptions">
@ -282,7 +297,7 @@
<BooleanSetting <BooleanSetting
source="profile" source="profile"
path="hideFollowersCount" path="hideFollowersCount"
parentPath="hideFollowers" parent-path="hideFollowers"
> >
{{ $t('settings.hide_followers_count_description') }} {{ $t('settings.hide_followers_count_description') }}
</BooleanSetting> </BooleanSetting>
@ -290,7 +305,10 @@
</ul> </ul>
</li> </li>
<li> <li>
<BooleanSetting source="profile" path="hideFollows"> <BooleanSetting
source="profile"
path="hideFollows"
>
{{ $t('settings.hide_follows_description') }} {{ $t('settings.hide_follows_description') }}
</BooleanSetting> </BooleanSetting>
<ul class="setting-list suboptions"> <ul class="setting-list suboptions">
@ -298,7 +316,7 @@
<BooleanSetting <BooleanSetting
source="profile" source="profile"
path="hideFollowsCount" path="hideFollowsCount"
parentPath="hideFollows" parent-path="hideFollows"
> >
{{ $t('settings.hide_follows_count_description') }} {{ $t('settings.hide_follows_count_description') }}
</BooleanSetting> </BooleanSetting>