diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/status/status.js | 8 | ||||
| -rw-r--r-- | src/components/status/status.vue | 2 | ||||
| -rw-r--r-- | src/i18n/en.json | 8 |
3 files changed, 11 insertions, 7 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index e54be241..088ddcc5 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 3f352f03..ceb5a95a 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -192,7 +192,7 @@ <span v-if="status.visibility" class="visibility-icon" - :title="status.visibility" + :title="visibilityLocalized" > <FAIcon fixed-width diff --git a/src/i18n/en.json b/src/i18n/en.json index f3401e61..d0af7268 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -85,7 +85,13 @@ }, "flash_content": "Click to show Flash content using Ruffle (Experimental, may not work).", "flash_security": "Note that this can be potentially dangerous since Flash content is still arbitrary code.", - "flash_fail": "Failed to load flash content, see console for details." + "flash_fail": "Failed to load flash content, see console for details.", + "scope_in_timeline": { + "direct": "Direct", + "private": "Followers-only", + "public": "Public", + "unlisted": "Unlisted" + } }, "image_cropper": { "crop_picture": "Crop picture", |
