refactor(strings): rename some strings

This commit is contained in:
Nishant Mishra
2025-12-12 20:11:31 +05:30
parent d5e3890e4e
commit a02eee3795
2 changed files with 8 additions and 8 deletions

View File

@@ -204,11 +204,11 @@ fun SharedTransitionScope.LastWeekScreen(
item { item {
Text( Text(
stringResource(R.string.focus_overview), stringResource(R.string.focus_breakdown),
style = typography.headlineSmall style = typography.headlineSmall
) )
Text( Text(
stringResource(R.string.focus_overview_desc), stringResource(R.string.focus_breakdown_desc),
style = typography.bodySmall, style = typography.bodySmall,
color = colorScheme.onSurfaceVariant color = colorScheme.onSurfaceVariant
) )
@@ -249,11 +249,11 @@ fun SharedTransitionScope.LastWeekScreen(
item { item {
Text( Text(
stringResource(R.string.focus_insights), stringResource(R.string.focus_history),
style = typography.headlineSmall style = typography.headlineSmall
) )
Text( Text(
stringResource(R.string.focus_insights_desc), stringResource(R.string.focus_history_desc),
style = typography.bodySmall, style = typography.bodySmall,
color = colorScheme.onSurfaceVariant color = colorScheme.onSurfaceVariant
) )

View File

@@ -114,8 +114,8 @@
<string name="timer_reset_message">Timer reset</string> <string name="timer_reset_message">Timer reset</string>
<string name="undo">Undo</string> <string name="undo">Undo</string>
<string name="focus_break_ratio">Focus-break ratio</string> <string name="focus_break_ratio">Focus-break ratio</string>
<string name="focus_overview">Focus overview</string> <string name="focus_breakdown">Focus breakdown</string>
<string name="focus_overview_desc">Average focus durations at different times of the day</string> <string name="focus_breakdown_desc">Average focus durations at different times of the day</string>
<string name="focus_insights">Focus insights</string> <string name="focus_history">Focus history</string>
<string name="focus_insights_desc">Focus overview of each day of the past week (click on each cell for more info)</string> <string name="focus_history_desc">Focus breakdown of each day of the past week (click on each cell for more info)</string>
</resources> </resources>