From 380d36119f19a20ad67f79b3fb5db4036a093cac Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Fri, 19 Mar 2021 20:56:56 -0400 Subject: [PATCH] fix(ui): display asterisk indicator on required field labels (#1236) --- .../Settings/Notifications/NotificationsDiscord.tsx | 2 ++ .../Settings/Notifications/NotificationsEmail.tsx | 4 ++++ .../Notifications/NotificationsPushbullet/index.tsx | 2 ++ .../Settings/Notifications/NotificationsPushover/index.tsx | 3 +++ .../Settings/Notifications/NotificationsSlack/index.tsx | 2 ++ .../Settings/Notifications/NotificationsTelegram.tsx | 3 +++ .../Settings/Notifications/NotificationsWebhook/index.tsx | 3 +++ src/components/Settings/RadarrModal/index.tsx | 2 +- src/components/Settings/SettingsPlex.tsx | 6 ++++-- src/components/Settings/SettingsServices.tsx | 2 +- src/components/Settings/SonarrModal/index.tsx | 2 +- src/i18n/locale/en.json | 5 +++-- 12 files changed, 29 insertions(+), 7 deletions(-) diff --git a/src/components/Settings/Notifications/NotificationsDiscord.tsx b/src/components/Settings/Notifications/NotificationsDiscord.tsx index 65511896f..1a12ab462 100644 --- a/src/components/Settings/Notifications/NotificationsDiscord.tsx +++ b/src/components/Settings/Notifications/NotificationsDiscord.tsx @@ -147,6 +147,7 @@ const NotificationsDiscord: React.FC = () => {
@@ -172,6 +173,7 @@ const NotificationsDiscord: React.FC = () => {
{intl.formatMessage(messages.notificationtypes)} + *
diff --git a/src/components/Settings/Notifications/NotificationsEmail.tsx b/src/components/Settings/Notifications/NotificationsEmail.tsx index 9a925d84a..d0ce112d4 100644 --- a/src/components/Settings/Notifications/NotificationsEmail.tsx +++ b/src/components/Settings/Notifications/NotificationsEmail.tsx @@ -209,6 +209,7 @@ const NotificationsEmail: React.FC = () => {
@@ -242,6 +243,7 @@ const NotificationsEmail: React.FC = () => {
@@ -260,6 +262,7 @@ const NotificationsEmail: React.FC = () => {
{
{intl.formatMessage(messages.notificationtypes)} + *
diff --git a/src/components/Settings/Notifications/NotificationsPushbullet/index.tsx b/src/components/Settings/Notifications/NotificationsPushbullet/index.tsx index 329d43615..5bd6ff230 100644 --- a/src/components/Settings/Notifications/NotificationsPushbullet/index.tsx +++ b/src/components/Settings/Notifications/NotificationsPushbullet/index.tsx @@ -124,6 +124,7 @@ const NotificationsPushbullet: React.FC = () => {
@@ -147,6 +148,7 @@ const NotificationsPushbullet: React.FC = () => {
{intl.formatMessage(messages.notificationTypes)} + *
diff --git a/src/components/Settings/Notifications/NotificationsPushover/index.tsx b/src/components/Settings/Notifications/NotificationsPushover/index.tsx index e1de7cc8b..1d0361dff 100644 --- a/src/components/Settings/Notifications/NotificationsPushover/index.tsx +++ b/src/components/Settings/Notifications/NotificationsPushover/index.tsx @@ -151,6 +151,7 @@ const NotificationsPushover: React.FC = () => {
@@ -169,6 +170,7 @@ const NotificationsPushover: React.FC = () => {
@@ -192,6 +194,7 @@ const NotificationsPushover: React.FC = () => {
{intl.formatMessage(messages.notificationtypes)} + *
diff --git a/src/components/Settings/Notifications/NotificationsSlack/index.tsx b/src/components/Settings/Notifications/NotificationsSlack/index.tsx index a5bb0e06d..21d672ded 100644 --- a/src/components/Settings/Notifications/NotificationsSlack/index.tsx +++ b/src/components/Settings/Notifications/NotificationsSlack/index.tsx @@ -127,6 +127,7 @@ const NotificationsSlack: React.FC = () => {
@@ -145,6 +146,7 @@ const NotificationsSlack: React.FC = () => {
{intl.formatMessage(messages.notificationtypes)} + *
diff --git a/src/components/Settings/Notifications/NotificationsTelegram.tsx b/src/components/Settings/Notifications/NotificationsTelegram.tsx index 8a58416dd..e34860182 100644 --- a/src/components/Settings/Notifications/NotificationsTelegram.tsx +++ b/src/components/Settings/Notifications/NotificationsTelegram.tsx @@ -178,6 +178,7 @@ const NotificationsTelegram: React.FC = () => {
@@ -196,6 +197,7 @@ const NotificationsTelegram: React.FC = () => {
@@ -234,6 +236,7 @@ const NotificationsTelegram: React.FC = () => {
{intl.formatMessage(messages.notificationtypes)} + *
diff --git a/src/components/Settings/Notifications/NotificationsWebhook/index.tsx b/src/components/Settings/Notifications/NotificationsWebhook/index.tsx index 133a10df8..f01417025 100644 --- a/src/components/Settings/Notifications/NotificationsWebhook/index.tsx +++ b/src/components/Settings/Notifications/NotificationsWebhook/index.tsx @@ -173,6 +173,7 @@ const NotificationsWebhook: React.FC = () => {
@@ -196,6 +197,7 @@ const NotificationsWebhook: React.FC = () => {
@@ -265,6 +267,7 @@ const NotificationsWebhook: React.FC = () => {
{intl.formatMessage(messages.notificationtypes)} + *
diff --git a/src/components/Settings/RadarrModal/index.tsx b/src/components/Settings/RadarrModal/index.tsx index c34b86681..47add7ef5 100644 --- a/src/components/Settings/RadarrModal/index.tsx +++ b/src/components/Settings/RadarrModal/index.tsx @@ -30,7 +30,7 @@ const messages = defineMessages({ servernamePlaceholder: 'A Radarr Server', hostname: 'Hostname or IP Address', port: 'Port', - ssl: 'SSL', + ssl: 'Enable SSL', apiKey: 'API Key', apiKeyPlaceholder: 'Your Radarr API key', baseUrl: 'Base URL', diff --git a/src/components/Settings/SettingsPlex.tsx b/src/components/Settings/SettingsPlex.tsx index 3161e3c92..f34783728 100644 --- a/src/components/Settings/SettingsPlex.tsx +++ b/src/components/Settings/SettingsPlex.tsx @@ -45,7 +45,7 @@ const messages = defineMessages({ Press the button to the right of the dropdown to check connectivity and retrieve available servers.', hostname: 'Hostname or IP Address', port: 'Port', - ssl: 'SSL', + enablessl: 'Enable SSL', timeout: 'Timeout', save: 'Save Changes', saving: 'Saving…', @@ -466,6 +466,7 @@ const SettingsPlex: React.FC = ({ onComplete }) => {
@@ -488,6 +489,7 @@ const SettingsPlex: React.FC = ({ onComplete }) => {
= ({ onComplete }) => {