mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 05:05:22 +01:00
Changed Updates headers to "Fetched _x_" instead of "Added _x_"
This commit is contained in:
parent
49bd889fcc
commit
7f818e0735
@ -45,12 +45,12 @@ class DateItem(val date: Date, val addedString: Boolean = false) : AbstractHeade
|
||||
|
||||
private val now = Date().time
|
||||
|
||||
val section_text: TextView = view.findViewById(R.id.section_text)
|
||||
private val sectionText: TextView = view.findViewById(R.id.section_text)
|
||||
|
||||
fun bind(item: DateItem) {
|
||||
val dateString = DateUtils.getRelativeTimeSpanString(item.date.time, now, DateUtils.DAY_IN_MILLIS)
|
||||
section_text.text =
|
||||
if (item.addedString) itemView.context.getString(R.string.added_, dateString) else dateString
|
||||
sectionText.text =
|
||||
if (item.addedString) itemView.context.getString(R.string.fetched_, dateString) else dateString
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -224,6 +224,7 @@
|
||||
<string name="read_">Read %1$s</string>
|
||||
<string name="updated_">Updated %1$s</string>
|
||||
<string name="added_">Added %1$s</string>
|
||||
<string name="fetched_">Fetched %1$s</string>
|
||||
<string name="view_history">View history</string>
|
||||
<string name="view_all_updates">View all updates</string>
|
||||
<string name="search_recents">Search recents…</string>
|
||||
|
Loading…
Reference in New Issue
Block a user