diff --git a/src/components/status/status.js b/src/components/status/status.js index 550fe76ff4..0295cd0426 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -251,6 +251,12 @@ const Status = { }, maxThumbnails () { return this.$store.state.config.maxThumbnails + }, + contentHtml () { + if (!this.status.summary_html) { + return this.status.statusnet_html + } + return this.status.summary_html + '
' + this.status.statusnet_html } }, components: { diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 1f41553427..690e8318ed 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -98,16 +98,16 @@
- Show more -
- Show less + {{$t("general.show_more")}} +
+ {{$t("general.show_less")}}
- Show more -
+ {{$t("general.show_more")}} +
- Show more - Show less + {{$t("general.show_more")}} + {{$t("general.show_less")}}
diff --git a/src/i18n/en.json b/src/i18n/en.json index c501c6a79b..baf3b28a4c 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -20,7 +20,9 @@ "submit": "Submit", "more": "More", "generic_error": "An error occured", - "optional": "optional" + "optional": "optional", + "show_more": "Show more", + "show_less": "Show less" }, "image_cropper": { "crop_picture": "Crop picture",