Implement age validation for political applications in FalukantService: Added MIN_AGE_POLITICS_DAYS constant and logic to check user age before allowing applications. Updated PoliticsView to reflect age eligibility and display appropriate hints. Enhanced error handling for age-related restrictions.
This commit is contained in:
@@ -364,8 +364,10 @@
|
||||
"date": "Date",
|
||||
"candidacy": "Candidacy",
|
||||
"none": "No open positions.",
|
||||
"apply": "Apply for selected positions"
|
||||
"apply": "Apply for selected positions",
|
||||
"minAgeHint": "Candidacy is only possible from age 16."
|
||||
},
|
||||
"too_young": "Your character is too young. Applications are only possible from age 16.",
|
||||
"upcoming": {
|
||||
"office": "Office",
|
||||
"region": "Region",
|
||||
|
||||
Reference in New Issue
Block a user