From 508fccae4edc2aaf0e5597965e6860c1a64c1be9 Mon Sep 17 00:00:00 2001 From: Aiden Vigue Date: Sat, 27 Feb 2021 22:41:35 +0000 Subject: [PATCH] fix(build): fix build errors --- src/components/MovieDetails/index.tsx | 2 +- src/components/TvDetails/index.tsx | 2 +- src/i18n/locale/en.json | 9 +++------ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/MovieDetails/index.tsx b/src/components/MovieDetails/index.tsx index 298a3be75..3d812d2f7 100644 --- a/src/components/MovieDetails/index.tsx +++ b/src/components/MovieDetails/index.tsx @@ -431,7 +431,7 @@ const MovieDetails: React.FC = ({ movie }) => { inProgress={ (data.mediaInfo?.downloadStatus4k ?? []).length > 0 } - plexUrl4k={data.mediaInfo?.plexUrl4k} + mediaUrl4k={data.mediaInfo?.mediaUrl4k} /> )} diff --git a/src/components/TvDetails/index.tsx b/src/components/TvDetails/index.tsx index 519e5239e..2f7a44b1a 100644 --- a/src/components/TvDetails/index.tsx +++ b/src/components/TvDetails/index.tsx @@ -448,7 +448,7 @@ const TvDetails: React.FC = ({ tv }) => { inProgress={ (data.mediaInfo?.downloadStatus4k ?? []).length > 0 } - plexUrl4k={data.mediaInfo?.plexUrl4k} + mediaUrl4k={data.mediaInfo?.mediaUrl4k} /> )} diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index f5c115115..ebafcad8c 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -153,9 +153,9 @@ "components.PersonDetails.nobiography": "No biography available.", "components.PlexLoginButton.loading": "Loading…", "components.PlexLoginButton.signingin": "Signing in…", + "components.PlexLoginButton.signinwithplex": "Sign In with Plex", "components.RegionSelector.regionDefault": "All Regions", "components.RegionSelector.regionServerDefault": "{applicationTitle} Default ({region})", - "components.PlexLoginButton.signinwithplex": "Sign In with Plex", "components.RequestBlock.profilechanged": "Quality Profile", "components.RequestBlock.requestoverrides": "Request Overrides", "components.RequestBlock.rootfolder": "Root Folder", @@ -595,10 +595,8 @@ "components.Settings.validationHostnameRequired": "You must provide a hostname/IP", "components.Settings.validationPortRequired": "You must provide a port", "components.Settings.webhook": "Webhook", - "components.Setup.configureplex": "Configure Plex", - "components.Setup.authorize": "Authorize", + "components.Setup.configuremediaserver": "Configure Media Server", "components.Setup.configureservices": "Configure Services", - "components.Setup.connectmediaserver": "Connect Media Server", "components.Setup.continue": "Continue", "components.Setup.finish": "Finish Setup", "components.Setup.finishing": "Finishing…", @@ -710,13 +708,12 @@ "components.UserProfile.UserSettings.UserGeneralSettings.generalsettings": "General Settings", "components.UserProfile.UserSettings.UserGeneralSettings.languageServerDefault": "{applicationTitle} Default ({language})", "components.UserProfile.UserSettings.UserGeneralSettings.localuser": "Local User", + "components.UserProfile.UserSettings.UserGeneralSettings.mediaServerUser": "{mediaServerName} User", "components.UserProfile.UserSettings.UserGeneralSettings.originalLanguageDefault": "All Languages", "components.UserProfile.UserSettings.UserGeneralSettings.originallanguage": "Discover Language", "components.UserProfile.UserSettings.UserGeneralSettings.originallanguageTip": "Filter content by original language (only applies to the \"Popular\" and \"Upcoming\" categories)", - "components.UserProfile.UserSettings.UserGeneralSettings.plexuser": "Plex User", "components.UserProfile.UserSettings.UserGeneralSettings.region": "Discover Region", "components.UserProfile.UserSettings.UserGeneralSettings.regionTip": "Filter content by region (only applies to the \"Popular\" and \"Upcoming\" categories)", - "components.UserProfile.UserSettings.UserGeneralSettings.mediaServerUser": "{mediaServerName} User", "components.UserProfile.UserSettings.UserGeneralSettings.save": "Save Changes", "components.UserProfile.UserSettings.UserGeneralSettings.saving": "Saving…", "components.UserProfile.UserSettings.UserGeneralSettings.toastSettingsFailure": "Something went wrong while saving settings.",