feat: add translation for proxy form notifications

This commit is contained in:
RohitR311
2024-12-21 16:19:04 +05:30
parent 3d4ec211e7
commit 329aff1ce9

View File

@@ -84,10 +84,10 @@ const ProxyForm: React.FC = () => {
notify('success', t('proxy.notifications.config_success'));
} else {
notify('error', t('proxy.notifications.config_error'));
console.log(`Failed to submit proxy configuration. Try again. ${response}`)
console.log(`${t('proxy.notifications.config_error')} ${response}`)
}
} catch (error: any) {
notify('error', `${error} : Failed to submit proxy configuration`);
notify('error', `${error} : ${t('proxy.notifications.config_error')}`);
}
};