Skip to content

Open source personal finance application

refactor: update localization for statistical average display

Ilya Komichev1e74d62d8519
diff --git a/app/components/stat/Config.vue b/app/components/stat/Config.vue
index 73ce5fcf..93ec4fce 100644
--- a/app/components/stat/Config.vue
+++ b/app/components/stat/Config.vue
@@ -174,7 +174,7 @@ function updateStatAverage(value: number) {
<UiCheckbox
:checkboxValue="statConfig.config.value.statAverage.isShow"
- :title="t('stat.config.statAverage.label')"
+ :title="t('stat.config.statAverage.count.label')"
@click="statConfig.updateConfig('statAverage', { isShow: !statConfig.config.value.statAverage.isShow })"
/>
diff --git a/i18n/locales/en-US.js b/i18n/locales/en-US.js
index ef5f75ff..308ffc6f 100644
--- a/i18n/locales/en-US.js
+++ b/i18n/locales/en-US.js
@@ -286,8 +286,7 @@ export default {
},
statAverage: {
count: {
- label: 'Count of wallets',
- placeholder: 'Select count of wallets',
+ label: 'Show average values',
},
title: 'Average values',
},
diff --git a/i18n/locales/ru-RU.js b/i18n/locales/ru-RU.js
index 0b10ee44..0619aa0e 100644
--- a/i18n/locales/ru-RU.js
+++ b/i18n/locales/ru-RU.js
@@ -288,10 +288,8 @@ export default {
statAverage: {
count: {
- label: 'Количество кошельков',
- placeholder: 'Выберите количество кошельков',
+ label: 'Показывать средние значения',
},
- label: 'Показывать средние значения',
title: 'Средние значения',
},