From 9a2c12e51ce6f89b143ebbeb4f003b4b58027b49 Mon Sep 17 00:00:00 2001 From: "Bryan J." <132493975+chkpwd@users.noreply.github.com> Date: Fri, 14 Feb 2025 05:47:47 -0500 Subject: [PATCH] docs: update error message for various components (#1354) --- src/components/MovieDetails/index.tsx | 2 +- src/components/TitleCard/index.tsx | 2 +- src/components/TvDetails/index.tsx | 2 +- src/i18n/globalMessages.ts | 2 +- src/i18n/locale/en.json | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/MovieDetails/index.tsx b/src/components/MovieDetails/index.tsx index e4087f201..64b887487 100644 --- a/src/components/MovieDetails/index.tsx +++ b/src/components/MovieDetails/index.tsx @@ -102,7 +102,7 @@ const messages = defineMessages('components.MovieDetails', { watchlistSuccess: '{title} added to watchlist successfully!', watchlistDeleted: '{title} Removed from watchlist successfully!', - watchlistError: 'Something went wrong try again.', + watchlistError: 'Something went wrong. Please try again.', removefromwatchlist: 'Remove From Watchlist', addtowatchlist: 'Add To Watchlist', }); diff --git a/src/components/TitleCard/index.tsx b/src/components/TitleCard/index.tsx index 9a0dafec2..6312994e8 100644 --- a/src/components/TitleCard/index.tsx +++ b/src/components/TitleCard/index.tsx @@ -51,7 +51,7 @@ const messages = defineMessages('components.TitleCard', { watchlistDeleted: '{title} Removed from watchlist successfully!', watchlistCancel: 'watchlist for {title} canceled.', - watchlistError: 'Something went wrong try again.', + watchlistError: 'Something went wrong. Please try again.', }); const TitleCard = ({ diff --git a/src/components/TvDetails/index.tsx b/src/components/TvDetails/index.tsx index e91d1a5f9..96ba8a9fd 100644 --- a/src/components/TvDetails/index.tsx +++ b/src/components/TvDetails/index.tsx @@ -101,7 +101,7 @@ const messages = defineMessages('components.TvDetails', { watchlistSuccess: '{title} added to watchlist successfully!', watchlistDeleted: '{title} Removed from watchlist successfully!', - watchlistError: 'Something went wrong try again.', + watchlistError: 'Something went wrong. Please try again.', removefromwatchlist: 'Remove From Watchlist', addtowatchlist: 'Add To Watchlist', }); diff --git a/src/i18n/globalMessages.ts b/src/i18n/globalMessages.ts index 1765f1931..4fb3e0e34 100644 --- a/src/i18n/globalMessages.ts +++ b/src/i18n/globalMessages.ts @@ -58,7 +58,7 @@ const globalMessages = defineMessages('i18n', { blacklist: 'Blacklist', blacklisted: 'Blacklisted', blacklistSuccess: '{title} was successfully blacklisted.', - blacklistError: 'Something went wrong try again.', + blacklistError: 'Something went wrong. Please try again.', blacklistDuplicateError: '{title} has already been blacklisted.', removeFromBlacklistSuccess: diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index 9704b14ba..708aee65c 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -340,7 +340,7 @@ "components.MovieDetails.tmdbuserscore": "TMDB User Score", "components.MovieDetails.viewfullcrew": "View Full Crew", "components.MovieDetails.watchlistDeleted": "{title} Removed from watchlist successfully!", - "components.MovieDetails.watchlistError": "Something went wrong try again.", + "components.MovieDetails.watchlistError": "Something went wrong. Please try again.", "components.MovieDetails.watchlistSuccess": "{title} added to watchlist successfully!", "components.MovieDetails.watchtrailer": "Watch Trailer", "components.NotificationTypeSelector.adminissuecommentDescription": "Get notified when other users comment on issues.", @@ -1171,7 +1171,7 @@ "components.TitleCard.tvdbid": "TheTVDB ID", "components.TitleCard.watchlistCancel": "watchlist for {title} canceled.", "components.TitleCard.watchlistDeleted": "{title} Removed from watchlist successfully!", - "components.TitleCard.watchlistError": "Something went wrong try again.", + "components.TitleCard.watchlistError": "Something went wrong. Please try again.", "components.TitleCard.watchlistSuccess": "{title} added to watchlist successfully!", "components.TvDetails.Season.noepisodes": "Episode list unavailable.", "components.TvDetails.Season.somethingwentwrong": "Something went wrong while retrieving season data.", @@ -1209,7 +1209,7 @@ "components.TvDetails.tmdbuserscore": "TMDB User Score", "components.TvDetails.viewfullcrew": "View Full Crew", "components.TvDetails.watchlistDeleted": "{title} Removed from watchlist successfully!", - "components.TvDetails.watchlistError": "Something went wrong try again.", + "components.TvDetails.watchlistError": "Something went wrong. Please try again.", "components.TvDetails.watchlistSuccess": "{title} added to watchlist successfully!", "components.TvDetails.watchtrailer": "Watch Trailer", "components.UserList.accounttype": "Type", @@ -1393,7 +1393,7 @@ "i18n.back": "Back", "i18n.blacklist": "Blacklist", "i18n.blacklistDuplicateError": "{title} has already been blacklisted.", - "i18n.blacklistError": "Something went wrong try again.", + "i18n.blacklistError": "Something went wrong. Please try again.", "i18n.blacklistSuccess": "{title} was successfully blacklisted.", "i18n.blacklisted": "Blacklisted", "i18n.cancel": "Cancel",