diff --git a/src/components/AppDataWarning/index.tsx b/src/components/AppDataWarning/index.tsx index 3023db81a..fce97bd53 100644 --- a/src/components/AppDataWarning/index.tsx +++ b/src/components/AppDataWarning/index.tsx @@ -4,7 +4,6 @@ import useSWR from 'swr'; import Alert from '../Common/Alert'; const messages = defineMessages({ - dockerVolumeMissing: 'Docker Volume Mount Missing', dockerVolumeMissingDescription: 'The {appDataPath} volume mount was not configured properly. All data will be cleared when the container is stopped or restarted.', }); @@ -26,14 +25,14 @@ const AppDataWarning: React.FC = () => { return ( <> {!data.appData && ( - - {intl.formatMessage(messages.dockerVolumeMissingDescription, { + {msg}; }, appDataPath: data.appDataPath, })} - + /> )} ); diff --git a/src/components/RequestModal/SearchByNameModal/index.tsx b/src/components/RequestModal/SearchByNameModal/index.tsx index ff0c6e1c6..50df04691 100644 --- a/src/components/RequestModal/SearchByNameModal/index.tsx +++ b/src/components/RequestModal/SearchByNameModal/index.tsx @@ -8,7 +8,6 @@ import { SmallLoadingSpinner } from '../../Common/LoadingSpinner'; import Modal from '../../Common/Modal'; const messages = defineMessages({ - notvdbid: 'Manual Match Required', notvdbiddescription: "We couldn't automatically match your request. Please select the correct match from the list below.", nosummary: 'No summary for this title was found.', @@ -69,9 +68,10 @@ const SearchByNameModal: React.FC = ({ } > - - {intl.formatMessage(messages.notvdbiddescription)} - + {!data && !error && }
{data?.slice(0, 6).map((item) => ( diff --git a/src/components/Settings/Notifications/NotificationsEmail.tsx b/src/components/Settings/Notifications/NotificationsEmail.tsx index 625062bf9..1daca614f 100644 --- a/src/components/Settings/Notifications/NotificationsEmail.tsx +++ b/src/components/Settings/Notifications/NotificationsEmail.tsx @@ -30,7 +30,6 @@ const messages = defineMessages({ 'SSL should be disabled on standard TLS connections (port 587)', senderName: 'Sender Name', validationEmail: 'You must provide a valid email address', - emailNotificationTypesAlert: 'Email Notification Recipients', emailNotificationTypesAlertDescription: 'Media Requested, Media Automatically Approved, and Media Failed email notifications are sent to all users with the Manage Requests permission.', emailNotificationTypesAlertDescriptionPt2: @@ -198,38 +197,40 @@ const NotificationsEmail: React.FC = () => { return ( <> +

+ {intl.formatMessage( + messages.emailNotificationTypesAlertDescription, + { + strong: function strong(msg) { + return ( + + {msg} + + ); + }, + } + )} +

+

+ {intl.formatMessage( + messages.emailNotificationTypesAlertDescriptionPt2, + { + strong: function strong(msg) { + return ( + + {msg} + + ); + }, + } + )} +

+ + } type="info" - > -

- {intl.formatMessage( - messages.emailNotificationTypesAlertDescription, - { - strong: function strong(msg) { - return ( - - {msg} - - ); - }, - } - )} -

-

- {intl.formatMessage( - messages.emailNotificationTypesAlertDescriptionPt2, - { - strong: function strong(msg) { - return ( - - {msg} - - ); - }, - } - )} -

-
+ />