diff --git a/client/components/modals/BackupScheduleModal.vue b/client/components/modals/BackupScheduleModal.vue index 71e91959d..d0164d763 100644 --- a/client/components/modals/BackupScheduleModal.vue +++ b/client/components/modals/BackupScheduleModal.vue @@ -9,7 +9,7 @@
- {{ isUpdated ? $strings.ButtonSave : $strings.MessageNoUpdateNecessary }} + {{ isUpdated ? $strings.ButtonSave : $strings.MessageNoUpdatesWereNecessary }}
diff --git a/client/components/modals/authors/EditModal.vue b/client/components/modals/authors/EditModal.vue index 787382001..db82526f2 100644 --- a/client/components/modals/authors/EditModal.vue +++ b/client/components/modals/authors/EditModal.vue @@ -141,7 +141,7 @@ export default { } }) if (!Object.keys(updatePayload).length) { - this.$toast.info(this.$strings.MessageNoUpdateNecessary) + this.$toast.info(this.$strings.ToastNoUpdatesNecessary) return } this.processing = true @@ -158,7 +158,7 @@ export default { } else if (result.merged) { this.$toast.success(this.$strings.ToastAuthorUpdateMerged) this.show = false - } else this.$toast.info(this.$strings.MessageNoUpdatesWereNecessary) + } else this.$toast.info(this.$strings.ToastNoUpdatesNecessary) } this.processing = false }, @@ -240,7 +240,7 @@ export default { ...response.author } } else { - this.$toast.info(this.$strings.ToastAuthorNoUpdatesNeeded) + this.$toast.info(this.$strings.ToastNoUpdatesNecessary) } this.processing = false } diff --git a/client/components/modals/item/tabs/Details.vue b/client/components/modals/item/tabs/Details.vue index 9e286710c..6f814e1b2 100644 --- a/client/components/modals/item/tabs/Details.vue +++ b/client/components/modals/item/tabs/Details.vue @@ -108,7 +108,7 @@ export default { if (res.warning) { this.$toast.warning(res.warning) } else if (res.updated) { - this.$toast.success(this.$strings.ToastItemDetailsUpdateSuccess) + this.$toast.success(this.$strings.ToastNoUpdatesNecessary) } else { this.$toast.info(this.$strings.ToastItemDetailsUpdateUnneeded) } diff --git a/client/components/modals/item/tabs/Match.vue b/client/components/modals/item/tabs/Match.vue index 133f1f75d..4cc8d10db 100644 --- a/client/components/modals/item/tabs/Match.vue +++ b/client/components/modals/item/tabs/Match.vue @@ -618,7 +618,7 @@ export default { if (updateResult.updated) { this.$toast.success(this.$strings.ToastItemDetailsUpdateSuccess) } else { - this.$toast.info(this.$strings.ToastItemDetailsUpdateUnneeded) + this.$toast.info(this.$strings.ToastNoUpdatesNecessary) } this.clearSelectedMatch() this.$emit('selectTab', 'details') diff --git a/client/components/modals/libraries/EditModal.vue b/client/components/modals/libraries/EditModal.vue index ea2dfacc3..1dd9c92ab 100644 --- a/client/components/modals/libraries/EditModal.vue +++ b/client/components/modals/libraries/EditModal.vue @@ -205,7 +205,7 @@ export default { submitUpdateLibrary() { var newLibraryPayload = this.getLibraryUpdatePayload() if (!Object.keys(newLibraryPayload).length) { - this.$toast.info('No updates are necessary') + this.$toast.info(this.$strings.ToastNoUpdatesNecessary) return } diff --git a/client/components/modals/podcast/tabs/EpisodeDetails.vue b/client/components/modals/podcast/tabs/EpisodeDetails.vue index 720e1f75b..ce5e1b58d 100644 --- a/client/components/modals/podcast/tabs/EpisodeDetails.vue +++ b/client/components/modals/podcast/tabs/EpisodeDetails.vue @@ -142,7 +142,7 @@ export default { const updatedDetails = this.getUpdatePayload() if (!Object.keys(updatedDetails).length) { - this.$toast.info('No changes were made') + this.$toast.info(this.$strings.ToastNoUpdatesNecessary) return false } return this.updateDetails(updatedDetails) diff --git a/client/components/modals/podcast/tabs/EpisodeMatch.vue b/client/components/modals/podcast/tabs/EpisodeMatch.vue index eb8108c63..403400d1b 100644 --- a/client/components/modals/podcast/tabs/EpisodeMatch.vue +++ b/client/components/modals/podcast/tabs/EpisodeMatch.vue @@ -105,7 +105,7 @@ export default { } const updatePayload = this.getUpdatePayload(episodeData) if (!Object.keys(updatePayload).length) { - return this.$toast.info('No updates are necessary') + return this.$toast.info(this.$strings.ToastNoUpdatesNecessary) } console.log('Episode update payload', updatePayload) diff --git a/client/components/tables/podcast/LazyEpisodesTable.vue b/client/components/tables/podcast/LazyEpisodesTable.vue index 27b624b71..f59a74e36 100644 --- a/client/components/tables/podcast/LazyEpisodesTable.vue +++ b/client/components/tables/podcast/LazyEpisodesTable.vue @@ -270,7 +270,7 @@ export default { if (data.numEpisodesUpdated) { this.$toast.success(`${data.numEpisodesUpdated} episodes updated`) } else { - this.$toast.info('No changes were made') + this.$toast.info(this.$strings.ToastNoUpdatesNecessary) } }) .catch((error) => { diff --git a/client/pages/batch/index.vue b/client/pages/batch/index.vue index c73edd405..1f1193878 100644 --- a/client/pages/batch/index.vue +++ b/client/pages/batch/index.vue @@ -366,7 +366,7 @@ export default { } } if (!updates.length) { - return this.$toast.warning('No updates were made') + return this.$toast.warning(this.$strings.ToastNoUpdatesNecessary) } console.log('Pushing updates', updates) @@ -406,4 +406,4 @@ export default { transform: translateY(-100%); transition: all 150ms ease-in 0s; } - \ No newline at end of file + diff --git a/client/strings/en-us.json b/client/strings/en-us.json index 320ca8e25..0e52cafdf 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -735,7 +735,6 @@ "MessageNoSeries": "No Series", "MessageNoTags": "No Tags", "MessageNoTasksRunning": "No Tasks Running", - "MessageNoUpdateNecessary": "No update necessary", "MessageNoUpdatesWereNecessary": "No updates were necessary", "MessageNoUserPlaylists": "You have no playlists", "MessageNotYetImplemented": "Not yet implemented", @@ -809,7 +808,6 @@ "ToastApiCallFailed": "API call failed", "ToastAuthorImageRemoveFailed": "Failed to remove image", "ToastAuthorImageRemoveSuccess": "Author image removed", - "ToastAuthorNoUpdatesNeeded": "No updates needed for author", "ToastAuthorNotFound": "Author \"{0}\" not found", "ToastAuthorRemoveFailed": "Failed to remove author", "ToastAuthorRemoveSuccess": "Author removed", @@ -868,7 +866,6 @@ "ToastItemDeletedSuccess": "Deleted item", "ToastItemDetailsUpdateFailed": "Failed to update item details", "ToastItemDetailsUpdateSuccess": "Item details updated", - "ToastItemDetailsUpdateUnneeded": "No updates needed for item details", "ToastItemMarkedAsFinishedFailed": "Failed to mark as Finished", "ToastItemMarkedAsFinishedSuccess": "Item marked as Finished", "ToastItemMarkedAsNotFinishedFailed": "Failed to mark as Not Finished", @@ -891,6 +888,7 @@ "ToastNewUserPasswordError": "Must have a password, only root user can have an empty password", "ToastNewUserTagError": "Must select at least one tag", "ToastNewUserUsernameError": "Enter a username", + "ToastNoUpdatesNecessary": "No updates necessary", "ToastPlaylistCreateFailed": "Failed to create playlist", "ToastPlaylistCreateSuccess": "Playlist created", "ToastPlaylistRemoveFailed": "Failed to remove playlist",