Implement church career information retrieval and update related components: Add a new method in FalukantService to fetch church career details for characters, including current and approved office levels. Enhance DashboardWidget, StatusBar, and ChurchView components to handle new church-related socket events and display relevant information. Update localization files for church-related terms and error messages in English, German, and Spanish.

This commit is contained in:
Torsten Schulz (local)
2026-03-23 11:05:48 +01:00
parent 207daeb5f8
commit fef4b459ee
10 changed files with 749 additions and 24 deletions

View File

@@ -455,6 +455,7 @@ export default {
'falukantUpdateStatus',
'falukantUpdateFamily',
'children_update',
'falukantUpdateChurch',
'familychanged',
'falukant_family_scandal_hint'
].includes(message.event)) {
@@ -513,7 +514,7 @@ export default {
} else if (eventData.reason === 'lover_birth') {
showInfo(this, this.$t('falukant.family.notifications.loverBirth'));
}
this.queueFamilyRefresh({ reloadCharacter: eventData.reason === 'monthly' || eventData.reason === 'daily' });
this.queueFamilyRefresh({ reloadCharacter: ['monthly', 'daily', 'lover_installment'].includes(eventData.reason) });
break;
}
},