From 670d9ed4d3a16861a0fddc1162692c30ed64754d Mon Sep 17 00:00:00 2001 From: TalonTheDragon Date: Mon, 22 May 2023 10:56:42 +0200 Subject: [PATCH] Add translation to content warning in MKNote.vue --- packages/client/src/components/MkNote.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index c43ee0c3d..cac0461b4 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -472,7 +472,7 @@ const accessibleLabel = computed(() => { } } else { if (props.note.cw) { - label += `content warning: ${props.note.cw}; `; + label += `${i18n.t("cw")}: ${props.note.cw}; `; } else { label += `${props.note.text}; `; }