From 0acad8e9fa65a9de6cecac9b6a4a5b2313ba8f06 Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Tue, 23 Feb 2021 00:56:22 -0500 Subject: [PATCH] fix(ui): add missing string for default Discover Language & edit string for default Discover Region (#1004) --- src/components/RegionSelector/index.tsx | 2 +- src/components/Settings/SettingsMain.tsx | 5 ++++- .../UserProfile/UserSettings/UserGeneralSettings/index.tsx | 5 ++++- src/i18n/locale/en.json | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/components/RegionSelector/index.tsx b/src/components/RegionSelector/index.tsx index 49db74b1..88117494 100644 --- a/src/components/RegionSelector/index.tsx +++ b/src/components/RegionSelector/index.tsx @@ -6,7 +6,7 @@ import type { Region } from '../../../server/lib/settings'; import { defineMessages, useIntl } from 'react-intl'; const messages = defineMessages({ - regionDefault: 'All', + regionDefault: 'All Regions', }); interface RegionSelectorProps { diff --git a/src/components/Settings/SettingsMain.tsx b/src/components/Settings/SettingsMain.tsx index 4466f828..83008652 100644 --- a/src/components/Settings/SettingsMain.tsx +++ b/src/components/Settings/SettingsMain.tsx @@ -48,6 +48,7 @@ const messages = defineMessages({ validationApplicationTitle: 'You must provide an application title', validationApplicationUrl: 'You must provide a valid URL', validationApplicationUrlTrailingSlash: 'URL must not end in a trailing slash', + originalLanguageDefault: 'All Languages', }); const SettingsMain: React.FC = () => { @@ -306,7 +307,9 @@ const SettingsMain: React.FC = () => { id="originalLanguage" name="originalLanguage" > - + {languages?.map((language) => ( + {languages?.map((language) => (