diff options
author | INOUE Daisuke <inoue.daisuke@gmail.com> | 2025-04-02 01:49:11 +0900 |
---|---|---|
committer | INOUE Daisuke <inoue.daisuke@gmail.com> | 2025-04-08 22:24:46 +0900 |
commit | 1fd6a7d2249fdf6ba5ca9ced6ea43348ebe0941d (patch) | |
tree | ea1344af0d6259ce70c99f556f26a86d29d9440f /src/routes/magicLink.ts | |
parent | b56f838718386e611af71a74b479a331b832da79 (diff) |
rename translation keys as filestructure
Diffstat (limited to 'src/routes/magicLink.ts')
-rw-r--r-- | src/routes/magicLink.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/magicLink.ts b/src/routes/magicLink.ts index 5eb424b..14312c1 100644 --- a/src/routes/magicLink.ts +++ b/src/routes/magicLink.ts @@ -17,7 +17,7 @@ router.post("/magic-link/event/create", async (req: Request, res: Response) => { ...frontendConfig(res), message: { type: "danger", - text: i18next.t("ml.provideemail"), + text: i18next.t("routes.magiclink.provideemail"), }, }); return; @@ -32,7 +32,7 @@ router.post("/magic-link/event/create", async (req: Request, res: Response) => { ...frontendConfig(res), message: { type: "success", - text: i18next.t("ml.thanks"), + text: i18next.t("routes.magiclink.thanks"), }, }); return; @@ -52,7 +52,7 @@ router.post("/magic-link/event/create", async (req: Request, res: Response) => { sendEmailFromTemplate( email, "", - i18next.t("ml.mailsubject"), + i18next.t("routes.magiclink.mailsubject"), "createEventMagicLink", { token, @@ -66,7 +66,7 @@ router.post("/magic-link/event/create", async (req: Request, res: Response) => { ...frontendConfig(res), message: { type: "success", - text: i18next.t("ml.thanks"), + text: i18next.t("routes.magiclink.thanks"), }, }); }); |