refactor(stats): extract strings into resources
This commit is contained in:
@@ -300,11 +300,11 @@ fun SharedTransitionScope.LastMonthScreen(
|
||||
|
||||
item {
|
||||
Text(
|
||||
"Focus history calendar",
|
||||
stringResource(R.string.focus_history_calendar),
|
||||
style = typography.headlineSmall
|
||||
)
|
||||
Text(
|
||||
"Focus history of the past month. Days of the previous month are marked with a different color. Click on a date for more info.",
|
||||
stringResource(R.string.focus_history_calendar_desc),
|
||||
style = typography.bodySmall,
|
||||
color = colorScheme.onSurfaceVariant
|
||||
)
|
||||
|
||||
@@ -118,4 +118,6 @@
|
||||
<string name="show_chart">Show chart</string>
|
||||
<string name="focus_history_heatmap">Focus history heatmap</string>
|
||||
<string name="focus_history_heatmap_desc">Focus history of the past year. Deeper colors represent a longer duration. Cells are grouped by month. Tap on cells for more info.</string>
|
||||
<string name="focus_history_calendar">Focus history calendar</string>
|
||||
<string name="focus_history_calendar_desc">Focus history of the past month. Days of the previous month are marked with a different color. Click on a date for more info.</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user