diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/_sila/Global/Chart.vue | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/_sila/Global/Chart.vue b/src/components/_sila/Global/Chart.vue index a6ebd9fc..4a5541d2 100644 --- a/src/components/_sila/Global/Chart.vue +++ b/src/components/_sila/Global/Chart.vue @@ -319,17 +319,20 @@ export default { categories = this.setSpeed(this.setMaxWithInterval()); break; case 'power': - categories = this.setCategories(201, 'Вт'); + categories = this.setCategories(201, this.$t('chart.wats')); break; case 'voltage-input': case 'voltage-output': - categories = this.setCategories(this.setMaxWithInterval(), 'В'); + categories = this.setCategories( + this.setMaxWithInterval(), + this.$t('chart.volts') + ); break; case 'current': categories = this.setCategories(11, 'A'); break; case 'psu-power': - categories = this.setCategories(126, 'Вт'); + categories = this.setCategories(126, this.$t('chart.wats')); break; } return categories; |