Add translation to content warning in MKNote.vue

This commit is contained in:
TalonTheDragon 2023-05-22 10:56:42 +02:00
parent 1c275c9114
commit 4ae3eea8a3

View file

@ -472,7 +472,7 @@ const accessibleLabel = computed(() => {
} }
} else { } else {
if (props.note.cw) { if (props.note.cw) {
label += `content warning: ${props.note.cw}; `; label += `${i18n.t("cw")}: ${props.note.cw}; `;
} else { } else {
label += `${props.note.text}; `; label += `${props.note.text}; `;
} }