fix: localization issues
This commit is contained in:
parent
d3945a0420
commit
a62c334342
2 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||
}
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue