This commit is contained in:
ytc1012
2025-12-02 16:38:58 +08:00
parent ef44d11c32
commit 86a368e1e3
34 changed files with 2767 additions and 686 deletions

View File

@@ -98,7 +98,7 @@ class _HistoryScreenState extends State<HistoryScreen> {
const SizedBox(height: 32),
ElevatedButton(
onPressed: () => Navigator.pop(context),
child: const Text('Start Focusing'),
child: Text(l10n.startFocusing),
),
],
),
@@ -159,7 +159,7 @@ class _HistoryScreenState extends State<HistoryScreen> {
children: [
Expanded(
child: _buildStat(
'Total',
l10n.total,
l10n.minutesValue(totalMins, l10n.minutes(totalMins)),
'⏱️',
),
@@ -167,7 +167,7 @@ class _HistoryScreenState extends State<HistoryScreen> {
const SizedBox(width: 16),
Expanded(
child: _buildStat(
'Distractions',
l10n.distractions(distractions),
l10n.distractionsCount(
distractions,
l10n.times(distractions),