|
|
@@ -137,18 +137,16 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
|
|
|
|
|
|
// force open
|
|
|
setIsOpen(true);
|
|
|
-
|
|
|
- toastSuccess('TODO: i18n Successfully moved pages.');
|
|
|
}
|
|
|
catch (err) {
|
|
|
// display the dropped item
|
|
|
displayDroppedItemByPageId(droppedPage._id);
|
|
|
|
|
|
if (err.code === 'operation__blocked') {
|
|
|
- toastWarning('TODO: i18n You cannot move this page now.');
|
|
|
+ toastWarning(t('pagetree.you_cannot_move_this_page_now'));
|
|
|
}
|
|
|
else {
|
|
|
- toastError('TODO: i18n Something went wrong with moving page.');
|
|
|
+ toastError(t('pagetree.something_went_wrong_with_moving_page'));
|
|
|
}
|
|
|
}
|
|
|
};
|