diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-10-21 16:58:11 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-10-21 16:58:11 +0300 |
commit | 17d2e05c2f017e5a9335287dd6f8531ec6f4df0e (patch) | |
tree | 5e22bd7aa34c54d5758405981f173011f1d72b64 /src/components | |
parent | 1c4fe3683f8103f989265d424034ff0362a9b17c (diff) | |
download | webui-vue-sila.tar.xz |
chart localesila
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; |