The swiss army knife of lossless video/audio editing
update translations
Mikael Finstad4f38a2a91b1f
diff --git a/i18next-parser.config.mjs b/i18next-parser.config.mjsindex 304d4c7c..fe8840cd 100644--- a/i18next-parser.config.mjs+++ b/i18next-parser.config.mjs@@ -1,5 +1,5 @@export default {- input: ['src/**/*.{js,jsx}', 'public/*.js'],+ input: ['src/**/*.{js,jsx,ts,tsx}', 'public/*.{js,ts}'],output: 'public/locales/$LOCALE/$NAMESPACE.json',indentation: 4,diff --git a/public/locales/en/translation.json b/public/locales/en/translation.jsonindex bcb50cdd..1fb4cd2a 100644--- a/public/locales/en/translation.json+++ b/public/locales/en/translation.json@@ -4,11 +4,14 @@"(detected)": "(detected)","{{durationMsFormatted}} ms, {{frameCount}} frames": "{{durationMsFormatted}} ms, {{frameCount}} frames","{{selectedSegments}} of {{nonFilteredSegments}} segments selected": "{{selectedSegments}} of {{nonFilteredSegments}} segments selected",+ "+{{numFrames}} frames_one": "+{{numFrames}} frame",+ "+{{numFrames}} frames_other": "+{{numFrames}} frames","<0></0> <2></2> or <4>I</4> <6>O</6> to set cutpoints": "<0></0> <2></2> or <4>I</4> <6>O</6> to set cutpoints","<0></0> to show advanced view": "<0></0> to show advanced view","<0></0> to show simple view": "<0></0> to show simple view","<0>If you're having a problem or question about LosslessCut, please first check the links in the <1>Help</1> menu. If you cannot find any resolution, you may ask a question in <3>GitHub discussions</3> or on <5>Discord.</5></0><1>If you believe that you found a bug in LosslessCut, you may <1>report a bug</1>.</1>": "<0>If you're having a problem or question about LosslessCut, please first check the links in the <1>Help</1> menu. If you cannot find any resolution, you may ask a question in <3>GitHub discussions</3> or on <5>Discord.</5></0><1>If you believe that you found a bug in LosslessCut, you may <1>report a bug</1>.</1>",- "⌘ Cmd / ⊞ Win": "⌘ Cmd / ⊞ Win",+ "⊞ Win": "⊞ Win",+ "⌘ Cmd": "⌘ Cmd","A mismatch was detected in at least one file. You may proceed, but the resulting file might not be playable.": "A mismatch was detected in at least one file. You may proceed, but the resulting file might not be playable.","Abort": "Abort","About LosslessCut": "About LosslessCut",@@ -45,6 +48,7 @@"At least one resulting file will have a too long path": "At least one resulting file will have a too long path","attachment": "attachment","audio": "audio",+ "Audio track": "Audio track","Auto load timecode from file as an offset in the timeline?": "Auto load timecode from file as an offset in the timeline","Auto merge segments to one file after export": "Auto merge segments to one file after export","Auto merge segments to one file after export, but keep segments too": "Auto merge segments to one file after export, but keep segments too",@@ -56,6 +60,7 @@"Bitrate": "Bitrate","Both": "Both","Cancel": "Cancel",+ "Cannot open anything else than regular files": "Cannot open anything else than regular files","Capture every single frame as an image": "Capture every single frame as an image","Capture exactly one image every nth frame": "Capture exactly one image every nth frame","Capture exactly one image every nth second": "Capture exactly one image every nth second",@@ -91,6 +96,7 @@"Close file and clean up": "Close file and clean up","Close sidebar": "Close sidebar","Codec": "Codec",+ "Combination is already bound to \"{{alreadyBoundKey}}\"": "Combination is already bound to \"{{alreadyBoundKey}}\"","Combination is invalid": "Combination is invalid","Combine overlapping segments": "Combine overlapping segments","Combine selected segments": "Combine selected segments",@@ -100,6 +106,7 @@"Confirm": "Confirm","Confirm quit": "Confirm quit","Convert current file to supported format": "Convert current file to supported format",+ "Convert subtitiles into segments": "Convert subtitiles into segments","Convert to supported format": "Convert to supported format","Converting to supported format": "Converting to supported format","Copy": "Copy",@@ -165,11 +172,13 @@"Download {{version}}": "Download {{version}}","DROP FILE(S)": "DROP FILE(S)","Duplicate current segment": "Duplicate current segment",+ "Duplicate keyboard combination": "Duplicate keyboard combination","Duplicate segment": "Duplicate segment","Duration": "Duration","Duration has been fixed": "Duration has been fixed","DV Analyzer Summary.txt": "DV Analyzer Summary.txt","Edit": "Edit",+ "Edit current segment tags": "Edit current segment tags","Edit file metadata": "Edit file metadata","Edit segment tags": "Edit segment tags","Edit track {{trackNum}} metadata": "Edit track {{trackNum}} metadata",@@ -250,18 +259,17 @@"Fast: Full quality remux (no audio), likely to fail": "Fast: Full quality remux (no audio), likely to fail","Fast: Full quality remux, likely to fail": "Fast: Full quality remux, likely to fail","Fast: Remux video, encode audio (fails if unsupported video codec)": "Fast: Remux video, encode audio (fails if unsupported video codec)",- "Fastest: Low playback speed": "Fastest: Low playback speed",- "Fastest: Low playback speed (audio remux), likely to fail": "Fastest: Low playback speed (audio remux), likely to fail",- "Fastest: Low playback speed (no audio)": "Fastest: Low playback speed (no audio)",+ "Fastest: FFmpeg-assisted playback": "Fastest: FFmpeg-assisted playback","FCPXML files": "FCPXML files","Feature request": "Feature request","FFmpeg": "FFmpeg","FFmpeg capture method might sometimes capture more correct colors, but the captured snapshot might be off by one or more frames, relative to the preview.": "FFmpeg capture method might sometimes capture more correct colors, but the captured snapshot might be off by one or more frames, relative to the preview.",+ "FFmpeg-assisted playback": "FFmpeg-assisted playback","File": "File","File compatibility check is not enabled, so the merge operation might not produce a valid output. Enable \"Check compatibility\" below to check file compatibility before merging.": "File compatibility check is not enabled, so the merge operation might not produce a valid output. Enable \"Check compatibility\" below to check file compatibility before merging.","File info": "File info",+ "File is not natively supported. Preview playback may be slow and of low quality, but the final export will be lossless. You may convert the file from the menu for a better preview.": "File is not natively supported. Preview playback may be slow and of low quality, but the final export will be lossless. You may convert the file from the menu for a better preview.","File names of extracted video frames": "File names of extracted video frames",- "File not natively supported. Preview may have no audio or low quality. The final export will however be lossless with audio. You may convert it from the menu for a better preview with audio.": "File not natively supported. Preview may have no audio or low quality. The final export will however be lossless with audio. You may convert it from the menu for a better preview with audio.","Files merged with warning(s)_one": "Files merged with a warning","Files merged with warning(s)_other": "Files merged with warnings","Files merged!": "Files merged!",@@ -321,6 +329,7 @@"Keep audio": "Keep audio","Keep audio tracks": "Keep audio tracks","Keep or discard audio tracks": "Keep or discard audio tracks",+ "Keep or discard thumbnail tracks": "Keep or discard thumbnail tracks","Keep selected segments": "Keep selected segments","Keep?": "Keep","Keeping {{numStreamsToCopy}} tracks": "Keeping {{numStreamsToCopy}} tracks",@@ -366,7 +375,6 @@"Minimize": "Minimize","Minimum change between two frames to be considered a new scene. A value between 0.3 and 0.5 is generally a sane choice.": "Minimum change between two frames to be considered a new scene. A value between 0.3 and 0.5 is generally a sane choice.","Mismatches detected": "Mismatches detected",- "Mouse scroll/wheel left/right": "Mouse scroll/wheel left/right","Mouse scroll/wheel up/down": "Mouse scroll/wheel up/down","Mouse wheel zoom modifier key": "Mouse wheel zoom modifier key","MPlayer EDL": "MPlayer EDL",@@ -404,6 +412,7 @@"Output container format:": "Output container format:","Output file already exists, refusing to overwrite. You can turn on overwriting in settings.": "Output file already exists, refusing to overwrite. You can turn on overwriting in settings.","Output file name": "Output file name",+ "Output file name is the same as the source file name. This increases the risk of accidentally overwriting or deleting source files!": "Output file name is the same as the source file name. This increases the risk of accidentally overwriting or deleting source files!","Output file name template results in duplicate file names (you are trying to export multiple files with the same name). You can fix this for example by adding the \"{{segNumVariable}}\" variable.": "Output file name template results in duplicate file names (you are trying to export multiple files with the same name). You can fix this for example by adding the \"{{segNumVariable}}\" variable.","Output file name will not be sanitized, and any special characters will be preserved. This may cause the export to fail and can cause other funny issues. Use at your own risk!": "Output file name will not be sanitized, and any special characters will be preserved. This may cause the export to fail and can cause other funny issues. Use at your own risk!","Output file names are not sanitized. Try to enable sanitazion or check your segment labels for invalid characters.": "Output file names are not sanitized. Try to enable sanitazion or check your segment labels for invalid characters.",@@ -438,6 +447,7 @@"Please test the output file in your desired player/editor before you delete the source file.": "Please test the output file in your desired player/editor before you delete the source file.","Please test the output files in your desired player/editor before you delete the source files.": "Please test the output files in your desired player/editor before you delete the source files.","PotPlayer Bookmarks (.pbf)": "PotPlayer Bookmarks (.pbf)",+ "Precise": "Precise","Prefer strong colors": "Prefer strong colors","Preserve all MOV/MP4 metadata tags (e.g. EXIF, GPS position etc.) from source file? Note that some players have trouble playing back files where all metadata is preserved, like iTunes and other Apple software": "Preserve all MOV/MP4 metadata tags (e.g. EXIF, GPS position etc.) from source file? Note that some players have trouble playing back files where all metadata is preserved, like iTunes and other Apple software.","Preserve all MP4/MOV metadata?": "Preserve all MP4/MOV metadata",@@ -492,6 +502,7 @@"Select next segment": "Select next segment","Select only this segment": "Select only this segment","Select output folder": "Select output folder",+ "Select playback quality": "Select playback quality","Select previous segment": "Select previous segment","Select segments by label": "Select segments by label","Select segments by tag": "Select segments by tag",@@ -512,6 +523,7 @@"Shift": "Shift","Shift all segments on the timeline by this amount. Negative values will be shifted back, while positive value will be shifted forward in time.": "Shift all segments on the timeline by this amount. Negative values will be shifted back, while positive value will be shifted forward in time.","Shift all segments on timeline": "Shift all segments on timeline",+ "Shift all start times": "Shift all start times","Shift timestamps so that the first timestamp is 0. (LosslessCut default)": "Shift timestamps so that the first timestamp is 0 (LosslessCut default).","Shift timestamps to make them non-negative. Also note that this affects only leading negative timestamps, and not non-monotonic negative timestamps.": "Shift timestamps to make them non-negative. Also note that this affects only leading negative timestamps, and not non-monotonic negative timestamps.","Shortest": "Shortest",@@ -557,6 +569,7 @@"Store project file (.llc) in the working directory or next to loaded media file?": "Store project file (.llc) in the working directory or next to loaded media file","subtitle": "subtitle","Subtitle": "Subtitle",+ "Subtitles (SRT)": "Subtitles (SRT)","System language": "System language","Text chapters / YouTube": "Text chapters / YouTube","The audio track is not supported. You can convert to a supported format from the menu": "The audio track is not supported. You can convert to a supported format from the menu.",@@ -576,6 +589,7 @@"This file does not have a valid duration. This may cause issues. You can try to fix the file's duration from the File menu": "This file does not have a valid duration. This may cause issues. You can try to fix the file's duration from the File menu","This file has embedded chapters. Do you want to import the chapters as cut-segments?": "This file has embedded chapters. Do you want to import the chapters as cut-segments?","This is where working files and exported files are stored.": "This is where working files and exported files are stored.",+ "This option allows you to shift all segment start times forward by one or more frames before cutting. This can be useful if the output video starts from the wrong (preceding) keyframe.": "This option allows you to shift all segment start times forward by one or more frames before cutting. This can be useful if the output video starts from the wrong (preceding) keyframe.","This option lets you losslessly change the speed at which media players will play back the exported file. For example if you double the FPS, the playback speed will double (and duration will halve), however all the frames will be intact and played back (but faster). Be careful not to set it too high, as the player might not be able to keep up (playback CPU usage will increase proportionally to the speed!)": "This option lets you losslessly change the speed at which media players will play back the exported file. For example if you double the FPS, the playback speed will double (and duration will halve), however all the frames will be intact and played back (but faster). Be careful not to set it too high, as the player might not be able to keep up (playback CPU usage will increase proportionally to the speed!)","thumbnail": "thumbnail","Timeline keyboard seek acceleration": "Timeline keyboard seek acceleration",@@ -628,6 +642,7 @@"Variables": "Variables","video": "video","Video FPS": "Video FPS",+ "Video track": "Video track","View": "View","Warning: Cutting thumbnail tracks is known to cause problems. Consider disabling track {{trackNumber}}.": "Warning: Cutting thumbnail tracks is known to cause problems. Consider disabling track {{trackNumber}}.","We are on the first frame": "We are on the first frame",@@ -636,6 +651,7 @@"What do you want to do after exporting a file or when pressing the \"delete source file\" button?": "What do you want to do after exporting a file or when pressing the \"delete source file\" button?","When merging, do you want to create chapters in the merged file, according to the cut segments? NOTE: This may dramatically increase processing time": "When merging, do you want to create chapters in the merged file, according to the cut segments? NOTE: This may dramatically increase processing time.","When merging, do you want to preserve metadata from your original file? NOTE: This may dramatically increase processing time": "When merging, do you want to preserve metadata from your original file? NOTE: This may dramatically increase processing time.",+ "When merging, it's generally recommended to set this to \"make_non_negative\"": "When merging, it's generally recommended to set this to \"make_non_negative\"","When tracks have different lengths, do you want to make the output file as long as the longest or the shortest track?": "When tracks have different lengths, do you want to make the output file as long as the longest or the shortest track?","When you export, selected segments on the timeline will be KEPT - the surrounding areas will be REMOVED.": "When you export, selected segments on the timeline will be KEPT - the surrounding areas will be REMOVED.","When you export, selected segments on the timeline will be REMOVED - the surrounding areas will be KEPT": "When you export, selected segments on the timeline will be REMOVED - the surrounding areas will be KEPT",diff --git a/src/components/ExportConfirm.jsx b/src/components/ExportConfirm.jsxindex 79725a37..beff1cfc 100644--- a/src/components/ExportConfirm.jsx+++ b/src/components/ExportConfirm.jsx@@ -110,7 +110,7 @@ const ExportConfirm = memo(({}, [avoidNegativeTs]);const onCutFromAdjustmentFramesHelpPress = useCallback(() => {- toast.fire({ icon: 'info', timer: 10000, text: i18n.t('Shift all segment start times forward by a number of frames before cutting in order to avoid starting at the wrong keyframe.') });+ toast.fire({ icon: 'info', timer: 10000, text: i18n.t('This option allows you to shift all segment start times forward by one or more frames before cutting. This can be useful if the output video starts from the wrong (preceding) keyframe.') });}, []);const onFfmpegExperimentalHelpPress = useCallback(() => {