Skip to content

Commit

Permalink
Add missing redirects and fix i18n order
Browse files Browse the repository at this point in the history
  • Loading branch information
erskingardner committed Oct 31, 2023
1 parent 3cc40ad commit 47d3d9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/lib/data/redirects.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
export const redirects = [
{ old: "/en", new: "/en/get-started" },
{ old: "/de", new: "/de/get-started" },
{ old: "/fa", new: "/fa/get-started" },
{ old: "/en", new: "/en/get-started" },
{ old: "/es", new: "/es/get-started" },
{ old: "/fa", new: "/fa/get-started" },
{ old: "/fr", new: "/fr/get-started" },
{ old: "/it", new: "/it/get-started" },
{ old: "/jp", new: "/jp/get-started" },
{ old: "/pt", new: "/pt/get-started" },
{ old: "/zh", new: "/zh/get-started" },
{ old: "/relays/implementations", new: "/en/relay-implementations" },
{ old: "/clients/iris", new: "/en/guides/iris" },
{ old: "/es/guias/iris", new: "/es/guides/iris" },
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ register("fa", () => import("$lib/locales/fa.json"));
register("fr", () => import("$lib/locales/fr.json"));
register("it", () => import("$lib/locales/it.json"));
register("jp", () => import("$lib/locales/jp.json"));
register("zh", () => import("$lib/locales/zh.json"));
register("pt", () => import("$lib/locales/pt.json"));
register("zh", () => import("$lib/locales/zh.json"));

interface i18nOpts {
locale: string;
Expand Down

1 comment on commit 47d3d9f

@vercel
Copy link

@vercel vercel bot commented on 47d3d9f Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.