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",
|
"search":"Prohledat",
|
||||||
"expensesPerYear":"Měsíční výdaje v roce {year}",
|
"expensesPerYear":"Měsíční výdaje v roce {year}",
|
||||||
"expensesPerMonth":"Denní výdaje během měsíce {monthYear}",
|
"expensesPerMonth":"Denní výdaje během měsíce {monthYear}",
|
||||||
"expensesPerCategory":"Total expenses per category",
|
"expensesPerCategory":"Dohromady výdaje za kategorii",
|
||||||
"date":"Datum"
|
"date":"Datum"
|
||||||
}
|
}
|
|
@ -7,7 +7,6 @@ import 'package:prasule/api/category.dart';
|
||||||
import 'package:prasule/api/wallet.dart';
|
import 'package:prasule/api/wallet.dart';
|
||||||
import 'package:prasule/api/wallet_manager.dart';
|
import 'package:prasule/api/wallet_manager.dart';
|
||||||
import 'package:prasule/main.dart';
|
import 'package:prasule/main.dart';
|
||||||
import 'package:prasule/pw/platformbutton.dart';
|
|
||||||
import 'package:prasule/pw/platformroute.dart';
|
import 'package:prasule/pw/platformroute.dart';
|
||||||
import 'package:prasule/util/drawer.dart';
|
import 'package:prasule/util/drawer.dart';
|
||||||
import 'package:prasule/util/graphs.dart';
|
import 'package:prasule/util/graphs.dart';
|
||||||
|
@ -262,7 +261,7 @@ class _GraphViewState extends State<GraphView> {
|
||||||
.expensesPerYear(_selectedDate.year)
|
.expensesPerYear(_selectedDate.year)
|
||||||
: AppLocalizations.of(context)
|
: AppLocalizations.of(context)
|
||||||
.expensesPerMonth(
|
.expensesPerMonth(
|
||||||
DateFormat.yMMMM()
|
DateFormat.yMMMM(locale)
|
||||||
.format(_selectedDate),
|
.format(_selectedDate),
|
||||||
),
|
),
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
|
|
Loading…
Reference in a new issue