diff options
| author | David Lönnhager <david.l@mullvad.net> | 2025-05-21 20:16:31 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2025-05-22 16:05:52 +0200 |
| commit | b2f365f174b197ae3e092ed6151ca639305133f3 (patch) | |
| tree | 8953ff404df787f19fc0535937e6bae8534d8b2c | |
| parent | 13615c74fef1dd48876f53cc052465f633792ee8 (diff) | |
| download | mullvadvpn-b2f365f174b197ae3e092ed6151ca639305133f3.tar.xz mullvadvpn-b2f365f174b197ae3e092ed6151ca639305133f3.zip | |
Fix incorrect format string for IP version error
| -rw-r--r-- | desktop/packages/mullvad-vpn/locales/messages.pot | 4 | ||||
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/shared/notifications/error.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/desktop/packages/mullvad-vpn/locales/messages.pot b/desktop/packages/mullvad-vpn/locales/messages.pot index df53b3f254..53adb35f5a 100644 --- a/desktop/packages/mullvad-vpn/locales/messages.pot +++ b/desktop/packages/mullvad-vpn/locales/messages.pot @@ -1290,12 +1290,12 @@ msgstr "" #. Label for notification when IPv4 is not available. msgctxt "notifications" -msgid "IPv4 is not available, please try changing <b>%(ipVersionFeatureName)</b> setting." +msgid "IPv4 is not available, please try changing <b>%(ipVersionFeatureName)s</b> setting." msgstr "" #. Label for notification when IPv6 is not available. msgctxt "notifications" -msgid "IPv6 is not available, please try changing <b>%(ipVersionFeatureName)</b> setting." +msgid "IPv6 is not available, please try changing <b>%(ipVersionFeatureName)s</b> setting." msgstr "" msgctxt "notifications" diff --git a/desktop/packages/mullvad-vpn/src/shared/notifications/error.ts b/desktop/packages/mullvad-vpn/src/shared/notifications/error.ts index 0b88468a24..660db9de67 100644 --- a/desktop/packages/mullvad-vpn/src/shared/notifications/error.ts +++ b/desktop/packages/mullvad-vpn/src/shared/notifications/error.ts @@ -234,7 +234,7 @@ export class ErrorNotificationProvider // TRANSLATORS: Label for notification when IPv4 is not available. messages.pgettext( 'notifications', - 'IPv4 is not available, please try changing <b>%(ipVersionFeatureName)</b> setting.', + 'IPv4 is not available, please try changing <b>%(ipVersionFeatureName)s</b> setting.', ), { ipVersionFeatureName: ipVersion }, ); @@ -243,7 +243,7 @@ export class ErrorNotificationProvider // TRANSLATORS: Label for notification when IPv6 is not available. messages.pgettext( 'notifications', - 'IPv6 is not available, please try changing <b>%(ipVersionFeatureName)</b> setting.', + 'IPv6 is not available, please try changing <b>%(ipVersionFeatureName)s</b> setting.', ), { ipVersionFeatureName: ipVersion }, ); |
