fix(web): translations (#10021)
This commit is contained in:
+1
-1
@@ -364,7 +364,7 @@
|
||||
await deleteAlbum({ id: album.id });
|
||||
await goto(backUrl);
|
||||
} catch (error) {
|
||||
handleError(error, $t('unable_to_delete_album'));
|
||||
handleError(error, $t('errors.unable_to_delete_album'));
|
||||
} finally {
|
||||
viewMode = ViewMode.VIEW;
|
||||
}
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
type: NotificationType.Info,
|
||||
});
|
||||
} catch (error) {
|
||||
handleError(error, $t('unable_to_save_name'));
|
||||
handleError(error, $t('errors.unable_to_save_name'));
|
||||
}
|
||||
if (personToBeMergedIn.name !== personName && edittingPerson.id === personToBeMergedIn.id) {
|
||||
/*
|
||||
@@ -235,7 +235,7 @@
|
||||
// trigger reactivity
|
||||
people = people;
|
||||
} catch (error) {
|
||||
handleError(error, $t('unable_to_save_name'));
|
||||
handleError(error, $t('errors.unable_to_save_name'));
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -279,7 +279,7 @@
|
||||
type: NotificationType.Info,
|
||||
});
|
||||
} catch (error) {
|
||||
handleError(error, $t('unable_to_hide_person'));
|
||||
handleError(error, $t('errors.unable_to_hide_person'));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -350,7 +350,7 @@
|
||||
type: NotificationType.Info,
|
||||
});
|
||||
} catch (error) {
|
||||
handleError(error, $t('unable_to_save_name'));
|
||||
handleError(error, $t('errors.unable_to_save_name'));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -377,7 +377,7 @@
|
||||
type: NotificationType.Info,
|
||||
});
|
||||
} catch (error) {
|
||||
handleError(error, $t('unable_to_save_name'));
|
||||
handleError(error, $t('errors.unable_to_save_name'));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+3
-3
@@ -189,7 +189,7 @@
|
||||
|
||||
await goto(previousRoute, { replaceState: true });
|
||||
} catch (error) {
|
||||
handleError(error, $t('unable_to_hide_person'));
|
||||
handleError(error, $t('errors.unable_to_hide_person'));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -236,7 +236,7 @@
|
||||
}
|
||||
await goto(`${AppRoute.PEOPLE}/${personToBeMergedIn.id}`, { replaceState: true });
|
||||
} catch (error) {
|
||||
handleError(error, $t('unable_to_save_name'));
|
||||
handleError(error, $t('errors.unable_to_save_name'));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -262,7 +262,7 @@
|
||||
type: NotificationType.Info,
|
||||
});
|
||||
} catch (error) {
|
||||
handleError(error, $t('unable_to_save_name'));
|
||||
handleError(error, $t('errors.unable_to_save_name'));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@
|
||||
type: NotificationType.Info,
|
||||
});
|
||||
} catch (error) {
|
||||
handleError(error, $t('unable_to_resolve_duplicate'));
|
||||
handleError(error, $t('errors.unable_to_resolve_duplicate'));
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user