From 4ae3eea8a33800465b47fc8e1ae17ff46aa0a974 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 c43ee0c3d0..cac0461b42 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}; `; }