From f4f8019202c5542be58951b392d0bcc01785e195 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 5 Jan 2026 21:04:01 +0100 Subject: [PATCH] translate confirmation boxes --- src/components/Confirm.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/Confirm.vue b/src/components/Confirm.vue index 10eae9d00..3bb6da409 100644 --- a/src/components/Confirm.vue +++ b/src/components/Confirm.vue @@ -37,12 +37,16 @@ export default { /** Text to use as yes */ yesText: { type: String, - default: "Yes", // TODO: No idea what to translate this + default() { + return this.$t("Yes"); + } }, /** Text to use as no */ noText: { type: String, - default: "No", + default() { + return this.$t("No"); + } }, /** Title to show on modal. Defaults to translated version of "Config" */ title: {