diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-29 13:43:39 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-29 13:43:39 +0300 |
commit | b1595b1a1d644e45fbea2f441416b7470430b184 (patch) | |
tree | d1ede59b892c7b33c751b0767f53dba3f8318b5d | |
parent | ccd5ce16f56cd6fb3b4c332c0274d97f1b798970 (diff) | |
download | webui-vue-b1595b1a1d644e45fbea2f441416b7470430b184.tar.xz |
upd locales
-rw-r--r-- | src/components/_sila/Global/Chart.vue | 6 | ||||
-rw-r--r-- | src/locales/en-US.json | 90 | ||||
-rw-r--r-- | src/locales/ru-RU.json | 19 | ||||
-rw-r--r-- | src/views/_sila/Fans/Dynamic/FanSpeed.vue | 2 | ||||
-rw-r--r-- | src/views/_sila/Memory/Dynamic/MemoryTemp.vue | 2 | ||||
-rw-r--r-- | src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue | 2 | ||||
-rw-r--r-- | src/views/_sila/Processors/Dynamic/CpuPower.vue | 2 | ||||
-rw-r--r-- | src/views/_sila/Processors/Dynamic/CpuTemp.vue | 2 |
8 files changed, 100 insertions, 25 deletions
diff --git a/src/components/_sila/Global/Chart.vue b/src/components/_sila/Global/Chart.vue index cfe4e372..dd2135a5 100644 --- a/src/components/_sila/Global/Chart.vue +++ b/src/components/_sila/Global/Chart.vue @@ -58,7 +58,7 @@ export default { zIndex: '1000', width: 2, label: { - text: 'Пороговое значение предупреждения', + text: this.$t('chart.thresholdWarning'), align: 'right', style: { fontFamily: 'Inter, sans-serif', @@ -210,7 +210,7 @@ export default { value: this.shutdown, width: 2, label: { - text: 'Пороговое значения отказ', + text: this.$t('chart.thresholdFailure'), align: 'right', style: { fontFamily: 'Inter', @@ -276,7 +276,7 @@ export default { value: this.shutdown, width: 2, label: { - text: 'Пороговое значения отказ', + text: this.$t('chart.thresholdWarning'), align: 'right', style: { fontFamily: 'Inter', diff --git a/src/locales/en-US.json b/src/locales/en-US.json index b4a1bae0..f5cfed5b 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -36,7 +36,10 @@ }, "fileUpload": { "browseText": "Add file", - "clearSelectedFile": "Clear selected file" + "clearSelectedFile": "Clear selected file", + "modal":"File selection", + "placeholder": "Click on an area or drag a file into it", + "dropPlaceholder": "Release to add file" }, "form": { "dateMustBeAfter": "Date must be after %{date}", @@ -82,8 +85,16 @@ "toast": { "unAuthTitle": "Unauthorized", "unAuthDescription": "The attempted action is not accessible from the logged in account. Contact your system administrator to check your privilege role." + }, + "datePicker": { + "lastHour": "Last hour", + "lastDay": "Last day" } }, + "chart": { + "thresholdFailure": "Threshold failure", + "thresholdWarning": "Threshold warning" + }, "appHeader": { "applicationHeader": "Application header", "health": "Health", @@ -120,6 +131,7 @@ "primaryNavigation": "Primary navigation", "postCodeLogs": "@:appPageTitle.postCodeLogs", "powerRestorePolicy": "@:appPageTitle.powerRestorePolicy", + "dynamicInformation": "@:appPageTitle.dynamicInformation", "rebootBmc": "@:appPageTitle.rebootBmc", "policies": "@:appPageTitle.policies", "sensors": "@:appPageTitle.sensors", @@ -128,6 +140,7 @@ "certificates": "@:appPageTitle.certificates", "virtualMedia": "@:appPageTitle.virtualMedia", "power": "@:appPageTitle.power", + "powerSup": "@:appPageTitle.powerSup", "keyClear": "@:appPageTitle.keyClear", "staticInfo": "Static Information", "fans": "@:appPageTitle.fans", @@ -139,6 +152,7 @@ "appPageTitle": { "changePassword": "Change password", "power": "Power", + "powerSup": "Power supplies", "sessions": "Sessions", "dateTime": "Date and time", "dumps": "Dumps", @@ -158,6 +172,7 @@ "overview": "Overview", "pageNotFound": "Page not found", "postCodeLogs": "POST code logs", + "dynamicInformation": "Dynamic Information", "powerRestorePolicy": "Power restore policy", "profileSettings": "Profile settings", "rebootBmc": "Reboot BMC", @@ -168,8 +183,7 @@ "certificates": "Certificates", "virtualMedia": "Virtual media", "keyClear": "Key clear", - "specification": "Specification", - "dynamicInformation": "Dynamic information" + "specification": "Specification" }, "pageChangePassword": { "changePassword": "Change password", @@ -827,12 +841,29 @@ }, "pageFans": { "installedFans": "Installed Fans", + "speed": "Speed indicators", "table": { "name": "Name", "health": "Health", "type": "Type", - "currentValue": "Current Speed, rpm", - "pwm": "% power" + "current": "Current", + "middle": "Middle", + "min": "Minimum", + "minDate": "Date of minimum", + "max": "Maximum", + "maxDate": "Date of maximum", + "pwm": "% power", + "currentValue": "Current Speed, rpm" + }, + "labels": { + "warning": "Warning value, rpm", + "shutdown": "Failure value, rpm" + } + }, + "pageMotherboard": { + "temperature": "Temperature indicators", + "labels": { + "warning": "Meaning of the warning" } }, "pageProcessors": { @@ -841,16 +872,55 @@ "labels": { "notNormal": "Not regular", "critical": "Critical", - "warning": "Warning" + "warning": "Warning", + "shutdown": "Shutdown" + }, + "table": { + "temperature": { + "name": "Name", + "current": "Current, С°", + "middle": "Middle, С°", + "min": "Minimum, С°", + "minDate": "Date of minimum", + "max": "Maximum, С°", + "maxDate": "Date of maximum" + }, + "power": { + "name": "Name", + "current": "Current, W" + } + } + }, + "pageMemory": { + "temperature": "Temperature indicators", + "labels": { + "notNormal": "Not regular mode", + "critical": "Critical mode", + "warning": "Meaning of the warning" }, "table": { "name": "Name", "currentTemperature": "Current, С°", "middleTemperature": "Middle, С°", - "minTemperature": "Min, С°", - "minDate": "Min Date", - "maxTemperature": "Max, С°", - "maxDate": "Max Date" + "minTemperature": "Minimum, С°", + "minDate": "Date of minimum", + "maxTemperature": "Maximum, С°", + "maxDate": "Date of maximum" + } + }, + "pagePowerSup": { + "supplies": "Installed power supplies", + "table": { + "param": "Parameter", + "value": "Значение", + "name": "Value", + "health": "State", + "statusState": "Status", + "serialNumber": "Serial number", + "manufacturer": "Manufacturer", + "model": "Model", + "efficiencyPercent": "Efficiency percentage", + "powerInputWatts": "Output power, W" } }, "pageSerialOverLan": { diff --git a/src/locales/ru-RU.json b/src/locales/ru-RU.json index 079ff467..089cf572 100644 --- a/src/locales/ru-RU.json +++ b/src/locales/ru-RU.json @@ -91,6 +91,10 @@ "lastDay": "Последние сутки" } }, + "chart": { + "thresholdFailure": "Пороговое значение отказ", + "thresholdWarning": "Пороговое значение предупреждения" + }, "appHeader": { "applicationHeader": "Заголовок веб-приложения", "health": "Состояние", @@ -848,13 +852,20 @@ "minDate": "Дата минимальной", "max": "Максимальная", "maxDate": "Дата максимальной", - "pwm": "% мощности" + "pwm": "% мощности", + "currentValue": "Current Speed, rpm" }, "labels": { "warning": "Значение предупреждения, об/мин", "shutdown": "Значение отказа, об/мин" } }, + "pageMotherboard": { + "temperature": "Показатели температуры", + "labels": { + "warning": "Значение предупреждения" + } + }, "pageProcessors": { "temperature": "Показатели температуры", "power": "Показатели потребляемой мощности", @@ -897,12 +908,6 @@ "maxDate": "Дата максимального" } }, - "pageMotherboard": { - "temperature": "Показатели температуры", - "labels": { - "warning": "Значение предупреждения" - } - }, "pagePowerSup": { "supplies": "Установленые источники питания", "table": { diff --git a/src/views/_sila/Fans/Dynamic/FanSpeed.vue b/src/views/_sila/Fans/Dynamic/FanSpeed.vue index cf556053..97c862de 100644 --- a/src/views/_sila/Fans/Dynamic/FanSpeed.vue +++ b/src/views/_sila/Fans/Dynamic/FanSpeed.vue @@ -23,7 +23,7 @@ </b-col> <b-col xs="12" sm="6" md="4" class="pt-2"> <b-button variant="primary" style="height: 35px"> - {{ 'Сохранить' }} + {{ $t('global.action.save') }} </b-button> </b-col> </b-row> diff --git a/src/views/_sila/Memory/Dynamic/MemoryTemp.vue b/src/views/_sila/Memory/Dynamic/MemoryTemp.vue index 695006ba..277b537e 100644 --- a/src/views/_sila/Memory/Dynamic/MemoryTemp.vue +++ b/src/views/_sila/Memory/Dynamic/MemoryTemp.vue @@ -39,7 +39,7 @@ </b-col> <b-col xs="12" md="6" lg="3" class="pt-2"> <b-button variant="primary" style="height: 35px"> - {{ 'Сохранить' }} + {{ $t('global.action.save') }} </b-button> </b-col> </b-row> diff --git a/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue b/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue index 35355edb..a7af65e6 100644 --- a/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue +++ b/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue @@ -18,7 +18,7 @@ </b-col> <b-col xs="12" sm="6" class="pt-2"> <b-button variant="primary" style="height: 35px"> - {{ 'Сохранить' }} + {{ $t('global.action.save') }} </b-button> </b-col> </b-row> diff --git a/src/views/_sila/Processors/Dynamic/CpuPower.vue b/src/views/_sila/Processors/Dynamic/CpuPower.vue index a5a2a98f..14ed667c 100644 --- a/src/views/_sila/Processors/Dynamic/CpuPower.vue +++ b/src/views/_sila/Processors/Dynamic/CpuPower.vue @@ -27,7 +27,7 @@ </b-col> <b-col xs="12" md="6" lg="3" class="pt-2"> <b-button variant="primary" style="height: 35px"> - {{ 'Сохранить' }} + {{ $t('global.action.save') }} </b-button> </b-col> </b-row> diff --git a/src/views/_sila/Processors/Dynamic/CpuTemp.vue b/src/views/_sila/Processors/Dynamic/CpuTemp.vue index 0adcae84..d934acc3 100644 --- a/src/views/_sila/Processors/Dynamic/CpuTemp.vue +++ b/src/views/_sila/Processors/Dynamic/CpuTemp.vue @@ -33,7 +33,7 @@ </b-col> <b-col xs="12" md="6" lg="3" class="pt-2"> <b-button variant="primary" style="height: 35px"> - {{ 'Сохранить' }} + {{ $t('global.action.save') }} </b-button> </b-col> </b-row> |