fix: fixing typo on length

This commit is contained in:
Chubby Granny Chaser
2025-05-30 14:14:39 +01:00
parent 4d950b30fb
commit 046debffa0
3 changed files with 3 additions and 3 deletions

View File

@@ -213,7 +213,7 @@
"artifact_name_placeholder": "Enter a name for the backup",
"save_changes": "Save changes",
"required_field": "This field is required",
"max_length_field": "This field must be less than {{lenght}} characters",
"max_length_field": "This field must be less than {{length}} characters",
"freeze_backup": "Pin it so it's not overwritten by automatic backups",
"unfreeze_backup": "Unpin it",
"backup_frozen": "Backup pinned",

View File

@@ -200,7 +200,7 @@
"artifact_name_placeholder": "Insira um nome para o backup",
"save_changes": "Salvar mudanças",
"required_field": "Este campo é obrigatório",
"max_length_field": "Este campo deve ter menos de {{lenght}} caracteres",
"max_length_field": "Este campo deve ter menos de {{length}} caracteres",
"freeze_backup": "Fixar para não ser apagado por backups automáticos",
"unfreeze_backup": "Remover dos fixados",
"backup_frozen": "Backup fixado",

View File

@@ -28,7 +28,7 @@ export function CloudSyncRenameArtifactModal({
label: yup
.string()
.required(t("required_field"))
.max(255, t("max_length_field", { lenght: 255 })),
.max(255, t("max_length_field", { length: 255 })),
});
const { getGameArtifacts } = useContext(cloudSyncContext);