Skip to content

Open source personal finance application

locale: add filter

Ilya Komichevcef758947364
diff --git a/app/components/filter/Selector.vue b/app/components/filter/Selector.vue
index 432d76e9..c941e62c 100644
--- a/app/components/filter/Selector.vue
+++ b/app/components/filter/Selector.vue
@@ -19,7 +19,7 @@ const modals = ref({
<div class="flex">
<BottomSheetOrDropdown
v-if="props.isShowCategories"
- :title="t('categories.title')"
+ :title="t('categories.filter')"
:isOpen="modals.categories"
isShowCloseBtn
@onOpenModal="modals.categories = true"
@@ -45,7 +45,7 @@ const modals = ref({
<div class="px-3 py-2">
<UiButtonAccent @click="close">
- {{ t('base.apply') }}
+ {{ t('base.close') }}
</UiButtonAccent>
</div>
</div>
@@ -54,7 +54,7 @@ const modals = ref({
<BottomSheetOrDropdown
v-if="props.isShowWallets"
- :title="t('wallets.title')"
+ :title="t('wallets.filter')"
:isOpen="modals.wallets"
isShowCloseBtn
@onOpenModal="modals.wallets = true"
diff --git a/i18n/locales/en-US.js b/i18n/locales/en-US.js
index 208725a2..7090ad83 100644
--- a/i18n/locales/en-US.js
+++ b/i18n/locales/en-US.js
@@ -18,6 +18,7 @@ export default {
base: {
add: 'Create',
apply: 'Apply',
+ close: 'Close',
delete: 'Delete',
duplicate: 'Duplicate',
edit: 'Edit',
@@ -45,6 +46,7 @@ export default {
childs: 'Child categories',
createNewTitle: 'Add category',
favoriteCategories: 'Favorite categories',
+ filter: 'Filter categories',
form: {
childColor: 'Apply color to all child categories',
delete: {
@@ -358,6 +360,7 @@ export default {
wallets: {
createNewTitle: 'Add wallet',
+ filter: 'Filter wallets',
form: {
credit: {
available: 'Available',
diff --git a/i18n/locales/ru-RU.js b/i18n/locales/ru-RU.js
index a5f210a9..3c329fed 100644
--- a/i18n/locales/ru-RU.js
+++ b/i18n/locales/ru-RU.js
@@ -18,6 +18,7 @@ export default {
base: {
add: 'Создать',
apply: 'Применить',
+ close: 'Закрыть',
delete: 'Удалить',
duplicate: 'Дублировать',
edit: 'Редактировать',
@@ -45,6 +46,7 @@ export default {
childs: 'Дочерние категории',
createNewTitle: 'Добавить категорию',
favoriteCategories: 'Избранные категории',
+ filter: 'Фильтр по категориям',
form: {
childColor: 'Применить цвет ко всем дочерним категориям',
delete: {
@@ -360,6 +362,7 @@ export default {
wallets: {
createNewTitle: 'Добавить кошелек',
+ filter: 'Фильтровать кошельки',
form: {
credit: {
available: 'Доступно',