1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Rename to ask to skip

This commit is contained in:
viown 2024-10-15 15:09:54 +03:00
parent 0008f89267
commit 198d4b157c
3 changed files with 3 additions and 3 deletions

View file

@ -3,6 +3,6 @@
*/ */
export enum MediaSegmentAction { export enum MediaSegmentAction {
None = 'None', None = 'None',
PromptToSkip = 'PromptToSkip', AskToSkip = 'AskToSkip',
Skip = 'Skip' Skip = 'Skip'
} }

View file

@ -78,7 +78,7 @@ class MediaSegmentManager extends PlaybackSubscriber {
const action = this.mediaSegmentTypeActions[mediaSegment.Type]; const action = this.mediaSegmentTypeActions[mediaSegment.Type];
if (action === MediaSegmentAction.Skip) { if (action === MediaSegmentAction.Skip) {
this.skipSegment(mediaSegment); this.skipSegment(mediaSegment);
} else if (action === MediaSegmentAction.PromptToSkip) { } else if (action === MediaSegmentAction.AskToSkip) {
this.promptToSkip(mediaSegment); this.promptToSkip(mediaSegment);
} }
} }

View file

@ -1072,7 +1072,7 @@
"MediaInfoVideoRange": "Video range", "MediaInfoVideoRange": "Video range",
"MediaIsBeingConverted": "The media is being converted into a format that is compatible with the device that is playing the media.", "MediaIsBeingConverted": "The media is being converted into a format that is compatible with the device that is playing the media.",
"MediaSegmentAction.None": "None", "MediaSegmentAction.None": "None",
"MediaSegmentAction.PromptToSkip": "Prompt To Skip", "MediaSegmentAction.AskToSkip": "Ask To Skip",
"MediaSegmentAction.Skip": "Skip", "MediaSegmentAction.Skip": "Skip",
"MediaSegmentNextEpisode": "Next Episode", "MediaSegmentNextEpisode": "Next Episode",
"MediaSegmentSkipPrompt": "Skip {0}", "MediaSegmentSkipPrompt": "Skip {0}",