This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jwcub
committed
Mar 2, 2024
1 parent
b722655
commit dda4b98
Showing
19 changed files
with
112 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
import type { ParseKeys } from "i18next"; | ||
|
||
import type translation from "@/public/locales/en/translation.json"; | ||
import type translation from "@/static/locales/en.json"; | ||
|
||
import type i18n from "./i18n"; | ||
|
||
declare module "i18next" { | ||
interface CustomTypeOptions { | ||
defaultNS: "translation"; | ||
defaultNS: i18n.ns; | ||
resources: { | ||
translation: typeof translation; | ||
}; | ||
} | ||
} | ||
|
||
type TFunctionArg = ParseKeys<"translation">; | ||
type TFunctionArg = ParseKeys<i18n.ns>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
p { | ||
margin-top: 1rem; | ||
|
||
&:first-child { | ||
margin-top: 0; | ||
} | ||
|
Oops, something went wrong.