From 198d4b157c1fd4bd83dd94c91744d4c54c1af6e3 Mon Sep 17 00:00:00 2001 From: viown <48097677+viown@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:09:54 +0300 Subject: [PATCH] Rename to ask to skip --- .../stable/features/playback/constants/mediaSegmentAction.ts | 2 +- src/apps/stable/features/playback/utils/mediaSegmentManager.ts | 2 +- src/strings/en-us.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/stable/features/playback/constants/mediaSegmentAction.ts b/src/apps/stable/features/playback/constants/mediaSegmentAction.ts index 87b54f4bce..86a6a759f4 100644 --- a/src/apps/stable/features/playback/constants/mediaSegmentAction.ts +++ b/src/apps/stable/features/playback/constants/mediaSegmentAction.ts @@ -3,6 +3,6 @@ */ export enum MediaSegmentAction { None = 'None', - PromptToSkip = 'PromptToSkip', + AskToSkip = 'AskToSkip', Skip = 'Skip' } diff --git a/src/apps/stable/features/playback/utils/mediaSegmentManager.ts b/src/apps/stable/features/playback/utils/mediaSegmentManager.ts index d3c28bd04e..faf75f9c7f 100644 --- a/src/apps/stable/features/playback/utils/mediaSegmentManager.ts +++ b/src/apps/stable/features/playback/utils/mediaSegmentManager.ts @@ -78,7 +78,7 @@ class MediaSegmentManager extends PlaybackSubscriber { const action = this.mediaSegmentTypeActions[mediaSegment.Type]; if (action === MediaSegmentAction.Skip) { this.skipSegment(mediaSegment); - } else if (action === MediaSegmentAction.PromptToSkip) { + } else if (action === MediaSegmentAction.AskToSkip) { this.promptToSkip(mediaSegment); } } diff --git a/src/strings/en-us.json b/src/strings/en-us.json index 7ec6d03886..d06e779771 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -1072,7 +1072,7 @@ "MediaInfoVideoRange": "Video range", "MediaIsBeingConverted": "The media is being converted into a format that is compatible with the device that is playing the media.", "MediaSegmentAction.None": "None", - "MediaSegmentAction.PromptToSkip": "Prompt To Skip", + "MediaSegmentAction.AskToSkip": "Ask To Skip", "MediaSegmentAction.Skip": "Skip", "MediaSegmentNextEpisode": "Next Episode", "MediaSegmentSkipPrompt": "Skip {0}",