feat(falukant): enhance notification handling and localization updates
All checks were successful
Deploy to production / deploy (push) Successful in 2m52s
All checks were successful
Deploy to production / deploy (push) Successful in 2m52s
- Updated the `enrichNotificationsWithCharacterNames` method in FalukantService to include region name enrichment and handle additional character IDs. - Introduced a new `serializeNotificationForClient` function to format notifications for the client, ensuring all relevant data is included. - Enhanced the MessagesDialog component to merge notification payloads and extract parameters more effectively, improving the clarity of displayed messages. - Added new localization entries for director resignation risk and regional festival effects in multiple languages, ensuring comprehensive user notifications.
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
"notify_election_created": "Une nouvelle élection a été déclenchée.",
|
||||
"notify_office_filled": "Une fonction politique a été pourvue.",
|
||||
"director": {
|
||||
"resignation_risk_high": "Risque élevé de démission d’un directeur : risque {risk_percent}% (seuil {threshold_percent}%). Satisfaction actuelle {satisfaction}."
|
||||
"resignation_risk_high": "Risque élevé de démission du directeur {directorName} : risque {risk_percent}% (seuil {threshold_percent}%). Satisfaction actuelle {satisfaction}."
|
||||
},
|
||||
"director_death": "{characterName} est décédé à l'âge de {ageYears}. En tant qu'employeur, vous devez remplir le conseil d'administration.{regionLabel}{spouses}{children}{lovers}",
|
||||
"relationship_death": "{characterName} est décédé à l'âge de {ageYears}.{regionLabel}{spouses}{children}{lovers}",
|
||||
@@ -95,7 +95,13 @@
|
||||
},
|
||||
"regional_festival": {
|
||||
"title": "Fête régionale",
|
||||
"description": "Un grand festival a lieu dans la région {regionName}."
|
||||
"description": "Un grand festival a lieu dans la région {regionName}.{priceEffectLine}"
|
||||
},
|
||||
"effects": {
|
||||
"price_effect_suffix": " Effet : variation attendue des prix des marchandises ~{percent} %.",
|
||||
"festival_weather_line": "Le temps dans la région change.",
|
||||
"festival_price_line": "Prix des marchandises ~{percent} %.",
|
||||
"festival_quality_line": "Qualité de production ~{change}."
|
||||
},
|
||||
"regional_epidemic": {
|
||||
"title": "Épidémie",
|
||||
|
||||
Reference in New Issue
Block a user