Skip to content

Commit 54f1517

Browse files
enzo-bitflyremoterami
authored andcommitted
fix: placeholder text
1 parent cf28f04 commit 54f1517

File tree

2 files changed

+11
-22
lines changed

2 files changed

+11
-22
lines changed

frontend/components/dashboard/table/DashboardTableElConsolidations.vue

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ const {
1515
isLoading: boolean,
1616
}>()
1717
18-
const {
19-
isGuestDashboard,
20-
} = useDashboardKey()
21-
2218
const { width } = useWindowSize()
2319
const isMobile = computed(() => {
2420
return width.value < 768
@@ -46,11 +42,7 @@ const setSearch = (value?: string) => {
4642
<template>
4743
<BcTableControl
4844
:title="$t('dashboard.validator.el_consolidations.title')"
49-
:search-placeholder="$t(
50-
isGuestDashboard
51-
? 'dashboard.validator.el_consolidations.search_placeholder_guest_dashboard'
52-
: 'dashboard.validator.el_consolidations.search_placeholder_private_dashboard',
53-
)
45+
:search-placeholder="$t('dashboard.validator.el_consolidations.search_placeholder')
5446
"
5547
@set-search="setSearch"
5648
>

frontend/i18n/locales/en.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -244,16 +244,14 @@
244244
"target_not_compounding": "The target is not compounding.",
245245
"target_unknown_pubkey": "The target public key could not be found."
246246
},
247-
"search_placeholder": "Index, Slot, Address",
248-
"slot_processed": "Slot Processed",
249-
"slot_queued": "Slot Queued",
247+
"search_placeholder": "Index, Slot",
250248
"title": "Consensus Layer"
251249
},
252250
"cl_deposits": {
253251
"info_compound_event_deposit": "CL deposit was caused by a switch to compounding event",
254252
"info_slot_processed_estimated": "This is an estimation since this deposit is still queued.",
255-
"search_placeholder_guest_dashboard": "Index, Slot, Address",
256-
"search_placeholder_private_dashboard": "Index, Slot, Address, Group",
253+
"search_placeholder_guest_dashboard": "Index, Slot",
254+
"search_placeholder_private_dashboard": "Index, Slot, Group",
257255
"title": "Consensus Layer",
258256
"type": {
259257
"auto": "Auto",
@@ -276,8 +274,8 @@
276274
"too_young": "Validator is too new to withdraw.",
277275
"unknown_pubkey": "The specified validator public key does not exist."
278276
},
279-
"search_placeholder_guest_dashboard": "Index, Slot, Public Key",
280-
"search_placeholder_private_dashboard": "Index, Group, Slot, Public Key",
277+
"search_placeholder_guest_dashboard": "Index, Slot, Public Key, Withdrawal Credentials",
278+
"search_placeholder_private_dashboard": "Index, Slot, Group, Public Key, Withdrawal Credentials",
281279
"title": "Consensus Layer",
282280
"type": {
283281
"auto": "Auto",
@@ -326,21 +324,20 @@
326324
"block_processed": "Block Processed",
327325
"block_queued": "Block Queued",
328326
"info_block_processed_estimated": "This is an estimation since this consolidation is still queued.",
329-
"search_placeholder_guest_dashboard": "Index, Block, Address",
330-
"search_placeholder_private_dashboard": "Index, Block, Address, Group",
327+
"search_placeholder": "Index, Block, Address",
331328
"title": "Execution Layer"
332329
},
333330
"el_deposits": {
334331
"info_valid_with_invalid_signature": "Signature invalid, but will still be accepted due to a prior deposit with a valid signature.",
335-
"search_placeholder_guest_dashboard": "Index, Block, Address",
336-
"search_placeholder_private_dashboard": "Index, Block, Address, Group",
332+
"search_placeholder_guest_dashboard": "Index, Block, Public Key",
333+
"search_placeholder_private_dashboard": "Index, Block, Group, Public Key",
337334
"title": "Execution Layer"
338335
},
339336
"el_withdrawals": {
340337
"info_amount_estimated": "If the withdrawal were to be processed at this very moment, this amount would be withdrawn.",
341338
"info_block_processed_estimated": "This is an estimation since this consolidation is still queued.",
342-
"search_placeholder_guest_dashboard": "Index, Block, Public Key",
343-
"search_placeholder_private_dashboard": "Index, Block, Group, Public Key",
339+
"search_placeholder_guest_dashboard": "Index, Block, Public Key, Address, Transaction Hash",
340+
"search_placeholder_private_dashboard": "Index, Block, Group, Public Key, Address, Transaction Hash",
344341
"title": "Execution Layer"
345342
},
346343
"group_management": {

0 commit comments

Comments
 (0)