Skip to content

Commit

Permalink
Update DAITA multihop entry selection text
Browse files Browse the repository at this point in the history
  • Loading branch information
olmoh committed Nov 15, 2024
1 parent 4d7fb81 commit 73cb80c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions desktop/packages/mullvad-vpn/locales/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1353,10 +1353,6 @@ msgctxt "select-location-view"
msgid "(Added)"
msgstr ""

msgctxt "select-location-view"
msgid "%(daita)s overrides %(multihop)s. To use %(multihop)s, please enable “%(directOnly)s” or disable %(daita)s in the %(daita)s settings."
msgstr ""

#. This is used for appending information about a location.
#. E.g. "Gothenburg (Entry)" if Gothenburg has been selected as the entrypoint.
#. Available placeholders:
Expand Down Expand Up @@ -1445,6 +1441,10 @@ msgctxt "select-location-view"
msgid "The app selects a random bridge server, but servers have a higher probability the closer they are to you."
msgstr ""

msgctxt "select-location-view"
msgid "The entry server for %(multihop)s is currently overridden by %(daita)s. To select an entry server, please first enable “%(directOnly)s” or disable \"%(daita)s\" in the settings."
msgstr ""

msgctxt "settings-import"
msgid "Clear all overrides"
msgstr ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ function DisabledEntrySelection() {
{sprintf(
messages.pgettext(
'select-location-view',
'%(daita)s overrides %(multihop)s. To use %(multihop)s, please enable “%(directOnly)s” or disable %(daita)s in the %(daita)s settings.',
'The entry server for %(multihop)s is currently overridden by %(daita)s. To select an entry server, please first enable “%(directOnly)s” or disable "%(daita)s" in the settings.',
),
{ daita: strings.daita, multihop, directOnly },
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ test("App shouldn't show entry selection when daita is enabled without direct on
response: settings,
});

const entryTab = page.getByText('Entry');
const entryTab = page.getByText('Entry').first();
await entryTab.click();
await expect(entryTab).toHaveCSS('background-color', colors.green);

Expand Down

0 comments on commit 73cb80c

Please sign in to comment.