Enhance health activity error handling: Implement detailed error responses in FalukantController for 'tooClose' scenarios, including retry timing. Update localization files for improved user feedback on health measures and errors. Refactor error handling in HealthView to display appropriate messages based on error responses.
This commit is contained in:
@@ -197,7 +197,32 @@
|
||||
},
|
||||
"nobility": {
|
||||
"cooldown": "You can only advance again on {date}."
|
||||
},
|
||||
},
|
||||
"healthview": {
|
||||
"title": "Health",
|
||||
"age": "Age",
|
||||
"status": "Health Status",
|
||||
"measuresTaken": "Measures Taken",
|
||||
"measure": "Measure",
|
||||
"date": "Date",
|
||||
"cost": "Cost",
|
||||
"success": "Success",
|
||||
"selectMeasure": "Select Measure",
|
||||
"perform": "Perform",
|
||||
"measures": {
|
||||
"pill": "Pill",
|
||||
"doctor": "Doctor Visit",
|
||||
"witch": "Witch",
|
||||
"drunkOfLife": "Elixir of Life",
|
||||
"barber": "Barber"
|
||||
},
|
||||
"choose": "Please select",
|
||||
"errors": {
|
||||
"tooClose": "You cannot perform measures so often.",
|
||||
"generic": "An error occurred."
|
||||
},
|
||||
"nextMeasureAt": "Next measure from"
|
||||
},
|
||||
"branchProduction": {
|
||||
"storageAvailable": "Free storage"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user