add i18n support

This commit is contained in:
oupula 2025-09-30 13:13:35 +08:00
parent 353b58a835
commit 4842418ab6
1 changed files with 1 additions and 1 deletions

View File

@ -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);