From 190a5c0723d4aeafc4ad6103d52c2042a4eaed0e Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Tue, 13 Apr 2021 01:19:07 -0400 Subject: [PATCH] fix(lang): remove unused strings & correct manageModalNoRequests strings (#1413) --- src/components/MovieDetails/index.tsx | 2 +- src/components/Settings/SettingsNotifications.tsx | 2 -- src/components/TvDetails/index.tsx | 2 +- src/i18n/locale/en.json | 6 ++---- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/components/MovieDetails/index.tsx b/src/components/MovieDetails/index.tsx index a865f1ab1..dadd9c1ad 100644 --- a/src/components/MovieDetails/index.tsx +++ b/src/components/MovieDetails/index.tsx @@ -49,7 +49,7 @@ const messages = defineMessages({ overviewunavailable: 'Overview unavailable.', manageModalTitle: 'Manage Movie', manageModalRequests: 'Requests', - manageModalNoRequests: 'No Requests', + manageModalNoRequests: 'No requests.', manageModalClearMedia: 'Clear All Media Data', manageModalClearMediaWarning: '* This will irreversibly remove all data for this movie, including any requests. If this item exists in your Plex library, the media information will be recreated during the next scan.', diff --git a/src/components/Settings/SettingsNotifications.tsx b/src/components/Settings/SettingsNotifications.tsx index 761c73278..e5a3bf9aa 100644 --- a/src/components/Settings/SettingsNotifications.tsx +++ b/src/components/Settings/SettingsNotifications.tsx @@ -15,8 +15,6 @@ const messages = defineMessages({ notificationsettings: 'Notification Settings', notificationAgentSettingsDescription: 'Configure and enable notification agents.', - notificationsettingssaved: 'Notification settings saved successfully!', - notificationsettingsfailed: 'Notification settings failed to save.', email: 'Email', webhook: 'Webhook', }); diff --git a/src/components/TvDetails/index.tsx b/src/components/TvDetails/index.tsx index 223be18ac..9632c56b5 100644 --- a/src/components/TvDetails/index.tsx +++ b/src/components/TvDetails/index.tsx @@ -49,7 +49,7 @@ const messages = defineMessages({ overviewunavailable: 'Overview unavailable.', manageModalTitle: 'Manage Series', manageModalRequests: 'Requests', - manageModalNoRequests: 'No Requests', + manageModalNoRequests: 'No requests.', manageModalClearMedia: 'Clear All Media Data', manageModalClearMediaWarning: '* This will irreversibly remove all data for this TV series, including any requests. If this item exists in your Plex library, the media information will be recreated during the next scan.', diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index dfa062628..537af0080 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -63,7 +63,7 @@ "components.MovieDetails.downloadstatus": "Download Status", "components.MovieDetails.manageModalClearMedia": "Clear All Media Data", "components.MovieDetails.manageModalClearMediaWarning": "* This will irreversibly remove all data for this movie, including any requests. If this item exists in your Plex library, the media information will be recreated during the next scan.", - "components.MovieDetails.manageModalNoRequests": "No Requests", + "components.MovieDetails.manageModalNoRequests": "No requests.", "components.MovieDetails.manageModalRequests": "Requests", "components.MovieDetails.manageModalTitle": "Manage Movie", "components.MovieDetails.mark4kavailable": "Mark 4K as Available", @@ -545,8 +545,6 @@ "components.Settings.notificationAgentSettingsDescription": "Configure and enable notification agents.", "components.Settings.notifications": "Notifications", "components.Settings.notificationsettings": "Notification Settings", - "components.Settings.notificationsettingsfailed": "Notification settings failed to save.", - "components.Settings.notificationsettingssaved": "Notification settings saved successfully!", "components.Settings.notrunning": "Not Running", "components.Settings.originallanguage": "Discover Language", "components.Settings.originallanguageTip": "Filter content by original language", @@ -626,7 +624,7 @@ "components.TvDetails.firstAirDate": "First Air Date", "components.TvDetails.manageModalClearMedia": "Clear All Media Data", "components.TvDetails.manageModalClearMediaWarning": "* This will irreversibly remove all data for this TV series, including any requests. If this item exists in your Plex library, the media information will be recreated during the next scan.", - "components.TvDetails.manageModalNoRequests": "No Requests", + "components.TvDetails.manageModalNoRequests": "No requests.", "components.TvDetails.manageModalRequests": "Requests", "components.TvDetails.manageModalTitle": "Manage Series", "components.TvDetails.mark4kavailable": "Mark 4K as Available",