fix capitalization (and localization of tooltips for scope icon)
This commit is contained in:
parent
7afa6c9f40
commit
d524e98348
3 changed files with 11 additions and 7 deletions
|
@ -389,6 +389,9 @@ const Status = {
|
||||||
},
|
},
|
||||||
threadShowing () {
|
threadShowing () {
|
||||||
return this.controlledThreadDisplayStatus === 'showing'
|
return this.controlledThreadDisplayStatus === 'showing'
|
||||||
|
},
|
||||||
|
visibilityLocalized () {
|
||||||
|
return this.$i18n.t('general.scope_in_timeline.' + this.status.visibility)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -478,11 +481,6 @@ const Status = {
|
||||||
'isSuspendable': function (val) {
|
'isSuspendable': function (val) {
|
||||||
this.suspendable = val
|
this.suspendable = val
|
||||||
}
|
}
|
||||||
},
|
|
||||||
filters: {
|
|
||||||
capitalize: function (str) {
|
|
||||||
return str.charAt(0).toUpperCase() + str.slice(1)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -192,7 +192,7 @@
|
||||||
<span
|
<span
|
||||||
v-if="status.visibility"
|
v-if="status.visibility"
|
||||||
class="visibility-icon"
|
class="visibility-icon"
|
||||||
:title="status.visibility"
|
:title="visibilityLocalized"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
fixed-width
|
fixed-width
|
||||||
|
|
|
@ -85,7 +85,13 @@
|
||||||
},
|
},
|
||||||
"flash_content": "Click to show Flash content using Ruffle (Experimental, may not work).",
|
"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_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": {
|
"image_cropper": {
|
||||||
"crop_picture": "Crop picture",
|
"crop_picture": "Crop picture",
|
||||||
|
|
Loading…
Reference in a new issue