From 30bd1b48a0368c99d9f4d0546b8b200abb950ea6 Mon Sep 17 00:00:00 2001 From: k1nq Date: Tue, 22 Sep 2026 08:36:24 +0500 Subject: [PATCH] fix: refine mobile financial workflows --- frontend/src/i18n/locales/en.json | 16 ++++++------ frontend/src/i18n/locales/ru.json | 16 ++++++------ frontend/src/pages/ImportDetailPage.tsx | 12 ++++----- frontend/src/pages/OperationsPage.tsx | 14 +++++----- frontend/src/styles/global.css | 34 +++++++++++++++++++++++++ 5 files changed, 63 insertions(+), 29 deletions(-) diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index 33bb669..2da93a0 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -146,8 +146,8 @@ "archiveConfirmBody": "Account “{{name}}” will leave working lists but remain in history." }, "operations": { - "title": "Operations", - "subtitle": "Expenses, income, transfers and refunds.", + "title": "Ledger", + "subtitle": "Every expense, income, transfer and refund in one traceable sequence.", "new": "New operation", "empty": "No operations match the selected filters.", "search": "Search", @@ -187,8 +187,8 @@ "nextPage": "Next" }, "budget": { - "title": "Budget", - "subtitle": "Month plan, funding and the general pool.", + "title": "Monthly plan", + "subtitle": "Plan every ruble, then fund the month from the real pool.", "monthPicker": "Month picker", "month": "Month", "prevMonth": "Previous month", @@ -329,8 +329,8 @@ "revertBody": "Operations created by the “{{fileName}}” import will be removed atomically; affected months will require reopening." }, "analytics": { - "title": "Analytics", - "subtitle": "Four fixed reports for your space.", + "title": "Financial picture", + "subtitle": "Spending, plan accuracy, cash flow and balances without noise.", "range": "Period:", "months_one": "{{count}} month", "months_other": "{{count}} months", @@ -352,8 +352,8 @@ "unallocated": "Unallocated" }, "settings": { - "title": "Settings & data", - "subtitle": "Profile, export and space data controls.", + "title": "Space & data", + "subtitle": "Identity, language, export and lifecycle controls for this financial space.", "profile": "Profile", "timezone": "Time zone", "dataTitle": "Data", diff --git a/frontend/src/i18n/locales/ru.json b/frontend/src/i18n/locales/ru.json index 3dee7f1..db2605f 100644 --- a/frontend/src/i18n/locales/ru.json +++ b/frontend/src/i18n/locales/ru.json @@ -146,8 +146,8 @@ "archiveConfirmBody": "Счёт «{{name}}» скроется из рабочих списков, но останется в истории." }, "operations": { - "title": "Операции", - "subtitle": "Расходы, доходы, переводы и возвраты.", + "title": "Гроссбух", + "subtitle": "Расходы, доходы, переводы и возвраты в одной проверяемой последовательности.", "new": "Новая операция", "empty": "Операций по выбранным условиям не найдено.", "search": "Поиск", @@ -187,8 +187,8 @@ "nextPage": "Дальше" }, "budget": { - "title": "Бюджет", - "subtitle": "План месяца, обеспечение и общий пул.", + "title": "План месяца", + "subtitle": "Спланируйте каждый рубль и обеспечьте месяц из реального пула.", "monthPicker": "Выбор месяца", "month": "Месяц", "prevMonth": "Предыдущий месяц", @@ -329,8 +329,8 @@ "revertBody": "Операции, созданные импортом «{{fileName}}», будут удалены атомарно; затронутые месяцы потребуют переоткрытия." }, "analytics": { - "title": "Аналитика", - "subtitle": "Четыре фиксированных отчёта по вашему пространству.", + "title": "Финансовая картина", + "subtitle": "Расходы, точность плана, денежный поток и балансы без шума.", "range": "Период:", "months_one": "{{count}} месяц", "months_few": "{{count}} месяца", @@ -354,8 +354,8 @@ "unallocated": "Без распределения" }, "settings": { - "title": "Настройки и данные", - "subtitle": "Профиль, экспорт и управление данными пространства.", + "title": "Пространство и данные", + "subtitle": "Профиль, язык, экспорт и жизненный цикл финансового пространства.", "profile": "Профиль", "timezone": "Часовой пояс", "dataTitle": "Данные", diff --git a/frontend/src/pages/ImportDetailPage.tsx b/frontend/src/pages/ImportDetailPage.tsx index d9e977c..3fc183b 100644 --- a/frontend/src/pages/ImportDetailPage.tsx +++ b/frontend/src/pages/ImportDetailPage.tsx @@ -246,22 +246,22 @@ export function ImportDetailPage() { {data.rows.map((row) => ( - - + + {formatDate(row.occurredOn, locale)} - + {row.description ?? '—'} {row.payeeHint ? · {row.payeeHint} : null} {row.direction === 'in' ? '+' : '−'} {formatMoney(row.amountKopecks, locale)} - + {row.warnings.length === 0 ? ( '—' ) : ( @@ -274,7 +274,7 @@ export function ImportDetailPage() { )} - +