From 4842418ab6e99413af5bab96628b6e8c157c7cd6 Mon Sep 17 00:00:00 2001 From: oupula Date: Tue, 30 Sep 2025 13:13:35 +0800 Subject: [PATCH] add i18n support --- ui/src/routes/devices.$id.settings.video.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/routes/devices.$id.settings.video.tsx b/ui/src/routes/devices.$id.settings.video.tsx index cd01a3ae..40f0f002 100644 --- a/ui/src/routes/devices.$id.settings.video.tsx +++ b/ui/src/routes/devices.$id.settings.video.tsx @@ -126,7 +126,7 @@ export default function SettingsVideoRoute() { } notifications.success( - t('EDID_set_successfully_to_msg',edids.find(x => x.value === newEdid)?.label ?? t('the_custom_EDID')) + t('EDID_set_successfully_to_msg',{msg:edids.find(x => x.value === newEdid)?.label ?? t('the_custom_EDID')}) ); // Update the EDID value in the UI setEdid(newEdid);