Skip to content

Commit

Permalink
fix translation keys
Browse files Browse the repository at this point in the history
  • Loading branch information
cmintey committed Dec 2, 2024
1 parent 59daad4 commit b33577b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/+error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
const errors: Record<number, ErrorInfo> = {
401: {
image: unauthorizedAsset,
message: $t("errors.unauthorized")
message: $t("errors.not-authorized")
},
404: {
image: notFoundAsset,
Expand Down
2 changes: 1 addition & 1 deletion src/routes/wishlists/[username]/events/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getFormatter } from "$lib/i18n";
export const GET = (async ({ locals, params }) => {
const $t = await getFormatter();
if (!locals.user) {
error(401, $t("errors.unauthorized"));
error(401, $t("errors.not-authorized"));
}

const [wishlistUser, activeGroup] = await Promise.all([
Expand Down

0 comments on commit b33577b

Please sign in to comment.