|
@ -16,8 +16,8 @@ export class EconomicMarketClusterRiskEmergingMarkets extends Rule<Settings> { |
|
|
languageCode: string |
|
|
languageCode: string |
|
|
) { |
|
|
) { |
|
|
super(exchangeRateDataService, { |
|
|
super(exchangeRateDataService, { |
|
|
key: EconomicMarketClusterRiskEmergingMarkets.name, |
|
|
languageCode, |
|
|
languageCode |
|
|
key: EconomicMarketClusterRiskEmergingMarkets.name |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.currentValueInBaseCurrency = currentValueInBaseCurrency; |
|
|
this.currentValueInBaseCurrency = currentValueInBaseCurrency; |
|
@ -60,6 +60,7 @@ export class EconomicMarketClusterRiskEmergingMarkets extends Rule<Settings> { |
|
|
value: false |
|
|
value: false |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return { |
|
|
return { |
|
|
evaluation: this.i18nService.getTranslation({ |
|
|
evaluation: this.i18nService.getTranslation({ |
|
|
id: 'rule.economicMarketClusterRiskEmergingMarkets.true', |
|
|
id: 'rule.economicMarketClusterRiskEmergingMarkets.true', |
|
@ -77,7 +78,10 @@ export class EconomicMarketClusterRiskEmergingMarkets extends Rule<Settings> { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public getCategoryName() { |
|
|
public getCategoryName() { |
|
|
return 'Economic Market Cluster Risk'; // TODO: Replace hardcoded text with i18n translation
|
|
|
return this.i18nService.getTranslation({ |
|
|
|
|
|
id: 'rule.economicMarketClusterRisk.category', |
|
|
|
|
|
languageCode: this.getLanguageCode() |
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public getConfiguration() { |
|
|
public getConfiguration() { |
|
|