diff --git a/src/components/status/status.js b/src/components/status/status.js index e54be241b8..088ddcc5ec 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -389,6 +389,9 @@ const Status = { }, threadShowing () { return this.controlledThreadDisplayStatus === 'showing' + }, + visibilityLocalized () { + return this.$i18n.t('general.scope_in_timeline.' + this.status.visibility) } }, methods: { @@ -478,11 +481,6 @@ const Status = { 'isSuspendable': function (val) { this.suspendable = val } - }, - filters: { - capitalize: function (str) { - return str.charAt(0).toUpperCase() + str.slice(1) - } } } diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 3f352f03fb..ceb5a95a21 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -192,7 +192,7 @@