diff options
| -rw-r--r-- | desktop/packages/mullvad-vpn/scripts/verify-translations-format.ts | 2 | ||||
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/renderer/lib/html-formatter.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/packages/mullvad-vpn/scripts/verify-translations-format.ts b/desktop/packages/mullvad-vpn/scripts/verify-translations-format.ts index ad3c027ac9..4b21b46426 100644 --- a/desktop/packages/mullvad-vpn/scripts/verify-translations-format.ts +++ b/desktop/packages/mullvad-vpn/scripts/verify-translations-format.ts @@ -4,7 +4,7 @@ import path from 'path'; const LOCALES_DIR = path.join('locales'); -const ALLOWED_TAGS = ['b', 'br']; +const ALLOWED_TAGS = ['b', 'br', 'em']; const ALLOWED_VOID_TAGS = ['br']; // Make sure to report these strings to crowdin. View this as a temporary escape diff --git a/desktop/packages/mullvad-vpn/src/renderer/lib/html-formatter.tsx b/desktop/packages/mullvad-vpn/src/renderer/lib/html-formatter.tsx index 6fd98272d2..0766a59bd5 100644 --- a/desktop/packages/mullvad-vpn/src/renderer/lib/html-formatter.tsx +++ b/desktop/packages/mullvad-vpn/src/renderer/lib/html-formatter.tsx @@ -4,7 +4,7 @@ import styled from 'styled-components'; import { colors } from './foundations'; const Bold = styled.span({ fontWeight: 700 }); -const Emphasis = styled.em({ color: colors.white }); +const Emphasis = styled.em({ color: colors.white, fontWeight: 600 }); // When a new tag is added here, it must also be added to allowed tags in // our verify translations script. |
