fix: Use plural string in translation

This commit is contained in:
Sorunome 2021-08-14 11:30:18 +02:00
commit 1409716418
19 changed files with 40 additions and 132 deletions

View file

@ -50,9 +50,7 @@ class StateMessage extends StatelessWidget {
),
if (counter != 0)
Text(
counter == 1
? L10n.of(context).oneMoreEvent
: L10n.of(context).xMoreEvents(counter.toString()),
L10n.of(context).moreEvents(counter),
style: TextStyle(
fontWeight: FontWeight.bold,
),