优化
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user