Add translation to content warning in MKNote.vue
This commit is contained in:
parent
1c275c9114
commit
4ae3eea8a3
|
@ -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}; `;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue