diff --git a/src/components/Wallet.test.tsx b/src/components/Wallet.test.tsx
index 026d7874..22d5384f 100644
--- a/src/components/Wallet.test.tsx
+++ b/src/components/Wallet.test.tsx
@@ -52,7 +52,7 @@ describe('', () => {
act(() => setup({ walletFileName: dummyWalletFileName }))
expect(screen.getByText(walletDisplayName(dummyWalletFileName))).toBeInTheDocument()
- expect(screen.getByText('wallets.wallet_preview.wallet_inactive')).toBeInTheDocument()
+ expect(screen.getByText('wallets.wallet_preview.wallet_locked')).toBeInTheDocument()
expect(screen.queryByPlaceholderText('wallets.wallet_preview.placeholder_password')).not.toBeInTheDocument()
expect(screen.queryByText('wallets.wallet_preview.button_unlock')).not.toBeInTheDocument()
expect(screen.queryByText('wallets.wallet_preview.button_open')).not.toBeInTheDocument()
@@ -62,7 +62,7 @@ describe('', () => {
it('should unlock inactive wallet successfully', async () => {
await act(async () => setup({ walletFileName: dummyWalletFileName, unlockWallet: mockUnlockWallet }))
- expect(screen.getByText('wallets.wallet_preview.wallet_inactive')).toBeInTheDocument()
+ expect(screen.getByText('wallets.wallet_preview.wallet_locked')).toBeInTheDocument()
expect(screen.getByText('wallets.wallet_preview.button_unlock')).toBeInTheDocument()
expect(screen.getByPlaceholderText('wallets.wallet_preview.placeholder_password')).toBeInTheDocument()
expect(screen.queryByText('wallets.wallet_preview.button_open')).not.toBeInTheDocument()
@@ -93,7 +93,7 @@ describe('', () => {
)
expect(screen.getByText(walletDisplayName(dummyWalletFileName))).toBeInTheDocument()
- expect(screen.getByText('wallets.wallet_preview.wallet_active')).toBeInTheDocument()
+ expect(screen.getByText('wallets.wallet_preview.wallet_unlocked')).toBeInTheDocument()
expect(screen.queryByPlaceholderText('wallets.wallet_preview.placeholder_password')).toBeInTheDocument()
expect(screen.queryByText('wallets.wallet_preview.button_unlock')).toBeInTheDocument()
expect(screen.queryByText('wallets.wallet_preview.button_open')).not.toBeInTheDocument()
@@ -110,7 +110,7 @@ describe('', () => {
)
expect(screen.getByText(walletDisplayName(dummyWalletFileName))).toBeInTheDocument()
- expect(screen.getByText('wallets.wallet_preview.wallet_active')).toBeInTheDocument()
+ expect(screen.getByText('wallets.wallet_preview.wallet_unlocked')).toBeInTheDocument()
expect(screen.getByText('wallets.wallet_preview.button_open')).toBeInTheDocument()
expect(screen.getByText('wallets.wallet_preview.button_lock')).toBeInTheDocument()
expect(screen.queryByPlaceholderText('wallets.wallet_preview.placeholder_password')).not.toBeInTheDocument()
@@ -126,7 +126,7 @@ describe('', () => {
}),
)
- expect(screen.getByText('wallets.wallet_preview.wallet_active')).toBeInTheDocument()
+ expect(screen.getByText('wallets.wallet_preview.wallet_unlocked')).toBeInTheDocument()
expect(screen.getByText('wallets.wallet_preview.button_lock')).toBeInTheDocument()
await act(async () => {
diff --git a/src/components/Wallet.tsx b/src/components/Wallet.tsx
index 6cf9e0b1..ebfa1f07 100644
--- a/src/components/Wallet.tsx
+++ b/src/components/Wallet.tsx
@@ -190,9 +190,9 @@ export default function Wallet({
{isActive ? (
- {t('wallets.wallet_preview.wallet_active')}
+ {t('wallets.wallet_preview.wallet_unlocked')}
) : (
- {t('wallets.wallet_preview.wallet_inactive')}
+ {t('wallets.wallet_preview.wallet_locked')}
)}
diff --git a/src/components/Wallets.test.tsx b/src/components/Wallets.test.tsx
index a12c6ae9..d74bce08 100644
--- a/src/components/Wallets.test.tsx
+++ b/src/components/Wallets.test.tsx
@@ -214,7 +214,7 @@ describe('', () => {
await act(async () => setup({}))
- expect(screen.getByText('wallets.wallet_preview.wallet_inactive')).toBeInTheDocument()
+ expect(screen.getByText('wallets.wallet_preview.wallet_locked')).toBeInTheDocument()
expect(screen.getByText('wallets.wallet_preview.button_unlock')).toBeInTheDocument()
expect(screen.getByPlaceholderText('wallets.wallet_preview.placeholder_password')).toBeInTheDocument()
@@ -261,7 +261,7 @@ describe('', () => {
await act(async () => setup({}))
- expect(screen.getByText('wallets.wallet_preview.wallet_inactive')).toBeInTheDocument()
+ expect(screen.getByText('wallets.wallet_preview.wallet_locked')).toBeInTheDocument()
expect(screen.getByText('wallets.wallet_preview.button_unlock')).toBeInTheDocument()
expect(screen.getByPlaceholderText('wallets.wallet_preview.placeholder_password')).toBeInTheDocument()
@@ -313,7 +313,7 @@ describe('', () => {
}),
)
- expect(screen.getByText('wallets.wallet_preview.wallet_active')).toBeInTheDocument()
+ expect(screen.getByText('wallets.wallet_preview.wallet_unlocked')).toBeInTheDocument()
expect(screen.getByText('wallets.wallet_preview.button_lock')).toBeInTheDocument()
await act(async () => {
@@ -361,7 +361,7 @@ describe('', () => {
}),
)
- expect(screen.getByText('wallets.wallet_preview.wallet_active')).toBeInTheDocument()
+ expect(screen.getByText('wallets.wallet_preview.wallet_unlocked')).toBeInTheDocument()
expect(screen.getByText('wallets.wallet_preview.button_lock')).toBeInTheDocument()
await act(async () => {
diff --git a/src/i18n/locales/en/translation.json b/src/i18n/locales/en/translation.json
index b01bc72e..d736f6d9 100644
--- a/src/i18n/locales/en/translation.json
+++ b/src/i18n/locales/en/translation.json
@@ -105,6 +105,8 @@
"alert_wallet_already_locked": "{{ walletName }} already locked.",
"wallet_active": "Active",
"wallet_inactive": "Inactive",
+ "wallet_locked": "Locked",
+ "wallet_unlocked": "Unlocked",
"placeholder_password": "Password",
"button_open": "Open",
"button_lock": "Lock",