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
class="button-default btn"
@click="addLanguage"
>{{ $t('settings.add_language') }}</button>
>
{{ $t('settings.add_language') }}
</button>
</li>
</ul>
</div>

View File

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

View File

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

View File

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

View File

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