Compare commits

..

2 commits

Author SHA1 Message Date
Matyáš Caras
a62c334342
fix: localization issues 2024-01-30 22:50:08 +01:00
Matyáš Caras
d3945a0420
docs: update changelog 2024-01-30 22:22:09 +01:00
3 changed files with 3 additions and 3 deletions

View file

@ -11,6 +11,7 @@
- Some extra optimization for iOS
- Fix starting balance not saving
- Fix overlay disabling tappig on edit/delete buttons on home view
- Allow changing dates on entries
# 1.0.0-alpha+5
- Add tests
- Add searching through entries to homepage

View file

@ -113,6 +113,6 @@
"search":"Prohledat",
"expensesPerYear":"Měsíční výdaje v roce {year}",
"expensesPerMonth":"Denní výdaje během měsíce {monthYear}",
"expensesPerCategory":"Total expenses per category",
"expensesPerCategory":"Dohromady výdaje za kategorii",
"date":"Datum"
}

View file

@ -7,7 +7,6 @@ import 'package:prasule/api/category.dart';
import 'package:prasule/api/wallet.dart';
import 'package:prasule/api/wallet_manager.dart';
import 'package:prasule/main.dart';
import 'package:prasule/pw/platformbutton.dart';
import 'package:prasule/pw/platformroute.dart';
import 'package:prasule/util/drawer.dart';
import 'package:prasule/util/graphs.dart';
@ -262,7 +261,7 @@ class _GraphViewState extends State<GraphView> {
.expensesPerYear(_selectedDate.year)
: AppLocalizations.of(context)
.expensesPerMonth(
DateFormat.yMMMM()
DateFormat.yMMMM(locale)
.format(_selectedDate),
),
style: const TextStyle(