mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Apply review suggestions
This commit is contained in:
parent
83f9307a2c
commit
cec6dd14ff
2 changed files with 6 additions and 6 deletions
|
@ -76,7 +76,7 @@ function onSubmit(e) {
|
||||||
|
|
||||||
const mode = dlg.querySelector('#selectMetadataRefreshMode').value === 'scan' ? 'Default' : 'FullRefresh';
|
const mode = dlg.querySelector('#selectMetadataRefreshMode').value === 'scan' ? 'Default' : 'FullRefresh';
|
||||||
const replaceAllImages = mode === 'FullRefresh' && dlg.querySelector('.chkReplaceImages').checked;
|
const replaceAllImages = mode === 'FullRefresh' && dlg.querySelector('.chkReplaceImages').checked;
|
||||||
const replaceTrickplayImages = mode === 'FullRefresh' && dlg.querySelector('.chkReplaceTrickplayImages').checked;
|
const replaceTrickplayImages = dlg.querySelector('.chkReplaceTrickplayImages').checked;
|
||||||
|
|
||||||
options.itemIds.forEach(function (itemId) {
|
options.itemIds.forEach(function (itemId) {
|
||||||
apiClient.refreshItem(itemId, {
|
apiClient.refreshItem(itemId, {
|
||||||
|
@ -84,7 +84,7 @@ function onSubmit(e) {
|
||||||
ImageRefreshMode: mode,
|
ImageRefreshMode: mode,
|
||||||
MetadataRefreshMode: mode,
|
MetadataRefreshMode: mode,
|
||||||
ReplaceAllImages: replaceAllImages,
|
ReplaceAllImages: replaceAllImages,
|
||||||
replaceTrickplayImages: replaceTrickplayImages,
|
RegenerateTrickplay: replaceTrickplayImages,
|
||||||
ReplaceAllMetadata: replaceAllMetadata
|
ReplaceAllMetadata: replaceAllMetadata
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -844,6 +844,8 @@
|
||||||
"LabelRuntimeMinutes": "Runtime",
|
"LabelRuntimeMinutes": "Runtime",
|
||||||
"LabelSaveLocalMetadata": "Save artwork into media folders",
|
"LabelSaveLocalMetadata": "Save artwork into media folders",
|
||||||
"LabelSaveLocalMetadataHelp": "Saving artwork into media folders will put them in a place where they can be easily edited.",
|
"LabelSaveLocalMetadataHelp": "Saving artwork into media folders will put them in a place where they can be easily edited.",
|
||||||
|
"LabelSaveTrickplayLocally": "Save trickplay images next to media",
|
||||||
|
"LabelSaveTrickplayLocallyHelp": "Saving trickplay images into media folders will put them next to your media for easy migration and access.",
|
||||||
"LabelScheduledTaskLastRan": "Last ran {0}, taking {1}.",
|
"LabelScheduledTaskLastRan": "Last ran {0}, taking {1}.",
|
||||||
"LabelScreensaver": "Screensaver",
|
"LabelScreensaver": "Screensaver",
|
||||||
"LabelSeasonNumber": "Season number",
|
"LabelSeasonNumber": "Season number",
|
||||||
|
@ -1390,6 +1392,7 @@
|
||||||
"RepeatOne": "Repeat one",
|
"RepeatOne": "Repeat one",
|
||||||
"ReplaceAllMetadata": "Replace all metadata",
|
"ReplaceAllMetadata": "Replace all metadata",
|
||||||
"ReplaceExistingImages": "Replace existing images",
|
"ReplaceExistingImages": "Replace existing images",
|
||||||
|
"ReplaceTrickplayImages": "Replace existing trickplay images",
|
||||||
"Reset": "Reset",
|
"Reset": "Reset",
|
||||||
"ResetPassword": "Reset Password",
|
"ResetPassword": "Reset Password",
|
||||||
"ResolutionMatchSource": "Match Source",
|
"ResolutionMatchSource": "Match Source",
|
||||||
|
@ -1752,8 +1755,5 @@
|
||||||
"OptionExtractTrickplayImage": "Enable trickplay image extraction",
|
"OptionExtractTrickplayImage": "Enable trickplay image extraction",
|
||||||
"ExtractTrickplayImagesHelp": "Trickplay images are similar to chapter images, except they span the entire length of the content and are used to show a preview when scrubbing through videos.",
|
"ExtractTrickplayImagesHelp": "Trickplay images are similar to chapter images, except they span the entire length of the content and are used to show a preview when scrubbing through videos.",
|
||||||
"LabelExtractTrickplayDuringLibraryScan": "Extract trickplay images during the library scan",
|
"LabelExtractTrickplayDuringLibraryScan": "Extract trickplay images during the library scan",
|
||||||
"LabelExtractTrickplayDuringLibraryScanHelp": "Generate trickplay images when videos are imported during the library scan. Otherwise, they will be extracted during the trickplay images scheduled task. If generation is set to non-blocking this will not affect the time a library scan takes to complete.",
|
"LabelExtractTrickplayDuringLibraryScanHelp": "Generate trickplay images when videos are imported during the library scan. Otherwise, they will be extracted during the trickplay images scheduled task. If generation is set to non-blocking this will not affect the time a library scan takes to complete."
|
||||||
"LabelSaveTrickplayLocally": "Save trickplay images next to media",
|
|
||||||
"LabelSaveTrickplayLocallyHelp": "Saving trickplay images into media folders will put them next to your media for easy migration and access.",
|
|
||||||
"ReplaceTrickplayImages": "Replace existing trickplay images"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue