feat(admin): implement pregnancy and birth management features
Some checks failed
Deploy to production / deploy (push) Failing after 2m6s
Some checks failed
Deploy to production / deploy (push) Failing after 2m6s
- Added new admin functionalities to force pregnancy, clear pregnancy, and trigger birth for characters. - Introduced corresponding routes and controller methods in adminRouter and adminController. - Enhanced the FalukantCharacter model to include pregnancy-related fields. - Created database migration for adding pregnancy columns to the character table. - Updated frontend views and internationalization files to support new pregnancy and birth management features. - Improved user feedback and error handling for these new actions.
This commit is contained in:
@@ -168,7 +168,40 @@
|
||||
"errorLoadingStockTypes": "Error al cargar los tipos de almacén.",
|
||||
"errorAddingStock": "Error al añadir el almacén.",
|
||||
"stockAdded": "Almacén añadido correctamente.",
|
||||
"invalidStockData": "Por favor, introduce un tipo de almacén y una cantidad válidos."
|
||||
"invalidStockData": "Por favor, introduce un tipo de almacén y una cantidad válidos.",
|
||||
"pregnancy": {
|
||||
"title": "Embarazo (admin)",
|
||||
"characterId": "ID de personaje",
|
||||
"status": "Estado",
|
||||
"statusActive": "Embarazo hasta",
|
||||
"statusNone": "No embarazada",
|
||||
"fatherId": "ID del padre (opcional)",
|
||||
"dueDays": "Días hasta el parto previsto",
|
||||
"force": "Establecer embarazo",
|
||||
"clear": "Quitar embarazo",
|
||||
"successForce": "Embarazo establecido.",
|
||||
"successClear": "Embarazo eliminado.",
|
||||
"error": "La acción ha fallado."
|
||||
},
|
||||
"birth": {
|
||||
"title": "Forzar nacimiento (admin)",
|
||||
"motherHint": "Se usa el personaje indicado arriba como madre.",
|
||||
"fatherId": "ID del padre",
|
||||
"context": "Contexto",
|
||||
"contextMarriage": "Matrimonio",
|
||||
"contextLover": "Amante",
|
||||
"legitimacy": "Legitimidad",
|
||||
"legitimate": "Legítimo",
|
||||
"ackBastard": "Bastardo reconocido",
|
||||
"hiddenBastard": "Bastardo oculto",
|
||||
"gender": "Sexo del niño",
|
||||
"genderRandom": "Aleatorio",
|
||||
"male": "Masculino",
|
||||
"female": "Femenino",
|
||||
"force": "Provocar nacimiento",
|
||||
"success": "Niño creado (bautizo pendiente).",
|
||||
"error": "No se pudo provocar el nacimiento."
|
||||
}
|
||||
},
|
||||
"map": {
|
||||
"title": "Editor de mapas de Falukant (regiones)",
|
||||
|
||||
@@ -521,6 +521,10 @@
|
||||
"familyWarning": "La mora continuada perjudica el matrimonio, el hogar y las relaciones.",
|
||||
"familyImpact": "La prisión por deudas daña el matrimonio, la paz del hogar y la estabilidad de las relaciones."
|
||||
},
|
||||
"pregnancy": {
|
||||
"banner": "Esperas un hijo.",
|
||||
"dueHint": "Fecha prevista de nacimiento"
|
||||
},
|
||||
"spouse": {
|
||||
"title": "Relación",
|
||||
"name": "Nombre",
|
||||
|
||||
Reference in New Issue
Block a user