Add income update success message in DirectorInfo component
- Implemented a success message display for income updates in the DirectorInfo component, enhancing user feedback after successful updates. - Added a timeout to automatically hide the success message after 3 seconds. - Updated localization files to include new translations for income-related messages in both German and English, improving user experience for multilingual users.
This commit is contained in:
@@ -149,6 +149,8 @@
|
||||
},
|
||||
"name": "Name",
|
||||
"salary": "Gehalt",
|
||||
"income": "Einkommen",
|
||||
"incomeUpdated": "Gehalt wurde erfolgreich aktualisiert.",
|
||||
"satisfaction": "Zufriedenheit",
|
||||
"fire": "Feuern",
|
||||
"teach": "Weiterbilden",
|
||||
@@ -838,6 +840,7 @@
|
||||
"governor": "Gouverneur",
|
||||
"super-state-administrator": "Oberstaatsverwalter",
|
||||
"state-administrator": "Staatsverwalter",
|
||||
"consultant": "Berater",
|
||||
"ruler-consultant": "Berater des Herrschers",
|
||||
"territorial-council-speaker": "Sprecher des Territorialrats",
|
||||
"territorial-council": "Territorialrat",
|
||||
|
||||
@@ -98,6 +98,10 @@
|
||||
"selectedcity": "Selected City",
|
||||
"weather": "Current Weather"
|
||||
},
|
||||
"director": {
|
||||
"income": "Income",
|
||||
"incomeUpdated": "Salary has been successfully updated."
|
||||
},
|
||||
"vehicles": {
|
||||
"cargo_cart": "Cargo cart",
|
||||
"ox_cart": "Ox cart",
|
||||
@@ -113,6 +117,74 @@
|
||||
},
|
||||
"branchProduction": {
|
||||
"storageAvailable": "Free storage"
|
||||
},
|
||||
"politics": {
|
||||
"title": "Politics",
|
||||
"tabs": {
|
||||
"current": "Current Position",
|
||||
"upcoming": "Upcoming Positions",
|
||||
"elections": "Elections"
|
||||
},
|
||||
"current": {
|
||||
"office": "Office",
|
||||
"region": "Region",
|
||||
"termEnds": "Term Ends",
|
||||
"income": "Income",
|
||||
"none": "No current position available.",
|
||||
"holder": "Holder"
|
||||
},
|
||||
"open": {
|
||||
"office": "Office",
|
||||
"region": "Region",
|
||||
"date": "Date",
|
||||
"candidacy": "Candidacy",
|
||||
"none": "No open positions.",
|
||||
"apply": "Apply for selected positions"
|
||||
},
|
||||
"upcoming": {
|
||||
"office": "Office",
|
||||
"region": "Region",
|
||||
"postDate": "Date",
|
||||
"none": "No upcoming positions."
|
||||
},
|
||||
"elections": {
|
||||
"office": "Office",
|
||||
"region": "Region",
|
||||
"date": "Date",
|
||||
"posts": "Posts to Fill",
|
||||
"none": "No elections available.",
|
||||
"choose": "Candidates",
|
||||
"vote": "Vote",
|
||||
"voteAll": "Vote All",
|
||||
"candidates": "Candidates",
|
||||
"action": "Action"
|
||||
},
|
||||
"offices": {
|
||||
"chancellor": "Chancellor",
|
||||
"minister": "Minister",
|
||||
"ministry-helper": "Ministry Helper",
|
||||
"governor": "Governor",
|
||||
"super-state-administrator": "Super State Administrator",
|
||||
"state-administrator": "State Administrator",
|
||||
"consultant": "Consultant",
|
||||
"ruler-consultant": "Ruler's Consultant",
|
||||
"territorial-council-speaker": "Territorial Council Speaker",
|
||||
"territorial-council": "Territorial Council",
|
||||
"hangman": "Hangman",
|
||||
"treasurer": "Treasurer",
|
||||
"sheriff": "Sheriff",
|
||||
"taxman": "Tax Collector",
|
||||
"bailif": "Bailiff",
|
||||
"judge": "Judge",
|
||||
"village-major": "Village Major",
|
||||
"master-builder": "Master Builder",
|
||||
"mayor": "Mayor",
|
||||
"town-clerk": "Town Clerk",
|
||||
"beadle": "Beadle",
|
||||
"council": "Council Member",
|
||||
"councillor": "Councillor",
|
||||
"assessor": "Assessor"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user