Skip to content
This repository was archived by the owner on May 25, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 37 additions & 17 deletions generators/app/templates/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@
"unsupported": "Unsupported media type",
"maximumFiles": "Sorry, you have exceeded the maximum number of files allowed per upload"
},
"autosaveNotification": "Profile changes are saved immediately. There is no undo."
"autosaveNotification": "Profile changes are saved immediately. There is no undo.",
"warningResolution": "Field value has been updated to:",
"minMxNumberInclusive": "Error: Min and max should be ",
"minMxNumberExclusive": "Error: Min and max value should be ",
"minMaxString": "Error: Min and max should be ",
"defaultError": "Error: Field value has wrong format"
}
}
7 changes: 6 additions & 1 deletion generators/app/templates/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@
"unsupported": "Unsupported media type",
"maximumFiles": "Sorry, you have exceeded the maximum number of files allowed per upload"
},
"autosaveNotification": "Profile changes are saved immediately. There is no undo."
"autosaveNotification": "Profile changes are saved immediately. There is no undo.",
"warningResolution": "Field value has been updated to:",
"minMxNumberInclusive": "Error: Min and max should be ",
"minMxNumberExclusive": "Error: Min and max value should be ",
"minMaxString": "Error: Min and max should be ",
"defaultError": "Error: Field value has wrong format"
}
}
7 changes: 6 additions & 1 deletion generators/app/templates/public/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@
"unsupported": "Formato no soportado",
"maximumFiles": "Disculpe, has excedido la cantidad máxima de archivos permitidos por subida"
},
"autosaveNotification": "Cambios realizados en el Perfil son guardados automáticamente. No se puede deshacer."
"autosaveNotification": "Cambios realizados en el Perfil son guardados automáticamente. No se puede deshacer.",
"warningResolution": "El valor del campo se ha actualizado a ",
"minMxNumberInclusive": "Error: Mínimo y máximo debería ser ",
"minMxNumberExclusive": "Error: Mínimo y máximo debería ser ",
"minMaxString": "Error: Mínimo y máximo debería ser ",
"defaultError": "Error: Formato incorrecto"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ const Profile = ({ toastManager }) => {
dropdownDefaultText: t(
'profile.dropdownDefaultText'
),
warningResolution: t('profile.warningResolution'),
formValidate: {
minMxNumberInclusive: t('profile.minMxNumberInclusive'),
minMxNumberExclusive: t('profile.minMxNumberExclusive'),
minMaxString: t('profile.minMaxString'),
default: t('profile.defaultError')
}
},
successCallback,
errorCallback,
Expand Down