Compare commits

...

3 commits

Author SHA1 Message Date
Matyáš Caras
e4afee900c
Added translation using Weblate (Slovak) 2024-01-30 22:50:16 +01:00
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
4 changed files with 4 additions and 3 deletions

View file

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

View file

@ -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"
} }

1
lib/l10n/app_sk.arb Normal file
View file

@ -0,0 +1 @@
{}

View file

@ -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(