Skip to content

Open source personal finance application

chore(i18n): update translation keys

Ilya Komichev4983ceb96eac
diff --git a/app/components/about/About.vue b/app/components/about/About.vue
index ce22e957..66204e87 100644
--- a/app/components/about/About.vue
+++ b/app/components/about/About.vue
@@ -5,13 +5,13 @@ const { t } = useI18n()
<template>
<div>
<UiTitle3 class="pb-4">
- {{ t('title') }}
+ {{ t('about.title') }}
</UiTitle3>
<div class="grid gap-8 pb-3">
<div>
<div class="text-font-4 pb-4 text-xs">
- {{ t('author') }}
+ {{ t('about.author') }}
</div>
<div class="text-font-2 font-secondary text-sm leading-none">
ilkome
@@ -20,7 +20,7 @@ const { t } = useI18n()
<div>
<div class="text-font-4 pb-4 text-xs">
- {{ t('thanks') }}
+ {{ t('about.thanks') }}
</div>
<div class="text-font-2 font-secondary text-sm leading-none">
TheCarolissy, TihomirovPro
@@ -29,15 +29,3 @@ const { t } = useI18n()
</div>
</div>
</template>
-
-<i18n lang="yaml">
-en:
- title: Creators
- author: Author
- thanks: Thanks for support
-
-ru:
- title: Создатели
- author: Автор
- thanks: Спасибо за поддержку
-</i18n>
diff --git a/app/components/app/Copyright.vue b/app/components/app/Copyright.vue
index c5a58a7e..3929d3ec 100644
--- a/app/components/app/Copyright.vue
+++ b/app/components/app/Copyright.vue
@@ -10,12 +10,12 @@ const { t } = useI18n()
class="text-muted px-5 py-2 text-sm"
href="https://ilko.me"
>
- {{ t('madeBy.text') }}
+ {{ t('app.madeBy.text') }}
<Icon
class="text-alert-1 mx-2 animate-[heartbeat_3s_ease-in-out_infinite] text-2xl"
name="mdi:heart"
/>
- {{ t('madeBy.name') }}
+ {{ t('app.madeBy.name') }}
</a>
</template>
@@ -41,14 +41,3 @@ const { t } = useI18n()
}
}
</style>
-
-<i18n lang="yaml">
-en:
- madeBy:
- text: Made with
- name: by Ilya Komichev
-ru:
- madeBy:
- text: Разработал
- name: Илья Комичев
-</i18n>
diff --git a/app/components/app/Welcome.vue b/app/components/app/Welcome.vue
index e909f096..f9cc1bac 100644
--- a/app/components/app/Welcome.vue
+++ b/app/components/app/Welcome.vue
@@ -11,14 +11,14 @@ const trnsFormStore = useTrnsFormStore()
const introText = computed(() => {
if (!walletsStore.hasItems) {
- return t('introWallets')
+ return t('welcome.introWallets')
}
if (!categoriesStore.hasItems) {
- return t('introCategories')
+ return t('welcome.introCategories')
}
- return t('intro')
+ return t('welcome.intro')
})
</script>
@@ -52,24 +52,8 @@ const introText = computed(() => {
rounded
@click="trnsFormStore.trnFormCreate()"
>
- {{ t('createTrn') }}
+ {{ t('welcome.createTrn') }}
</UiButtonAccent>
</div>
</UiPage>
</template>
-
-<i18n lang="yaml">
-en:
- intro: To see statistics
- introWallets: To see statistics add your first Wallet
- introCategories: To see statistics add your first Category
- createTrn: Create your first Transaction
- welcome: Start creating
-
-ru:
- intro: Чтобы увидеть статистику
- introWallets: Чтобы увидеть статистику добавьте первый кошелек
- introCategories: Чтобы увидеть статистику добавьте первую категорию
- createTrn: Создайте свою первую Транзакцию
- welcome: Начать создание
-</i18n>
diff --git a/app/components/currencies/List.vue b/app/components/currencies/List.vue
index 726ce808..03074939 100644
--- a/app/components/currencies/List.vue
+++ b/app/components/currencies/List.vue
@@ -34,7 +34,7 @@ const list = computed(() => {
<div>
<FormInput
:value="searchInput"
- :placeholder="`${t('search')}...`"
+ :placeholder="`${t('currencies.list.search')}...`"
@updateValue="(value: string) => searchInput = value"
/>
</div>
@@ -42,7 +42,7 @@ const list = computed(() => {
<div class="scrollerBlock mt-3 flex flex-col gap-6 overflow-y-auto py-px pb-3">
<template v-if="list.length === 0">
<div class="py-3 text-center">
- {{ t('notFound') }}
+ {{ t('currencies.list.notFound') }}
</div>
</template>
@@ -56,11 +56,11 @@ const list = computed(() => {
>
<div class="flex items-center">
<div class="w-14 pl-1">
- {{ t('all') }}
+ {{ t('currencies.list.all') }}
</div>
<div class="text-sm">
- {{ t('showAll') }}
+ {{ t('currencies.list.showAll') }}
</div>
</div>
</UiElement>
@@ -113,17 +113,3 @@ const list = computed(() => {
</div>
</div>
</template>
-
-<i18n lang="yaml">
-en:
- all: All
- notFound: Currency not found...
- search: Search
- showAll: Show all wallets
-
-ru:
- all: Все
- notFound: Валюта не найдена...
- search: Поиск
- showAll: Показать все кошельки
-</i18n>
diff --git a/app/components/currencies/Modal.vue b/app/components/currencies/Modal.vue
index d978879c..c774eaef 100644
--- a/app/components/currencies/Modal.vue
+++ b/app/components/currencies/Modal.vue
@@ -34,7 +34,7 @@ function onSelect(code: CurrencyCode, close: () => void) {
<template #default="{ close }">
<div class="bottomSheetContent">
- <UiTitleModal>{{ t('select') }}</UiTitleModal>
+ <UiTitleModal>{{ t('currencies.select') }}</UiTitleModal>
<CurrenciesList
:active="props.activeCode"
@@ -47,11 +47,3 @@ function onSelect(code: CurrencyCode, close: () => void) {
</BottomSheet>
</Teleport>
</template>
-
-<i18n lang="yaml">
- en:
- select: Select currency
-
- ru:
- select: Выбрать валюту
-</i18n>
diff --git a/app/components/date/Ranges.vue b/app/components/date/Ranges.vue
index e435dd97..f35ce72e 100644
--- a/app/components/date/Ranges.vue
+++ b/app/components/date/Ranges.vue
@@ -149,25 +149,15 @@ function selectMaxRange(isSkipEmpty = false) {
:isActive="props.statDate.params.value.isShowMaxRange && !props.statDate.params.value.isSkipEmpty"
@click="selectMaxRange(false)"
>
- {{ t('all') }}
+ {{ t('dates.ranges.all') }}
</DateLinkItem>
<DateLinkItem
v-bind="props.itemProps"
:isActive="props.statDate.params.value.isShowMaxRange && props.statDate.params.value.isSkipEmpty"
@click="selectMaxRange(true)"
>
- {{ t('allSkipEmpty') }}
+ {{ t('dates.ranges.allSkipEmpty') }}
</DateLinkItem>
</template>
</div>
</template>
-
-<i18n lang="yaml">
- en:
- all: All
- allSkipEmpty: Maximum
-
- ru:
- all: Все
- allSkipEmpty: Максимально
-</i18n>
diff --git a/app/components/stat/Average.vue b/app/components/stat/Average.vue
index 2a703143..ca353880 100644
--- a/app/components/stat/Average.vue
+++ b/app/components/stat/Average.vue
@@ -55,7 +55,7 @@ const total = computed(() => getTotalOfTrnsIds(datedTrnsIds.value))
<div class="grid w-full grow gap-1">
<UiTitle6 class="!leading-3 text-nowrap">
{{ t('money.average') }}
- <br>{{ t('forLast') }}
+ <br>{{ t('stat.average.forLast') }}
</UiTitle6>
<div class="flex gap-4">
@@ -90,10 +90,3 @@ const total = computed(() => getTotalOfTrnsIds(datedTrnsIds.value))
</div>
</div>
</template>
-
-<i18n lang="yaml">
-en:
- forLast: for the last periods
-ru:
- forLast: за прошлые периоды
-</i18n>
diff --git a/app/components/stat/CategoriesButtons.vue b/app/components/stat/CategoriesButtons.vue
index 63f5e2b6..e66076ed 100644
--- a/app/components/stat/CategoriesButtons.vue
+++ b/app/components/stat/CategoriesButtons.vue
@@ -61,7 +61,7 @@ const viewPresets = computed(() => ({
isRoundIcon: false,
},
},
- title: t('minimal'),
+ title: t('stat.catButtons.minimal'),
},
// eslint-disable-next-line perfectionist/sort-objects
alt: {
@@ -72,7 +72,7 @@ const viewPresets = computed(() => ({
isRoundIcon: false,
},
},
- title: t('alt'),
+ title: t('stat.catButtons.alt'),
},
standard: {
@@ -83,7 +83,7 @@ const viewPresets = computed(() => ({
isRoundIcon: true,
},
},
- title: t('standard'),
+ title: t('stat.catButtons.standard'),
},
}))
@@ -99,7 +99,7 @@ function onChangeViewOptions(newViewOptions: any) {
<div class="">
<!-- List -->
<div class="border-item-4 grid gap-3 border-b pb-2 last:border-0">
- <UiTitleOption>{{ t('listItemsOptions') }}</UiTitleOption>
+ <UiTitleOption>{{ t('stat.catButtons.listItemsOptions') }}</UiTitleOption>
<div class="flex gap-1">
<UiItem2
v-for="view in viewPresets"
@@ -123,21 +123,21 @@ function onChangeViewOptions(newViewOptions: any) {
<div v-if="isShowMorePresets">
<UiCheckbox
:checkboxValue="statConfig.config.value.catsList.isItemsBg"
- :title="t('isItemsBg')"
+ :title="t('stat.catButtons.isItemsBg')"
@click="statConfig.updateConfig('catsList', { isItemsBg: !statConfig.config.value.catsList.isItemsBg })"
/>
<!-- Lines -->
<UiCheckbox
:checkboxValue="statConfig.config.value.catsList.isLines"
- :title="t('isLines')"
+ :title="t('stat.catButtons.isLines')"
@click="statConfig.updateConfig('catsList', { isLines: !statConfig.config.value.catsList.isLines })"
/>
<!-- Round icons -->
<UiCheckbox
:checkboxValue="statConfig.config.value.catsList.isRoundIcon"
- :title="t('isRoundIcon')"
+ :title="t('stat.catButtons.isRoundIcon')"
@click="statConfig.updateConfig('catsList', { isRoundIcon: !statConfig.config.value.catsList.isRoundIcon })"
/>
</div>
@@ -186,7 +186,7 @@ function onChangeViewOptions(newViewOptions: any) {
<div
class="border-item-4 grid gap-3 border-b pt-3 pb-2 last:border-0"
>
- <UiTitleOption>{{ t('elements') }}</UiTitleOption>
+ <UiTitleOption>{{ t('stat.catButtons.elements') }}</UiTitleOption>
<div class="">
<UiCheckbox
:checkboxValue="statConfig.config.value.vertical.isShow"
@@ -207,31 +207,3 @@ function onChangeViewOptions(newViewOptions: any) {
</div>
</div>
</template>
-
-<i18n lang="yaml">
-en:
- elements: Elements
- isItemsBg: Items background
- isLines: Amount lines
- isRoundIcon: rounded-sm categories
- vertical:
- show: Vertical categories
- grouping: Grouping
- listItemsOptions: List items options
- minimal: Minimal
- standard: Standard
- alt: Alternative
-
-ru:
- elements: Элементы
- isItemsBg: Фон категорий
- isLines: Линии сумм
- isRoundIcon: Скруглённые категории
- vertical:
- show: Вертикальные категории
- grouping: Группировать
- listItemsOptions: Настройки списка категорий
- minimal: Легкий
- standard: Стандартный
- alt: Альтернативный
-</i18n>
diff --git a/app/components/stat/sum/Item.vue b/app/components/stat/sum/Item.vue
index 6814eeb7..d6cdeb6f 100644
--- a/app/components/stat/sum/Item.vue
+++ b/app/components/stat/sum/Item.vue
@@ -82,11 +82,3 @@ const currenciesStore = useCurrenciesStore()
</div>
</div>
</template>
-
-<i18n lang="yaml">
- en:
- in: in
-
- ru:
- in: в
- </i18n>
diff --git a/app/components/theme/Picker.vue b/app/components/theme/Picker.vue
index 35cfd033..00ba3f4c 100644
--- a/app/components/theme/Picker.vue
+++ b/app/components/theme/Picker.vue
@@ -81,7 +81,7 @@ function setBlackAsPrimary(value: boolean) {
<template #content>
<fieldset>
<legend class="mb-2 text-[11px] leading-none font-semibold">
- {{ t('primary') }}
+ {{ t('theme.picker.primary') }}
</legend>
<div class="-mx-2 grid grid-cols-3 gap-1">
@@ -109,7 +109,7 @@ function setBlackAsPrimary(value: boolean) {
<fieldset>
<legend class="mb-2 text-[11px] leading-none font-semibold">
- {{ t('neutral') }}
+ {{ t('theme.picker.neutral') }}
</legend>
<div class="-mx-2 grid grid-cols-3 gap-1">
@@ -126,7 +126,7 @@ function setBlackAsPrimary(value: boolean) {
<fieldset>
<legend class="mb-2 text-[11px] leading-none font-semibold">
- {{ t('radius') }}
+ {{ t('theme.picker.radius') }}
</legend>
<div class="-mx-2 grid grid-cols-5 gap-1">
@@ -143,7 +143,7 @@ function setBlackAsPrimary(value: boolean) {
<fieldset>
<legend class="mb-2 text-[11px] leading-none font-semibold">
- {{ t('theme') }}
+ {{ t('theme.picker.theme') }}
</legend>
<div class="-mx-2 grid grid-cols-3 gap-1">
@@ -159,25 +159,3 @@ function setBlackAsPrimary(value: boolean) {
</template>
</UPopover>
</template>
-
-<i18n lang="yaml">
-en:
- dark: Dark
- light: Light
- neutral: Neutral color
- picker: Theme picker
- primary: Primary color
- radius: Radius
- system: System
- theme: Theme
-
-ru:
- dark: Темная
- light: Светлая
- neutral: Нейтральный цвет
- picker: Выбор темы
- primary: Основной цвет
- radius: Радиус
- system: Системная
- theme: Тема
-</i18n>
diff --git a/app/components/theme/SwitcherTabs.vue b/app/components/theme/SwitcherTabs.vue
index 48c1c010..428a2276 100644
--- a/app/components/theme/SwitcherTabs.vue
+++ b/app/components/theme/SwitcherTabs.vue
@@ -16,5 +16,3 @@ const { options, preference, setTheme } = useTheme()
</UiTabsItem4>
</UiTabs2>
</template>
-
-<i18n lang="yaml" src="./locale.yaml" />
diff --git a/app/components/trnForm/main/AmountTransfer.vue b/app/components/trnForm/main/AmountTransfer.vue
index d7c4a301..d3c9f4fd 100644
--- a/app/components/trnForm/main/AmountTransfer.vue
+++ b/app/components/trnForm/main/AmountTransfer.vue
@@ -102,16 +102,16 @@ function copyAmount() {
:class="[getStyles('item', ['bg2', 'link', 'rounded']), {
'bg-[var(--item-5)]': trnsFormStore.values.transferType === item.transferType,
}]"
- class="flex min-h-[44px] w-1/2 grow items-center px-3 py-2 text-sm text-1/70 lg:min-h-[42px]"
+ class="text-1/70 flex min-h-[44px] w-1/2 grow items-center px-3 py-2 text-sm lg:min-h-[42px]"
>
- {{ t(slug) }}
+ {{ t(`trnForm.transfer.${slug}`) }}
</div>
<TrnFormSelectorWallet
v-if="slug === 'income' && incomeWalletId"
:bottomSheetStyle="props.bottomSheetStyle"
:isLaptop
- :title="t(slug)"
+ :title="t(`trnForm.transfer.${slug}`)"
:walletId="incomeWalletId"
@onOpen="n => emit('onOpen', n)"
@onSelected="id => trnsFormStore.values.incomeWalletId = id"
@@ -121,7 +121,7 @@ function copyAmount() {
v-if="slug === 'expense' && expenseWalletId"
:bottomSheetStyle="props.bottomSheetStyle"
:isLaptop
- :title="t(slug)"
+ :title="t(`trnForm.transfer.${slug}`)"
:walletId="expenseWalletId"
@onOpen="n => emit('onOpen', n)"
@onSelected="id => trnsFormStore.values.expenseWalletId = id"
@@ -143,7 +143,7 @@ function copyAmount() {
<!-- Actions -->
<div
v-if="item.transferType === 0"
- class="flex justify-center gap-1 pb-1 pt-3"
+ class="flex justify-center gap-1 pt-3 pb-1"
>
<UiItem1 @click="switchWallets">
<Icon name="lucide:arrow-up-down" size="24" />
@@ -156,13 +156,3 @@ function copyAmount() {
</template>
</div>
</template>
-
-<i18n lang="yaml">
-en:
- expense: Transfer from
- income: Transfer to
-
-ru:
- expense: Перевод из
- income: Перевод в
-</i18n>
diff --git a/app/components/trnForm/main/Input.vue b/app/components/trnForm/main/Input.vue
index 2b4707f6..a23d71e6 100644
--- a/app/components/trnForm/main/Input.vue
+++ b/app/components/trnForm/main/Input.vue
@@ -35,7 +35,7 @@ const { t } = useI18n()
'!text-expense-1 placeholder:!text-expense-1': highlight === 'expense',
'text-center': !isTransfer,
}"
- :placeholder="t('enterAmount')"
+ :placeholder="t('trnForm.enterAmount')"
:value="amountRaw"
class="swiper-no-swiping bg-item-2 font-secondary border-transparent pt-6 pb-2 text-center !text-3xl placeholder:text-3xl"
inputmode="tel"
@@ -43,11 +43,3 @@ const { t } = useI18n()
/>
</div>
</template>
-
-<i18n lang="yaml">
-en:
- enterAmount: '0'
-
-ru:
- enterAmount: '0'
-</i18n>
diff --git a/app/components/wallets/Currencies.vue b/app/components/wallets/Currencies.vue
index f20a18cb..5c9602fd 100644
--- a/app/components/wallets/Currencies.vue
+++ b/app/components/wallets/Currencies.vue
@@ -35,11 +35,3 @@ const walletsStore = useWalletsStore()
</UiTabsItem1>
</UiTabs2>
</template>
-
-<i18n lang="yaml">
- en:
- filterByCurrency: Filter by
-
- ru:
- filterByCurrency: Валюты кошельков
- </i18n>
diff --git a/app/components/wallets/CurrenciesToggleDep.vue b/app/components/wallets/CurrenciesToggleDep.vue
index 83fe7cc7..b2ec345d 100644
--- a/app/components/wallets/CurrenciesToggleDep.vue
+++ b/app/components/wallets/CurrenciesToggleDep.vue
@@ -28,7 +28,7 @@ const walletsStore = useWalletsStore()
:isShown
@click="toggle"
>
- {{ t('filterByCurrency') }}
+ {{ t('wallets.filterByCurrency') }}
{{ (currencyFiltered !== 'all' && !isShown) ? currencyFiltered : '' }}
</UiTitle8>
</template>
@@ -52,11 +52,3 @@ const walletsStore = useWalletsStore()
</UiTabs2>
</UiToggleWithStorage>
</template>
-
-<i18n lang="yaml">
- en:
- filterByCurrency: Filter by
-
- ru:
- filterByCurrency: Валюты кошельков
- </i18n>
diff --git a/app/components/wallets/List.vue b/app/components/wallets/List.vue
index c55e0378..a06377af 100644
--- a/app/components/wallets/List.vue
+++ b/app/components/wallets/List.vue
@@ -56,7 +56,7 @@ onMounted(() => stateLimit.value = props.limit)
@click="toggle"
>
<template v-if="stateLimit > 0">
- {{ t('showAll') }}
+ {{ t('wallets.showAll') }}
</template>
<template v-else-if="stateLimit !== limit">
@@ -66,11 +66,3 @@ onMounted(() => stateLimit.value = props.limit)
</slot>
</div>
</template>
-
-<i18n lang="yaml">
-en:
- showAll: "Show all"
-
-ru:
- showAll: "Показать все"
-</i18n>
diff --git a/app/components/wallets/page/List.vue b/app/components/wallets/page/List.vue
index 4a0cc756..4c46f438 100644
--- a/app/components/wallets/page/List.vue
+++ b/app/components/wallets/page/List.vue
@@ -449,16 +449,16 @@ const groupTabs = computed(() => {
label: string
}[] = [{
id: 'none',
- label: t('none'),
+ label: t('wallets.page.none'),
}, {
id: 'type',
- label: t('type'),
+ label: t('wallets.page.type'),
}]
if (walletsStore.currenciesUsed.length > 1) {
items.push({
id: 'currency',
- label: t('currencies'),
+ label: t('wallets.page.currencies'),
})
}
@@ -801,15 +801,4 @@ const isOpen = ref(false)
@onClose="isShowCurrencyFilter = false"
/>
</template>
-
-<i18n lang="yaml">
-en:
- currencies: Currencies
- none: List
- type: Type
-
-ru:
- currencies: Валюты
- none: Список
- type: Тип
</i18n>
diff --git a/app/pages/login.vue b/app/pages/login.vue
index b7e4c550..6c86fdcb 100644
--- a/app/pages/login.vue
+++ b/app/pages/login.vue
@@ -13,8 +13,8 @@ definePageMeta({
const { locale, t } = useI18n()
useSeoMeta({
- ogTitle: t('title'),
- title: t('title'),
+ ogTitle: t('login.title'),
+ title: t('login.title'),
})
const { generateDemoData } = useDemo()
@@ -86,7 +86,7 @@ async function openDemo() {
<div class="flex flex-col items-center justify-center pb-10">
<UiLogo class="pb-0 !text-6xl !font-extrabold" />
<div class="text-muted pt-1 text-sm">
- {{ t('description') }}
+ {{ t('login.description') }}
</div>
<div class="grid min-w-[320px] items-center gap-2 py-14">
@@ -100,7 +100,7 @@ async function openDemo() {
</UiButtonAccent>
<USeparator
- :label="t('ore')"
+ :label="t('login.or')"
class="!text-muted px-3 pt-3"
/>
@@ -110,7 +110,7 @@ async function openDemo() {
variant="ghost"
@click="openDemo"
>
- {{ t('openDemo') }}
+ {{ t('login.openDemo') }}
</UiButtonAccent>
</div>
</div>
@@ -121,17 +121,3 @@ async function openDemo() {
</div>
</div>
</template>
-
-<i18n lang="yaml">
-en:
- title: "Login"
- openDemo: "Open Demo"
- or: "or"
- description: Powerful open-source finance application
-
-ru:
- title: "Вход"
- openDemo: "Открыть демо"
- or: "или"
- description: Персональный финансовый ассистент
-</i18n>
diff --git a/app/pages/settings.vue b/app/pages/settings.vue
index d2173239..837ebc45 100644
--- a/app/pages/settings.vue
+++ b/app/pages/settings.vue
@@ -128,19 +128,3 @@ function onGenerateDemoData() {
/>
</UiPage>
</template>
-
-<i18n lang="yaml">
-en:
- app:
- about: About
- version: 'Version'
- user: User
- currencyDesc: Transactions in different currencies will be converted to this currency.
-
-ru:
- app:
- about: О приложении
- version: 'Версия'
- user: Пользователь
- currencyDesc: "Основная валюта, в которую будут конвертироваться транзакции в других валютах."
-</i18n>
diff --git a/i18n/locales/en-US.js b/i18n/locales/en-US.js
index 8bd4f64e..61f80029 100644
--- a/i18n/locales/en-US.js
+++ b/i18n/locales/en-US.js
@@ -1,4 +1,10 @@
export default {
+ about: {
+ author: 'Author',
+ thanks: 'Thanks for support',
+ title: 'Creators',
+ },
+
alerts: {
removedUserData: 'All data removed.',
willDeleteEverything: 'This will delete all your wallets, categories and transactions',
@@ -9,8 +15,14 @@ export default {
},
app: {
+ about: 'About',
desc: 'Finapp helps you to control personal finances easily and efficiently.',
+ madeBy: {
+ name: 'by Ilya Komichev',
+ text: 'Made with',
+ },
toggleSidebar: 'Toggle sidebar',
+ version: 'Version',
},
appName: 'Finapp',
@@ -120,6 +132,13 @@ export default {
currencies: {
base: 'Base currency',
+ list: {
+ all: 'All',
+ notFound: 'Currency not found...',
+ search: 'Search',
+ showAll: 'Show all wallets',
+ },
+ select: 'Select currency',
},
currency: {
@@ -155,6 +174,10 @@ export default {
simple: 'Month',
},
period: 'Period',
+ ranges: {
+ all: 'All',
+ allSkipEmpty: 'Maximum',
+ },
select: 'Select period',
week: {
current: 'This week',
@@ -191,6 +214,13 @@ export default {
title: 'Language',
},
+ login: {
+ description: 'Powerful open-source finance application',
+ openDemo: 'Open Demo',
+ or: 'or',
+ title: 'Login',
+ },
+
loginWithGithub: 'Login with Github',
loginWithGoogle: 'Login with Google',
@@ -251,15 +281,34 @@ export default {
settings: {
app: 'Application',
caution: 'With caution',
+ currencyDesc: 'Transactions in different currencies will be converted to this currency.',
deleteButton: 'Delete my data',
lang: 'Language',
open: 'Open settings',
options: 'Options',
title: 'Settings',
+ user: 'User',
},
stat: {
+ average: {
+ forLast: 'for the last periods',
+ },
balanceTitle: 'Balance',
+ catButtons: {
+ alt: 'Alternative',
+ elements: 'Elements',
+ isItemsBg: 'Items background',
+ isLines: 'Amount lines',
+ isRoundIcon: 'rounded-sm categories',
+ listItemsOptions: 'List items options',
+ minimal: 'Minimal',
+ standard: 'Standard',
+ vertical: {
+ grouping: 'Grouping',
+ show: 'Vertical categories',
+ },
+ },
config: {
categories: {
grouping: {
@@ -333,6 +382,13 @@ export default {
color: 'Change theme color',
dark: 'Dark',
light: 'Light',
+ picker: {
+ neutral: 'Neutral color',
+ primary: 'Primary color',
+ radius: 'Radius',
+ theme: 'Theme',
+ title: 'Theme picker',
+ },
select: 'Select theme',
system: 'System',
title: 'Theme',
@@ -356,6 +412,7 @@ export default {
placeholder: 'Write...',
title: 'Description',
},
+ enterAmount: '0',
errors: {
amountEmpty: 'Amount can not be empty',
amountNegative: 'Amount can not be negative number',
@@ -372,6 +429,10 @@ export default {
saveTrnButton: 'Save transaction',
title: 'Transaction form',
titleEditTrn: 'Edit transaction',
+ transfer: {
+ expense: 'Transfer from',
+ income: 'Transfer to',
+ },
transferTitle: 'Transfer',
wallet: {
select: 'Select wallet',
@@ -398,6 +459,7 @@ export default {
wallets: {
createNewTitle: 'Add wallet',
filter: 'Filter wallets',
+ filterByCurrency: 'Filter by',
form: {
credit: {
available: 'Available',
@@ -432,9 +494,23 @@ export default {
},
name: 'Wallets',
new: 'New wallet',
+ page: {
+ currencies: 'Currencies',
+ none: 'List',
+ type: 'Type',
+ },
properties: 'Properties',
+ showAll: 'Show all',
showOnly: 'Show only',
sortTitle: 'Sort wallets',
title: 'Wallets',
},
+
+ welcome: {
+ createTrn: 'Create your first Transaction',
+ intro: 'To see statistics',
+ introCategories: 'To see statistics add your first Category',
+ introWallets: 'To see statistics add your first Wallet',
+ start: 'Start creating',
+ },
}
diff --git a/i18n/locales/ru-RU.js b/i18n/locales/ru-RU.js
index e2e70812..2b16a7e7 100644
--- a/i18n/locales/ru-RU.js
+++ b/i18n/locales/ru-RU.js
@@ -1,4 +1,10 @@
export default {
+ about: {
+ author: 'Автор',
+ thanks: 'Спасибо за поддержку',
+ title: 'Создатели',
+ },
+
alerts: {
removedUserData: 'Все данные удалены.',
willDeleteEverything: 'Все кошельки, категории и транзакции будут удалены',
@@ -9,8 +15,14 @@ export default {
},
app: {
+ about: 'О приложении',
desc: 'Приложение для учета личных финансов',
+ madeBy: {
+ name: 'Илья Комичев',
+ text: 'Разработал',
+ },
toggleSidebar: 'Скрыть/показать боковую панель',
+ version: 'Версия',
},
appName: 'Финапка',
@@ -116,8 +128,16 @@ export default {
create: {
title: 'Создать',
},
+
currencies: {
base: 'Основная валюта',
+ list: {
+ all: 'Все',
+ notFound: 'Валюта не найдена...',
+ search: 'Поиск',
+ showAll: 'Показать все кошельки',
+ },
+ select: 'Выбрать валюту',
},
currency: {
@@ -153,6 +173,10 @@ export default {
simple: 'Месяц',
},
period: 'Период',
+ ranges: {
+ all: 'Все',
+ allSkipEmpty: 'Максимально',
+ },
select: 'Период',
week: {
current: 'Текущая неделя',
@@ -189,6 +213,13 @@ export default {
title: 'Язык',
},
+ login: {
+ description: 'Персональный финансовый ассистент',
+ openDemo: 'Открыть демо',
+ or: 'или',
+ title: 'Вход',
+ },
+
loginWithGithub: 'Войти через Github',
loginWithGoogle: 'Войти через Google',
@@ -249,15 +280,34 @@ export default {
settings: {
app: 'Приложение',
caution: 'C осторожностью',
+ currencyDesc: 'Основная валюта, в которую будут конвертироваться транзакции в других валютах.',
deleteButton: 'Удалить все мои данные',
lang: 'Язык приложения',
open: 'Открыть настройки',
options: 'Опции',
title: 'Настройки',
+ user: 'Пользователь',
},
stat: {
+ average: {
+ forLast: 'за прошлые периоды',
+ },
balanceTitle: 'Баланс',
+ catButtons: {
+ alt: 'Альтернативный',
+ elements: 'Элементы',
+ isItemsBg: 'Фон категорий',
+ isLines: 'Линии сумм',
+ isRoundIcon: 'Скруглённые категории',
+ listItemsOptions: 'Настройки списка категорий',
+ minimal: 'Легкий',
+ standard: 'Стандартный',
+ vertical: {
+ grouping: 'Группировать',
+ show: 'Вертикальные категории',
+ },
+ },
config: {
categories: {
grouping: {
@@ -334,6 +384,13 @@ export default {
color: 'Сменить цвет оформления',
dark: 'Темная',
light: 'Светлая',
+ picker: {
+ neutral: 'Нейтральный цвет',
+ primary: 'Основной цвет',
+ radius: 'Радиус',
+ theme: 'Тема',
+ title: 'Выбор темы',
+ },
select: 'Выберите тему',
system: 'Авто',
title: 'Тема',
@@ -357,6 +414,7 @@ export default {
placeholder: 'Напишите...',
title: 'Описание',
},
+ enterAmount: '0',
errors: {
amountEmpty: 'Сумма не может быть пустой',
amountNegative: 'Сумма не может быть отрицательной',
@@ -373,6 +431,10 @@ export default {
saveTrnButton: 'Сохранить',
title: 'Создание транзакции',
titleEditTrn: 'Редактирование транзакции',
+ transfer: {
+ expense: 'Перевод из',
+ income: 'Перевод в',
+ },
transferTitle: 'Перевод',
wallet: {
select: 'Выбрать кошелек',
@@ -399,6 +461,7 @@ export default {
wallets: {
createNewTitle: 'Добавить кошелек',
filter: 'Фильтровать кошельки',
+ filterByCurrency: 'Валюты кошельков',
form: {
credit: {
available: 'Доступно',
@@ -433,9 +496,23 @@ export default {
},
name: 'Кошельки',
new: 'Новый кошелек',
+ page: {
+ currencies: 'Валюты',
+ none: 'Список',
+ type: 'Тип',
+ },
properties: 'Свойства кошелька',
+ showAll: 'Показать все',
showOnly: 'Показать только',
sortTitle: 'Сортировать кошельки',
title: 'Кошельки',
},
+
+ welcome: {
+ createTrn: 'Создайте свою первую Транзакцию',
+ intro: 'Чтобы увидеть статистику',
+ introCategories: 'Чтобы увидеть статистику добавьте первую категорию',
+ introWallets: 'Чтобы увидеть статистику добавьте первый кошелек',
+ start: 'Начать создание',
+ },
}