Commit e2b955299e8f12863810f01f6d9ca87347132c85
1 parent
40e13cce
Add missed custom translations for key labels
Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -1241,6 +1241,7 @@ export class WidgetSubscription implements IWidgetSubscription { |
1241 | 1241 | return datasource.dataKeys.map((dataKey, keyIndex) => { |
1242 | 1242 | dataKey.hidden = !!dataKey.settings.hideDataByDefault; |
1243 | 1243 | dataKey.inLegend = !dataKey.settings.removeFromLegend; |
1244 | + dataKey.label = this.ctx.utils.customTranslation(dataKey.label, dataKey.label); | |
1244 | 1245 | if (this.comparisonEnabled && dataKey.isAdditional && dataKey.settings.comparisonSettings.comparisonValuesLabel) { |
1245 | 1246 | dataKey.label = createLabelFromDatasource(datasource, dataKey.settings.comparisonSettings.comparisonValuesLabel); |
1246 | 1247 | } else { | ... | ... |