2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

For #4455 - Rename history headers by hours and days (#4478)

This commit is contained in:
Emily Kager 2019-08-05 09:12:22 -07:00 committed by Colin Lee
parent 8aecc2b850
commit a526e0fad3
2 changed files with 9 additions and 9 deletions

View File

@ -19,9 +19,9 @@ enum class HistoryItemTimeGroup {
Today, ThisWeek, ThisMonth, Older;
fun humanReadable(context: Context): String = when (this) {
Today -> context.getString(R.string.history_today)
ThisWeek -> context.getString(R.string.history_this_week)
ThisMonth -> context.getString(R.string.history_this_month)
Today -> context.getString(R.string.history_24_hours)
ThisWeek -> context.getString(R.string.history_7_days)
ThisMonth -> context.getString(R.string.history_30_days)
Older -> context.getString(R.string.history_older)
}
}

View File

@ -362,12 +362,12 @@
<!-- Text for the button to clear selected history items. The first parameter
is a digit showing the number of items you have selected -->
<string name="history_delete_some">Delete %1$d items</string>
<!-- Text for the header that groups the history for Today -->
<string name="history_today">Today</string>
<!-- Text for the header that groups the history the past week -->
<string name="history_this_week">This week</string>
<!-- Text for the header that groups the history the past month -->
<string name="history_this_month">This month</string>
<!-- Text for the header that groups the history for last 24 hours -->
<string name="history_24_hours">Last 24 hours</string>
<!-- Text for the header that groups the history the past 7 days -->
<string name="history_7_days">Last 7 days</string>
<!-- Text for the header that groups the history the past 30 days -->
<string name="history_30_days">Last 30 days</string>
<!-- Text for the header that groups the history older than the last month -->
<string name="history_older">Older</string>
<!-- Text shown when no history exists -->