Skip to content

Commit

Permalink
Improve: settings - add isCat/isBot desc
Browse files Browse the repository at this point in the history
  • Loading branch information
fs5m8 committed Dec 26, 2022
1 parent b6c2058 commit 35cb4ba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions locales/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,9 @@ common/views/components/profile-editor.vue:
avatar: "Avatar"
banner: "Banner"
is-cat: "This account is a Cat"
is-cat-desc: "Your avatar will have cat ears and your posts will be nyaized. Do not enable if you want to tell from post correctly."
is-bot: "This account is a Bot"
is-bot-desc: "Identifies this account as a Bot. Do not enable if you are not a Bot."
is-locked: "Follower requests require approval"
careful-bot: "Follower requests from bots require approval"
careful-remote: "Follower requests from remote require approval"
Expand Down
4 changes: 3 additions & 1 deletion locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -874,12 +874,14 @@ common/views/components/profile-editor.vue:
avatar: "アバター"
banner: "バナー"
is-cat: "このアカウントは Cat です"
is-cat-desc: "アバターに猫耳が生え、投稿が nyaize されます。正しく発信したい場合は有効にしないでください。"
is-bot: "このアカウントは Bot です"
is-bot-desc: "Bot であることを識別します。Bot でない場合は有効にしないでください。"
is-locked: "フォローを承認制にする"
careful-bot: "Bot からのフォローだけ承認制にする"
careful-remote: "リモートからのフォローだけ承認制にする"
auto-accept-followed: "フォローしているユーザーからのフォローを自動承認する"
avoid-search-index: "検索エンジンによるインデックスを避ける"
avoid-search-index: "検索エンジンによるインデックスを拒否する"
advanced: "その他"
privacy: "プライバシー"
save: "保存"
Expand Down
8 changes: 6 additions & 2 deletions src/client/app/common/views/components/settings/profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,12 @@
<header><fa :icon="faCogs"/> {{ $t('advanced') }}</header>

<div>
<ui-switch v-model="isCat" @change="save(false)">{{ $t('is-cat') }}</ui-switch>
<ui-switch v-model="isBot" @change="save(false)">{{ $t('is-bot') }}</ui-switch>
<ui-switch v-model="isCat" @change="save(false)">{{ $t('is-cat') }}
<template #desc>{{ $t('is-cat-desc') }}</template>
</ui-switch>
<ui-switch v-model="isBot" @change="save(false)">{{ $t('is-bot') }}
<template #desc>{{ $t('is-bot-desc') }}</template>
</ui-switch>
<ui-switch v-model="alwaysMarkNsfw">{{ $t('@._settings.always-mark-nsfw') }}</ui-switch>
</div>
</section>
Expand Down

0 comments on commit 35cb4ba

Please sign in to comment.