summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOliver <oliver@mohlin.dev>2025-10-07 07:52:45 +0200
committerTobias Järvelöv <tobias.jarvelov@mullvad.net>2025-10-10 13:38:06 +0200
commit33373e0b62eafbe4201dcc387f02975e7d976e2b (patch)
tree10a4166e7e76819a3eafe64be712d3f007b225c8
parent2f150d373fbba9555891a647d57812166330d6a6 (diff)
downloadmullvadvpn-33373e0b62eafbe4201dcc387f02975e7d976e2b.tar.xz
mullvadvpn-33373e0b62eafbe4201dcc387f02975e7d976e2b.zip
Update text in remove device confirm dialog
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/components/device-list-item/components/confirm-dialog/ConfirmDialog.tsx13
1 files changed, 8 insertions, 5 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/device-list-item/components/confirm-dialog/ConfirmDialog.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/device-list-item/components/confirm-dialog/ConfirmDialog.tsx
index 399c61af88..1fbeed96cf 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/components/device-list-item/components/confirm-dialog/ConfirmDialog.tsx
+++ b/desktop/packages/mullvad-vpn/src/renderer/components/device-list-item/components/confirm-dialog/ConfirmDialog.tsx
@@ -2,7 +2,7 @@ import { sprintf } from 'sprintf-js';
import { messages } from '../../../../../shared/gettext';
import { capitalizeEveryWord } from '../../../../../shared/string-helpers';
-import { Button } from '../../../../lib/components';
+import { Button, Text } from '../../../../lib/components';
import { formatHtml } from '../../../../lib/html-formatter';
import { IModalAlertProps, ModalAlert, ModalAlertType, ModalMessage } from '../../../Modal';
import { useDeviceListItemContext } from '../../DeviceListItemContext';
@@ -41,14 +41,17 @@ export function ConfirmDialog({ isOpen }: ConfirmDialogProps) {
// TRANSLATORS: The text enclosed in "<b></b>" will appear bold.
// TRANSLATORS: Available placeholders:
// TRANSLATORS: %(deviceName)s - The name of the device to log out.
- messages.pgettext(
- 'device-management',
- 'Remove <b>%(deviceName)s?</b> The device will be removed from the list and logged out.',
- ),
+ messages.pgettext('device-management', 'Remove <em>%(deviceName)s?</em>'),
{ deviceName },
),
)}
</ModalMessage>
+ <Text variant="labelTinySemiBold" color="whiteAlpha60">
+ {messages.pgettext(
+ 'device-management',
+ 'The device will be removed from the list and logged out.',
+ )}
+ </Text>
</ModalAlert>
);
}