Skip to content

Open source personal finance application

chore: refactor

ilkome379b3878b32f
diff --git a/components/shared/contextMenu/ContextMenuItem.vue b/components/shared/contextMenu/ContextMenuItem.vue
index 6bbbdf5e..10cc961d 100644
--- a/components/shared/contextMenu/ContextMenuItem.vue
+++ b/components/shared/contextMenu/ContextMenuItem.vue
@@ -25,7 +25,7 @@ export default {
@click="handleClick"
)
.item__icon(v-if="icon"): div(:class="icon")
- .item__title {{ title }}
+ .grow.text-skin-item-base {{ title }}
.item__check(
v-if="showCheckbox"
diff --git a/components/trnForm/TrnForm.vue b/components/trnForm/TrnForm.vue
index 09dae493..b3fcccc1 100644
--- a/components/trnForm/TrnForm.vue
+++ b/components/trnForm/TrnForm.vue
@@ -183,6 +183,7 @@ function handleSubmitForm() {
return
}
+ // TODO: translate
Vue.notify({
type: 'success',
text: 'Excellent transaction!',
diff --git a/components/wallets/total/WalletsTotalAlt.vue b/components/wallets/total/WalletsTotalAlt.vue
index 6055fae7..df336f5f 100644
--- a/components/wallets/total/WalletsTotalAlt.vue
+++ b/components/wallets/total/WalletsTotalAlt.vue
@@ -79,9 +79,9 @@ export default {
vertical="right"
)
- //- Avaliable
+ //- Withdrawal
.flex.items-center.bg-gray-50.dark_bg-dark5.py-2.px-3.rounded-md(v-if="totalInWallets.counted !== totalInWallets.counted + totalInWallets.savings - Math.abs(totalInWallets.credits)")
- .grow.text-sm.leading-none {{ $t('avaliable') }}
+ .grow.text-sm.leading-none {{ $t('withdrawal') }}
Amount(
:currency="$store.state.currencies.base"
:value="totalInWallets.counted"
@@ -92,13 +92,13 @@ export default {
<i18n lang="json5">
{
"en": {
- "avaliable": "Avaliable",
+ "withdrawal": "Withdrawal",
"credits": "Credits",
"savings": "Savings",
"total": "Total"
},
"ru": {
- "avaliable": "Доступные",
+ "withdrawal": "Доступные",
"credits": "Кредиты",
"savings": "Вложения",
"total": "Всего"