diff --git a/src/components/MovieDetails/index.tsx b/src/components/MovieDetails/index.tsx index f5aaf18b..bd577f59 100644 --- a/src/components/MovieDetails/index.tsx +++ b/src/components/MovieDetails/index.tsx @@ -35,7 +35,6 @@ import StatusBadge from '../StatusBadge'; const messages = defineMessages({ releasedate: 'Release Date', - userrating: 'User Rating', status: 'Status', revenue: 'Revenue', budget: 'Budget', diff --git a/src/components/Settings/SettingsPlex.tsx b/src/components/Settings/SettingsPlex.tsx index 25bc2e83..2e799fba 100644 --- a/src/components/Settings/SettingsPlex.tsx +++ b/src/components/Settings/SettingsPlex.tsx @@ -50,8 +50,8 @@ const messages = defineMessages({ plexlibraries: 'Plex Libraries', plexlibrariesDescription: 'The libraries Overseerr scans for titles. Set up and save your Plex connection settings, then click the button below if no libraries are listed.', - scanning: 'Scanning…', - scan: 'Scan Plex Libraries', + scanning: 'Syncing…', + scan: 'Sync Libraries', manualscan: 'Manual Library Scan', manualscanDescription: "Normally, this will only be run once every 24 hours. Overseerr will check your Plex server's recently added more aggressively. If this is your first time configuring Plex, a one-time full manual library scan is recommended!", diff --git a/src/components/TvDetails/index.tsx b/src/components/TvDetails/index.tsx index eed11585..f3ef73a4 100644 --- a/src/components/TvDetails/index.tsx +++ b/src/components/TvDetails/index.tsx @@ -39,7 +39,6 @@ import StatusBadge from '../StatusBadge'; const messages = defineMessages({ firstAirDate: 'First Air Date', nextAirDate: 'Next Air Date', - userrating: 'User Rating', status: 'Status', originallanguage: 'Original Language', overview: 'Overview', diff --git a/src/components/UserList/index.tsx b/src/components/UserList/index.tsx index 66668ec1..5e028987 100644 --- a/src/components/UserList/index.tsx +++ b/src/components/UserList/index.tsx @@ -29,7 +29,8 @@ const messages = defineMessages({ importfromplex: 'Import Users from Plex', importfromplexerror: 'Something went wrong while importing users from Plex.', importedfromplex: - '{userCount, plural, =0 {No new users} one {# new user} other {# new users}} imported from Plex successfully!', + '{userCount, plural, one {# new user} other {# new users}} imported from Plex successfully!', + nouserstoimport: 'No new users to import from Plex.', user: 'User', totalrequests: 'Total Requests', accounttype: 'Account Type', @@ -171,9 +172,11 @@ const UserList: React.FC = () => { '/api/v1/user/import-from-plex' ); addToast( - intl.formatMessage(messages.importedfromplex, { - userCount: createdUsers.length, - }), + createdUsers.length + ? intl.formatMessage(messages.importedfromplex, { + userCount: createdUsers.length, + }) + : intl.formatMessage(messages.nouserstoimport), { autoDismiss: true, appearance: 'success', diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index 7c8b2615..9b92a366 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -93,7 +93,6 @@ "components.MovieDetails.status": "Status", "components.MovieDetails.studio": "{studioCount, plural, one {Studio} other {Studios}}", "components.MovieDetails.unavailable": "Unavailable", - "components.MovieDetails.userrating": "User Rating", "components.MovieDetails.view": "View", "components.MovieDetails.viewfullcrew": "View Full Crew", "components.MovieDetails.watchtrailer": "Watch Trailer", @@ -599,8 +598,8 @@ "components.Settings.regionTip": "Filter content by regional availability", "components.Settings.save": "Save Changes", "components.Settings.saving": "Saving…", - "components.Settings.scan": "Scan Plex Libraries", - "components.Settings.scanning": "Scanning…", + "components.Settings.scan": "Sync Libraries", + "components.Settings.scanning": "Syncing…", "components.Settings.serverConnected": "connected", "components.Settings.serverLocal": "local", "components.Settings.serverRemote": "remote", @@ -693,7 +692,6 @@ "components.TvDetails.similar": "Similar Series", "components.TvDetails.status": "Status", "components.TvDetails.unavailable": "Unavailable", - "components.TvDetails.userrating": "User Rating", "components.TvDetails.viewfullcrew": "View Full Crew", "components.TvDetails.watchtrailer": "Watch Trailer", "components.UserList.accounttype": "Account Type", @@ -711,12 +709,13 @@ "components.UserList.edit": "Edit", "components.UserList.edituser": "Edit User Permissions", "components.UserList.email": "Email Address", - "components.UserList.importedfromplex": "{userCount, plural, =0 {No new users} one {# new user} other {# new users}} imported from Plex successfully!", + "components.UserList.importedfromplex": "{userCount, plural, one {# new user} other {# new users}} imported from Plex successfully!", "components.UserList.importfromplex": "Import Users from Plex", "components.UserList.importfromplexerror": "Something went wrong while importing users from Plex.", "components.UserList.lastupdated": "Last Updated", "components.UserList.localuser": "Local User", "components.UserList.next": "Next", + "components.UserList.nouserstoimport": "No new users to import from Plex.", "components.UserList.owner": "Owner", "components.UserList.password": "Password", "components.UserList.passwordinfo": "Password Information",