i18n.t: updates
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
|
||||
const actionHandler = async (actionId) => {
|
||||
if (!model) {
|
||||
toast.error('Model not selected');
|
||||
toast.error($i18n.t('Model not selected'));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
let selectedAction = actions.find((action) => action.id === actionId);
|
||||
if (!selectedAction) {
|
||||
toast.error('Action not found');
|
||||
toast.error($i18n.t('Action not found'));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
toast.error('An error occurred while fetching the explanation');
|
||||
toast.error($i18n.t('An error occurred while fetching the explanation'));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user