diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/settings_modal/tabs/profile_tab.js | 2 | ||||
| -rw-r--r-- | src/components/settings_modal/tabs/profile_tab.vue | 5 | ||||
| -rw-r--r-- | src/i18n/en.json | 1 | ||||
| -rw-r--r-- | src/i18n/ru.json | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/src/components/settings_modal/tabs/profile_tab.js b/src/components/settings_modal/tabs/profile_tab.js index 8658b097..56e956cd 100644 --- a/src/components/settings_modal/tabs/profile_tab.js +++ b/src/components/settings_modal/tabs/profile_tab.js @@ -23,6 +23,7 @@ const ProfileTab = { showRole: this.$store.state.users.currentUser.show_role, role: this.$store.state.users.currentUser.role, discoverable: this.$store.state.users.currentUser.discoverable, + bot: this.$store.state.users.currentUser.bot, allowFollowingMove: this.$store.state.users.currentUser.allow_following_move, pickAvatarBtnVisible: true, bannerUploading: false, @@ -79,6 +80,7 @@ const ProfileTab = { hide_follows: this.hideFollows, hide_followers: this.hideFollowers, discoverable: this.discoverable, + bot: this.bot, allow_following_move: this.allowFollowingMove, hide_follows_count: this.hideFollowsCount, hide_followers_count: this.hideFollowersCount, diff --git a/src/components/settings_modal/tabs/profile_tab.vue b/src/components/settings_modal/tabs/profile_tab.vue index fff4f970..decdb389 100644 --- a/src/components/settings_modal/tabs/profile_tab.vue +++ b/src/components/settings_modal/tabs/profile_tab.vue @@ -95,6 +95,11 @@ {{ $t('settings.discoverable') }} </Checkbox> </p> + <p> + <Checkbox v-model="bot"> + {{ $t('settings.bot') }} + </Checkbox> + </p> <button :disabled="newName && newName.length === 0" class="btn btn-default" diff --git a/src/i18n/en.json b/src/i18n/en.json index eefe10e5..4553d25d 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -266,6 +266,7 @@ "block_import_error": "Error importing blocks", "blocks_imported": "Blocks imported! Processing them will take a while.", "blocks_tab": "Blocks", + "bot": "This is a bot account", "btnRadius": "Buttons", "cBlue": "Blue (Reply, follow)", "cGreen": "Green (Retweet)", diff --git a/src/i18n/ru.json b/src/i18n/ru.json index f9a72954..aa78db26 100644 --- a/src/i18n/ru.json +++ b/src/i18n/ru.json @@ -130,6 +130,7 @@ "background": "Фон", "bio": "Описание", "btnRadius": "Кнопки", + "bot": "Это аккаунт бота", "cBlue": "Ответить, читать", "cGreen": "Повторить", "cOrange": "Нравится", |
