feat: add translation for proxy form notifications
This commit is contained in:
@@ -84,10 +84,10 @@ const ProxyForm: React.FC = () => {
|
|||||||
notify('success', t('proxy.notifications.config_success'));
|
notify('success', t('proxy.notifications.config_success'));
|
||||||
} else {
|
} else {
|
||||||
notify('error', t('proxy.notifications.config_error'));
|
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) {
|
} catch (error: any) {
|
||||||
notify('error', `${error} : Failed to submit proxy configuration`);
|
notify('error', `${error} : ${t('proxy.notifications.config_error')}`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user