diff --git a/js/src/views/Posts/PostView.vue b/js/src/views/Posts/PostView.vue index 8ec1b0fb6..40bff220e 100644 --- a/js/src/views/Posts/PostView.vue +++ b/js/src/views/Posts/PostView.vue @@ -6,17 +6,17 @@
-
+
{{ $t("Draft") }}{{ t("Draft") }}

{{ post.title }} @@ -52,7 +52,7 @@ > {{ - $t("Edited {relative_time} ago", { + t("Edited {relative_time} ago", { relative_time: formatDistanceToNowStrict( new Date(post.updatedAt), { @@ -64,7 +64,7 @@ - {{ $t("Accessible only by link") }} + {{ t("Accessible only by link") }} {{ - $t("Accessible only to members", { + t("Accessible only to members", { group: post.attributedTo?.name, }) }} @@ -82,24 +82,27 @@ - {{ $t("Edit") }} + > + + {{ t("Edit") }} + - {{ $t("Delete") }} - +
- - {{ $t("Share this event") }} - - + - - {{ $t("Report") }} - - +

{{ - $t( + t( "This post is accessible only for members. You have access to it for moderation purposes only because you are an instance moderator." ) }} @@ -173,10 +175,10 @@
-
+
@@ -202,7 +204,7 @@ v-model:active="isShareModalActive" has-modal-card ref="shareModal" - :close-button-aria-label="$t('Close')" + :close-button-aria-label="t('Close')" > @@ -241,6 +243,10 @@ import { useRouter } from "vue-router"; import { useCreateReport } from "@/composition/apollo/report"; import Clock from "vue-material-design-icons/Clock.vue"; import Lock from "vue-material-design-icons/Lock.vue"; +import Pencil from "vue-material-design-icons/Pencil.vue"; +import Delete from "vue-material-design-icons/Delete.vue"; +import Share from "vue-material-design-icons/Share.vue"; +import Flag from "vue-material-design-icons/Flag.vue"; import { Dialog } from "@/plugins/dialog"; import { useI18n } from "vue-i18n"; import { Notifier } from "@/plugins/notifier";