refactor: move from next-international to next-intl (#1368)
* refactor: move from next-international to next-intl * refactor: restructure translation package, * chore: change i18n-allay framework to next-intl * fix: add missing bold html tag to translation * fix: format issue * fix: address deepsource issues * fix: remove international-types dependency * fix: lint and typecheck issues * fix: typecheck issue * fix: typecheck issue * fix: issue with translations
This commit is contained in:
@@ -60,7 +60,10 @@ export const UserCreateStepperComponent = () => {
|
||||
})
|
||||
.refine((data) => data.password === data.confirmPassword, {
|
||||
path: ["confirmPassword"],
|
||||
params: createCustomErrorParams("passwordsDoNotMatch"),
|
||||
params: createCustomErrorParams({
|
||||
key: "passwordsDoNotMatch",
|
||||
params: {},
|
||||
}),
|
||||
}),
|
||||
{
|
||||
initialValues: {
|
||||
|
||||
@@ -10,8 +10,8 @@ export const ReservedGroupAlert = async () => {
|
||||
|
||||
return (
|
||||
<Alert variant="light" color="yellow" icon={<IconExclamationCircle size="1rem" stroke={1.5} />}>
|
||||
{t("group.reservedNotice.message", {
|
||||
checkoutDocs: (
|
||||
{t.rich("group.reservedNotice.message", {
|
||||
checkoutDocs: () => (
|
||||
<Anchor
|
||||
size="sm"
|
||||
component={Link}
|
||||
|
||||
Reference in New Issue
Block a user