feat(defter): hafta seçici ve hızlı harcama giriş formu

- /defter: önceki/sonraki/bu hafta, haftanın harcanan/bütçe toplamı
- Form: tutar, 4 grup düğmesi, kategori ve ödeme türü seçimi, tarih, açıklama
- Son seçimler bu cihazda hatırlanır; sunucu hataları ilgili alana düşer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-12 11:20:18 +03:00
parent 7143613ab2
commit f930f2fbcc
14 changed files with 696 additions and 5 deletions
+27
View File
@@ -249,6 +249,33 @@ export const t = {
spendable: 'Harcanabilir',
},
ledger: {
week: (n: number, count: number) => `${n}. hafta / ${count}`,
prevWeek: 'Önceki hafta',
nextWeek: 'Sonraki hafta',
thisWeek: 'Bu hafta',
weekSpent: 'Bu hafta harcanan',
weekBudget: 'bütçe',
formTitle: 'Harcama ekle',
amount: 'Tutar',
group: 'Ana grup',
category: 'Kategori',
noCategory: 'Bu grupta aktif kategori yok.',
paymentMethod: 'Ödeme türü',
noPaymentMethod: 'Belirtme',
date: 'Tarih',
description: 'Açıklama',
descriptionHint: 'İsteğe bağlı (ör. "Haftalık market")',
save: 'Kaydet',
saving: 'Kaydediliyor…',
saved: (amount: string, category: string) => `Eklendi: ${amount} · ${category}`,
groupRequired: 'Ana grubu seçin',
categoryRequired: 'Kategori seçin',
dateInvalid: 'Tarih geçersiz',
dateOutside: 'Tarih dönem içinde olmalı',
descriptionTooLong: 'Açıklama en fazla 200 karakter olabilir',
},
common: {
loading: 'Yükleniyor…',
retry: 'Tekrar dene',