More descriptive counters
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ class IndexerRelayListViewModel : BasicRelaySetupInfoModel() {
|
||||
filter = Filter(kinds = listOf(MetadataEvent.KIND)),
|
||||
),
|
||||
CountFilter(
|
||||
label = R.string.relay_settings_lower,
|
||||
label = R.string.relay_settings_lower2,
|
||||
filter = Filter(kinds = listOf(AdvertisedRelayListEvent.KIND)),
|
||||
),
|
||||
)
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ class PrivateOutboxRelayListViewModel : BasicRelaySetupInfoModel() {
|
||||
override fun countFilters(relayUrl: NormalizedRelayUrl): List<CountFilter> =
|
||||
listOf(
|
||||
CountFilter(
|
||||
label = R.string.events,
|
||||
label = R.string.events_from_you,
|
||||
filter = Filter(authors = listOf(account.pubKey)),
|
||||
),
|
||||
)
|
||||
|
||||
+2
-2
@@ -137,7 +137,7 @@ class Nip65RelayListViewModel : ViewModel() {
|
||||
RelayCountResult(
|
||||
listOf(
|
||||
RelayCountResult.CountEntry(
|
||||
label = R.string.events,
|
||||
label = R.string.events_from_you,
|
||||
count = result.count,
|
||||
approximate = result.approximate,
|
||||
),
|
||||
@@ -156,7 +156,7 @@ class Nip65RelayListViewModel : ViewModel() {
|
||||
RelayCountResult(
|
||||
listOf(
|
||||
RelayCountResult.CountEntry(
|
||||
label = R.string.events,
|
||||
label = R.string.events_to_you,
|
||||
count = result.count,
|
||||
approximate = result.approximate,
|
||||
),
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ class SearchRelayListViewModel : BasicRelaySetupInfoModel() {
|
||||
override fun countFilters(relayUrl: NormalizedRelayUrl): List<CountFilter> =
|
||||
listOf(
|
||||
CountFilter(
|
||||
label = R.string.events,
|
||||
label = R.string.searchable_events,
|
||||
filter = Filter(),
|
||||
),
|
||||
)
|
||||
|
||||
@@ -1917,8 +1917,12 @@
|
||||
<string name="event_sync_no_events">no events</string>
|
||||
<string name="ots_explorer_settings">Bitcoin Explorer (OTS)</string>
|
||||
<string name="events">events</string>
|
||||
<string name="events_from_you">events from you</string>
|
||||
<string name="events_to_you">events to you</string>
|
||||
<string name="searchable_events">searchable events</string>
|
||||
<string name="dms">DMs</string>
|
||||
<string name="profiles">profiles</string>
|
||||
<string name="relay_settings_lower2">outbox lists</string>
|
||||
<string name="relay_settings_lower">relay settings</string>
|
||||
<string name="last_seen">Last seen %1$s ago</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user