summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/_sila/Global/Chart.vue9
-rw-r--r--src/locales/en-US.json4
-rw-r--r--src/locales/ru-RU.json4
3 files changed, 12 insertions, 5 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;
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 2edff302..0c66ba18 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -113,7 +113,9 @@
"chart": {
"thresholdFailure": "Threshold failure",
"thresholdWarning": "Threshold warning",
- "resetZoom": "Reset zoom"
+ "resetZoom": "Reset zoom",
+ "wats": "W",
+ "volts": "V"
},
"appHeader": {
"applicationHeader": "Application header",
diff --git a/src/locales/ru-RU.json b/src/locales/ru-RU.json
index b5272cc4..9498b0aa 100644
--- a/src/locales/ru-RU.json
+++ b/src/locales/ru-RU.json
@@ -113,7 +113,9 @@
"chart": {
"thresholdFailure": "Пороговое значение отказ",
"thresholdWarning": "Пороговое значение предупреждения",
- "resetZoom": "Сбросить масштаб"
+ "resetZoom": "Сбросить масштаб",
+ "wats": "Вт",
+ "volts": "В"
},
"appHeader": {
"applicationHeader": "Заголовок веб-приложения",