feat(Director): add autoAdjustIncome feature and enhance director data handling
All checks were successful
Deploy to production / deploy (push) Successful in 1m54s
All checks were successful
Deploy to production / deploy (push) Successful in 1m54s
- Introduced a new boolean field `autoAdjustIncome` in the Director model to manage income adjustments automatically. - Updated the FalukantService to include `autoAdjustIncome` in director data responses and settings management. - Enhanced the DirectorInfo component to allow users to toggle the `autoAdjustIncome` setting. - Updated internationalization files to include translations for the new feature across multiple languages.
This commit is contained in:
@@ -35,7 +35,8 @@
|
||||
"notify_election_created": "Giskedyul ang usa ka bag-ong eleksiyon.",
|
||||
"notify_office_filled": "Na puno ang usa ka politikal nga opisina.",
|
||||
"director": {
|
||||
"resignation_risk_high": "Taas ang risgo nga mobiya ang direktor nga si {directorName}: risgo {risk_percent}% (threshold {threshold_percent}%). Karon nga satisfaction {satisfaction}."
|
||||
"resignation_risk_high": "Taas ang risgo nga mobiya ang direktor nga si {directorName}: risgo {risk_percent}% (threshold {threshold_percent}%). Karon nga satisfaction {satisfaction}.",
|
||||
"resigned": "Nibiya ang direktor nga si {directorName} (satisfaction {satisfaction}, resignation value {resignation_percent}%). Rehiyon: {regionName}."
|
||||
},
|
||||
"director_death": "Namatay si {characterName} sa edad nga {ageYears}. Isip amo, kinahanglan kang magtudlo og bag-ong direktor.{regionLabel}{spouses}{children}{lovers}",
|
||||
"relationship_death": "Namatay si {characterName} sa edad nga {ageYears}.{regionLabel}{spouses}{children}{lovers}",
|
||||
@@ -467,6 +468,7 @@
|
||||
"income": "Kita",
|
||||
"incomeUpdated": "Malampuson nga na-update ang sweldo.",
|
||||
"starttransport": "Makapagsugod og transport",
|
||||
"autoAdjustIncome": "Awtomatikong i-adjust ang sweldo",
|
||||
"emptyTransport": {
|
||||
"title": "Transporte without products",
|
||||
"description": "Move vehicles gikan sa this sangang opisina ngadto sa another ngadto sa use them better.",
|
||||
|
||||
@@ -49,7 +49,8 @@
|
||||
"notify_election_created": "Es wurde eine neue Wahl ausgeschrieben.",
|
||||
"notify_office_filled": "Ein politisches Amt wurde neu besetzt.",
|
||||
"director": {
|
||||
"resignation_risk_high": "Hohe Kündigungsgefahr für den Direktor {directorName}: Risiko {risk_percent} % (Schwelle {threshold_percent} %). Zufriedenheit aktuell {satisfaction}."
|
||||
"resignation_risk_high": "Hohe Kündigungsgefahr für den Direktor {directorName}: Risiko {risk_percent} % (Schwelle {threshold_percent} %). Zufriedenheit aktuell {satisfaction}.",
|
||||
"resigned": "Direktor {directorName} hat gekündigt (Zufriedenheit {satisfaction}, Kündigungswert {resignation_percent} %). Region: {regionName}."
|
||||
},
|
||||
"director_death": "{characterName} ist im Alter von {ageYears} Jahren verstorben. Als Arbeitgeber musst du die Direktion neu besetzen.{regionLabel}{spouses}{children}{lovers}",
|
||||
"relationship_death": "{characterName} ist im Alter von {ageYears} Jahren verstorben.{regionLabel}{spouses}{children}{lovers}",
|
||||
@@ -398,6 +399,7 @@
|
||||
"produce": "Darf produzieren",
|
||||
"sell": "Darf verkaufen",
|
||||
"starttransport": "Darf Transporte veranlassen",
|
||||
"autoAdjustIncome": "Gehalt automatisch anpassen",
|
||||
"emptyTransport": {
|
||||
"title": "Transport ohne Produkte",
|
||||
"description": "Bewege Transportmittel von dieser Niederlassung zu einer anderen, um sie besser zu nutzen.",
|
||||
|
||||
@@ -35,7 +35,8 @@
|
||||
"notify_election_created": "A new election has been scheduled.",
|
||||
"notify_office_filled": "A political office has been filled.",
|
||||
"director": {
|
||||
"resignation_risk_high": "High resignation risk for director {directorName}: risk {risk_percent}% (threshold {threshold_percent}%). Current satisfaction {satisfaction}."
|
||||
"resignation_risk_high": "High resignation risk for director {directorName}: risk {risk_percent}% (threshold {threshold_percent}%). Current satisfaction {satisfaction}.",
|
||||
"resigned": "Director {directorName} resigned (satisfaction {satisfaction}, resignation value {resignation_percent}%). Region: {regionName}."
|
||||
},
|
||||
"director_death": "{characterName} died at the age of {ageYears}. As employer you need to appoint a new director.{regionLabel}{spouses}{children}{lovers}",
|
||||
"relationship_death": "{characterName} died at the age of {ageYears}.{regionLabel}{spouses}{children}{lovers}",
|
||||
@@ -442,6 +443,7 @@
|
||||
"income": "Income",
|
||||
"incomeUpdated": "Salary has been successfully updated.",
|
||||
"starttransport": "May start transports",
|
||||
"autoAdjustIncome": "Automatically adjust salary",
|
||||
"emptyTransport": {
|
||||
"title": "Transport without products",
|
||||
"description": "Move vehicles from this branch to another to use them better.",
|
||||
|
||||
@@ -49,7 +49,8 @@
|
||||
"notify_election_created": "Se ha convocado una nueva elección.",
|
||||
"notify_office_filled": "Se ha cubierto un cargo político.",
|
||||
"director": {
|
||||
"resignation_risk_high": "Alto riesgo de renuncia del director {directorName}: riesgo {risk_percent}% (umbral {threshold_percent}%). Satisfacción actual {satisfaction}."
|
||||
"resignation_risk_high": "Alto riesgo de renuncia del director {directorName}: riesgo {risk_percent}% (umbral {threshold_percent}%). Satisfacción actual {satisfaction}.",
|
||||
"resigned": "El director {directorName} ha dimitido (satisfacción {satisfaction}, valor de dimisión {resignation_percent}%). Región: {regionName}."
|
||||
},
|
||||
"director_death": "{characterName} ha fallecido a la edad de {ageYears} años. Como empleador debes nombrar un nuevo director.{regionLabel}{spouses}{children}{lovers}",
|
||||
"relationship_death": "{characterName} ha fallecido a la edad de {ageYears} años.{regionLabel}{spouses}{children}{lovers}",
|
||||
@@ -399,6 +400,7 @@
|
||||
"produce": "Puede producir",
|
||||
"sell": "Puede vender",
|
||||
"starttransport": "Puede iniciar transportes",
|
||||
"autoAdjustIncome": "Ajustar salario automáticamente",
|
||||
"emptyTransport": {
|
||||
"title": "Transporte sin productos",
|
||||
"description": "Mueve medios de transporte de esta sucursal a otra para aprovecharlos mejor.",
|
||||
|
||||
@@ -49,7 +49,8 @@
|
||||
"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 du directeur {directorName} : 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}.",
|
||||
"resigned": "Le directeur {directorName} a démissionné (satisfaction {satisfaction}, valeur de démission {resignation_percent} %). Région : {regionName}."
|
||||
},
|
||||
"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}",
|
||||
@@ -397,6 +398,7 @@
|
||||
"produce": "Peut produire",
|
||||
"sell": "Peut vendre",
|
||||
"starttransport": "Peut organiser le transport",
|
||||
"autoAdjustIncome": "Ajuster automatiquement le salaire",
|
||||
"emptyTransport": {
|
||||
"title": "Transport sans produits",
|
||||
"description": "Déplacez le transport de cette branche à une autre pour en faire un meilleur usage.",
|
||||
|
||||
Reference in New Issue
Block a user