summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2022-05-03 10:24:39 +0200
committerOskar Nyberg <oskar@mullvad.net>2022-05-19 10:04:19 +0200
commite72c98c3df82b19747738677522c5e5952195929 (patch)
treebf4fee3872604f73d335feb1125631f8c36b5fad /gui/src
parent01e0d4fb35579c21b2eba9545a86b44a5866b077 (diff)
downloadmullvadvpn-e72c98c3df82b19747738677522c5e5952195929.tar.xz
mullvadvpn-e72c98c3df82b19747738677522c5e5952195929.zip
Rename filter-by-provider-* localization contexts
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/Filter.tsx4
-rw-r--r--gui/src/shared/localization-contexts.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/gui/src/renderer/components/Filter.tsx b/gui/src/renderer/components/Filter.tsx
index 335d8597d8..2f450ef7d4 100644
--- a/gui/src/renderer/components/Filter.tsx
+++ b/gui/src/renderer/components/Filter.tsx
@@ -116,14 +116,14 @@ export default function FilterByProvider() {
<TitleBarItem>
{
// TRANSLATORS: Title label in navigation bar
- messages.pgettext('filter-by-provider-nav', 'Filter by provider')
+ messages.pgettext('filter-nav', 'Filter by provider')
}
</TitleBarItem>
</NavigationItems>
</NavigationBar>
<StyledNavigationScrollbars>
<ProviderRow
- provider={messages.pgettext('filter-by-provider-view', 'All providers')}
+ provider={messages.pgettext('filter-view', 'All providers')}
bold
checked={selectionStatus === Selection.all}
onCheck={toggleAll}
diff --git a/gui/src/shared/localization-contexts.ts b/gui/src/shared/localization-contexts.ts
index 5396d7ccc2..e03c679b61 100644
--- a/gui/src/shared/localization-contexts.ts
+++ b/gui/src/shared/localization-contexts.ts
@@ -15,8 +15,8 @@ export type LocalizationContexts =
| 'account-expiry'
| 'select-location-view'
| 'select-location-nav'
- | 'filter-by-provider-view'
- | 'filter-by-provider-nav'
+ | 'filter-view'
+ | 'filter-nav'
| 'settings-view'
| 'navigation-bar'
| 'account-view'