diff --git a/src/frontend/src/lib/components/transactions/AllTransactions.svelte b/src/frontend/src/lib/components/transactions/AllTransactions.svelte index 527cb4703e..a36047a845 100644 --- a/src/frontend/src/lib/components/transactions/AllTransactions.svelte +++ b/src/frontend/src/lib/components/transactions/AllTransactions.svelte @@ -1,9 +1,16 @@ -{$i18n.activity.text.title} +
+ {$i18n.activity.text.title} - + + {$i18n.activity.info.btc_transactions} + + + +
diff --git a/src/frontend/src/lib/components/ui/MessageBox.svelte b/src/frontend/src/lib/components/ui/MessageBox.svelte index ed317ec62b..4cd9e9ec5a 100644 --- a/src/frontend/src/lib/components/ui/MessageBox.svelte +++ b/src/frontend/src/lib/components/ui/MessageBox.svelte @@ -1,18 +1,19 @@
diff --git a/src/frontend/src/lib/i18n/en.json b/src/frontend/src/lib/i18n/en.json index 0e9d54a5a4..cc6050e110 100644 --- a/src/frontend/src/lib/i18n/en.json +++ b/src/frontend/src/lib/i18n/en.json @@ -796,6 +796,9 @@ "activity": { "text": { "title": "Recent Activity" + }, + "info": { + "btc_transactions": "BTC transaction information is obtained from central third parties and should be independently verified." } } } diff --git a/src/frontend/src/lib/types/i18n.d.ts b/src/frontend/src/lib/types/i18n.d.ts index ed20ab90e3..c9eff6a397 100644 --- a/src/frontend/src/lib/types/i18n.d.ts +++ b/src/frontend/src/lib/types/i18n.d.ts @@ -693,6 +693,7 @@ interface I18nLicense_agreement { interface I18nActivity { text: { title: string }; + info: { btc_transactions: string }; } interface I18n { diff --git a/src/frontend/src/tests/lib/components/transactions/AllTransactions.spec.ts b/src/frontend/src/tests/lib/components/transactions/AllTransactions.spec.ts index a590edfc20..ce7b8f7405 100644 --- a/src/frontend/src/tests/lib/components/transactions/AllTransactions.spec.ts +++ b/src/frontend/src/tests/lib/components/transactions/AllTransactions.spec.ts @@ -15,6 +15,12 @@ describe('Activity', () => { expect(title.textContent).toBe(en.activity.text.title); }); + it('renders the info box list', () => { + const { getByText } = render(AllTransactions); + + expect(getByText(en.activity.info.btc_transactions)).toBeInTheDocument(); + }); + it('renders the transactions list', () => { const { getByText } = render(AllTransactions);