diff --git a/Changelog.txt b/Changelog.txt index 96c154b3e..ab6a68d9a 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -4,6 +4,7 @@ * NEW: * Add Whisper CPP model "small.en-q5_1.bin" * Add shortcut for "Translate selected lines" + * Add Gemini translate (beta, not all regions) - thx darnn * IMPROVED: * Update Korean translation - thx domddol * Update Portuguese translation - thx hugok79 @@ -25,7 +26,9 @@ * Fix crash in "Remove text for HI" - thx darnn * Fix single line length to 39 for Netflix Russian - thx Ekaterina * Fix for ASSA new file default style - thx mpr0st - * Fix for counting string length with extended Unicode characters + * Fix for counting string length with extended Unicode characters - thx Looi + * Fix for MyMemory translate to Russian/Hebrew - thx darnn + * Fix json text decode bug - thx darnn 4.0.3 (23rd December 2023) @@ -339,655 +342,3 @@ * Fix crash in "Generate blank video" * Fix too many {\an1} in SCC * Fix for "Compare" with ignore formatting+line breaks - thx Omair - - -3.6.11 (30th January 2023) -* NEW: - * Add File - Close translated subtitle - thx zcraber/Leon - * Add auto-naming rule for translation - thx Leon/OmrSi - * Add more Whisper post-processing - * Add line merge option for Google Cloud Vision OCR - * Add new subtitle format - thx Christophe - * Add new subtitle format - thx Chris - * Add ASSA style "Replace" - thx Mishasama - * Add "audio-to-text selected lines" shortcuts - * Add Vosk Korean/Uzbek/large-Hindi models -* IMPROVED: - * Update Chinese translation - thx nkh0472 - * Update Korean translation - thx domddol - * Update Italian translation - thx bovirus - * Update Polish translation - thx admas - * Update Portuguese translation - thx hugok79 - * Update Finnish translation - thx Teijo S - * Update Hungarian translation - thx Zityi - * Update French translation - thx Pierre - * Update Bulgarian translation - thx Калин - * Update Greek translation - thx PMitsakis - * Improve DVB in MKV (fix batch/cmd convert + pos) - thx antoniu200 - * Better FFmpeg detection - thx SMSourov - * Avoid standby in a few places - thx mpek - * Optimize ASSA style import - * Improve line split a little - thx i990049 - * Add a few English words/names to dictionaries - * Make formatting shortcuts in waveform work on selected lines - * Remember font in burn-in - thx Nespula95 - * Remember "Merge lines with same text" settings - thx kamitsu2004 - * Improve conversion of WebVTT to SubRip style handling - thx maknol - * Rename "Fix dialogs on one line" to "Break dialogs on one line" - * Sort Tesseract dictionaries in download drop-down-list - * Update Tesseract 5.2.0 to 5.3.0 - * Update Whisper CPP to 2023-01-28 - * Update yt-dlp to 2023.01.06 - * Improve setting color tags when reading from EBU STL - * Add more validation for EBU STL teletext - thx Stefan - * Add a couple of languages to the installer -* FIXED: - * Fix italic in DCinema interop - thx Andrey - * Fix Whisper model download - thx darnn - * Fix "play video from URL" for installer version - * Keep bookmarks after source view edit - thx MMT - * Fix for "Replace all" (not using a regular expression) - * Fix wrongful removal of "Unneeded Space" - thx Minherre - * Fix possible crash in "Choose profile" - thx darnn - * Make "Add missing space" work with non-English letters - thx Redjan - * Fix a few UI issues in "Word lists" - thx Edwin - * Fix crash in "Sync via other sub" - thx JP - * Fix original desync after "set start time" - thx Leon - * Handle multi-audio-track waveform/spectrogram better - thx AlfonZ42 - * Fix CSV reading issue - thx Instinct64 - * Fix SSA to ASSA style issue - thx Alain - * Fix Find/Find-next in OCR window - thx dokax - * Fix issue with online text search in translation mode - thx domddol - * Allow curly brackets in ASSA styles - thx Ahmad - * A few fixes for "Remove text for HI" - thx Zezslav - * Fix for interjections on separate line - thx williameyelash - - -3.6.10 (21st November 2022) -* FIXED: - * Fix missing DLL file - - -3.6.9 (20th November 2022) -* NEW: - * Support MP4 WebVTT in cmd line convert - * Add Whisper translate to English option - thx David - * Add some support for frame rate in Spruce format - * Allow minimization of audio-to-text windows - * Set x11 as default mpv vo (video output) on Linux - * Add shortcut for ASSA background box - thx Fuad -* IMPROVED: - * Update French translation - the Peirre - * Update Italian translation - thx bovirus - * Update Chinese translation - thx nkh0472 - * Update Bulgarian translation - thx Калин - * Update Korean translation - thx domddol - * Update Polish translation - thx admas - * Update Greek translation - thx PMitsakis - * Optimize bd sup saving in batch/cmd-line convert - * Add a few English words/names to dictionaries - * Add more settings for "Delete auto-backup after" - thx pahtashow - * Add more options for actor in custom text export - thx Francois - * Improve video auto-load (allow eg. "_nl") - thx Hilde - * Improve fix italic tags - thx uckthis - * Whisper CPP is default for Windows + in-program download - * Improve ELR format support - thx Alex -* FIXED: - * Fix VLC video player not working - * Fix for ASSA timestamps (rounding output) - thx Jerome - * Fix for MP4 subtitle timestamps - thx DrReddP/Ding-adong - * Fix crash trying to locate Whisper - * Fix setting path to FFmpeg when using Whisper - * Fix OCR window resize on Linux - thx Mangoes - * Fix bookmark showing on first spell check line - thx OmrSi - * Fix format XIF writing - thx Per - * Fix for WebVTT with line# hours - thx garion84 - * Fix " 's" / Dutch in "Fix missing spaces" - thx Jean-Pierre - - -3.6.8 (24th October 2022) -* NEW: - * Option to use only "front center" audio channel - thx shanedk - * Add support for OCR via Google's Cloud Vision API - thx Flitskikker - * "Convert colors to dialog" (also batch) - thx Flitskikker - * Add EBU STL file property icon - thx Leon - * Add new sub format - thx Edward - * Add new json sub format - thx Flitskikker - * Add new sub format - thx George - * Add shortcut "Loop selection" - thx OmrSi - * Add shortcut for "Open containing folder" - thx OmrSi - * Add shortcuts for play with speed 1.5x/2x - thx OmrSi - * Add "nOCR" option to "Batch convert" - thx Gen3ric - * New proxy settings - * Add "ASSA image color picker" incl. shortcut - thx Érico - * Add CLI param /deletecontains:word - thx sweetngx - * Add ignore white space to compare - thx Leon - * Enable "Audio-to-text" for Linux - thx edcol/coastal45 - * Add "Allow overlap" in "Change speed" - thx OmrSi - * Add bookmarks to spell check dialog - thx cyzs233/OmrSi - * Add dictate shortcut for main text box - thx Xenos71 - * Change spell check window font size via context menu - thx Marko G - * Add experimental "Audio-to-text via Whisper" - * Add toolbar icon for source view toggle - thx Leon - * SE can now be installed via "winget install Nikse.SubtitleEdit" -* IMPROVED: - * Update Polish translation - thx admas - * Update Bulgarian translation - thx Калин - * Update Chinese translation - thx nkh0472 - * Update Italian translation - thx bovirus - * Update Korean translation - thx domddol - * Update Portuguese translation - thx hugok79 - * Update French translation - the Peirre - * Update Hungarian translation - thx Zityi - * Add error label for "Batch convert" - thx Leon - * Batch convert: Improved "Remove lines with style/actor" - * Allow empty split for "split at video/cursor" - thx OmrSi - * Improve fullscreen play video size with mpv - thx GrampaWildWilly - * Can detect Tesseract 5 on Linux - thx shag00 - * OCR selected lines only (list view context menu) - * Audio-to-text: Auto-select downloaded model after download - * Allow for multiple X-TIMESTAMP-MAPs in WebVTT - thx doctorm - * Use subtitle file name for blank video - thx OmrSi - * Add list view column sort to "File - Plugins" - * Add "Use once" button for binary image compare - thx Flitskikker - * Add drag'n'drop to "Audio-to-text" batch - thx ard-av - * Do not halt on errors in "Audio-to-text" batch - thx javiavid - * SE does not contain/install any "*_user.xml" dictionary files - * Add bold support to DCP format - thx felagund - * A few fixes for eng_OCRFixReplaceList.xml - thx Ding-adong - * Most plugins should now work on Linux - * Add import/export of binary export profile - * MP4 import: Support sample size + default size/dur - thx LucretiaAudrey - * Add MP4 support in "Batch convert" - thx DrReddP -* FIXED: - * Fix crash with large files (+25 GB) in burn-in - thx OmrSi - * Fix crash when switching text-boxes/list-view-items - thx Leon - * Fix minor bug for shortcut "Go to prev line and play" - thx nissansz - * Fix minor issue with "FCE: Remove dash in single lines" - thx Minherre - * Re-add FinalCutProXml properties - thx hu - * Don't check "Continuation style" when merging dialog - thx OmrSi - * Fix ASSA background box issue - thx Érico - * Fix "*" showing in title bar after offsetting with no change - thx OmrSi - * Fix issues with NQC shot change rules - thx OmrSi - * Fix UI issue in copy-paste translate - * Fix merge lines for Greek - thx Xenos71 - * Fix not showing VobSub from MP4 - thx Luc - * Fix writing bd sup hours > 6½ hours - thx Keith - * Fix installer .NET version check - thx Christoph - * Fix a few typos - thx nkh0472 - * Fix for MP4 with WebVTT subtitles - thx LucretiaAudrey - * Fix rounding error when writing ASSA - thx tormento - - -3.6.7 (13th August 2022) -* NEW: - * Add custom "continuation style" - thx Flitskikker - * Add Icelandic language auto-detect - thx Elheym - * More options for "Modify selection" - * CLI change output-file-name - thx BenJamesAndo - * Add Polish speech recognition Vosk/Kaldi model - * Add Japanese large speech rec Vosk/Kaldi model - thx coastal45 - * Add Netflix Chinese profile - thx Kester - * Fix casing of some German nouns after audio-to-text - * Add toolbar icon for WebVTT properties - thx Leon - * Add shortcut for toggle between text box and waveform - thx Marko - * Add shortcuts for "Go to next/prev and focus waveform" - thx cyzs233 - * Export audio for selected lines - thx nissansz - * Audio-to-text for selected lines - thx Mishasama - * Add "Calc CPS only without space/punctuation" - thx Michele - * Add "{gap}" to custom text export - thx Shaun -* IMPROVED: - * Update Polish translation - thx admas - * Update Bulgarian translation - thx Калин - * Update Chinese translation - thx nkh0472 - * Update Italian translation - thx bovirus - * Update Russian translation - Elheym - * Update Portuguese translation - thx hugok79 - * Update Korean translation - thx domddol - * Update Finnish translation - thx Teijo S - * Update French translation - the Peirre - * Update Brazilian Portuguese translation - thx Igor - * Update Greek translation - thx PMitsakis - * Update Vosk to v0.3.42 - * Update Tesseract OCR to 5.2.0 - * Minor improvements for compare - * Improve top alignment capture for BDSup - thx tormento - * Improve DCinema 2010 - thx stephw999 - * Add taskbar progress bar for audio-to-text - thx lambdacore12 - * Warn about duplicate style names in ASSA/SSA - * Improve keeping original bd sup colors - thx resolution - * Spell check can now have "SE" word list (besides user words) - * Separate "Word lists" to own menu item - * Add bit rate info for burn-in two pass - thx Marko - * Fix obsolete FFmpeg param "-vol" - thx qwerty12 - * Use current audio track for audio-to-text - thx edwardg117 -* FIXED: - * Fix crash in "Remove text for HI" - thx loicvan - * Fix crash in "Fix music notation" - thx ReallyInventiveUserName - * Fix crash in "Fix music notation" - thx MizzouDawg - * Fix crash in "Save as" ASSA after SSA - thx darnn - * Fix crash in compare export - thx 1380 - * Fix crash in visual sync - thx fusefib - * Fix crash in export SSA styles w dup style name - thx A-Winters - * Fix crash in bd sup edit when changing color/resolution/alpha - * Fix crash in "Generate blank video" with no sub loaded - * Fix crash in post-processing after Vosk/Kaldi - thx Can/WestcoastHstd - * Fix crash in "duration, bridge gaps" - thx stephpw - * Fix crash (somewhat) calling GDI w many/special chars - thx holduan - * Fix for remove ASSA line as empty - thx Leon - * Fix for finding delay in MKV - thx cyzs233/signedout - * Fix bd sup edit quick OCR - * Fix reading QuickTime text with < 5 lines - thx chloehong - * Fix minor issue for "Import plain text" - thx Leon - * Fix for "Save as" with "default save as format" after MKV - thx Peter - * Fix issues with NQC shot change rules - thx OmrSi - * Fix for go to with SMPTE - thx OmrSi - - -3.6.6 (25th May 2022) -* NEW: - * Add toolbar icon for iTT properties - thx Leon - * Add new sub format - thx Sergiy - * Option to turn off "word split list" in UI - * Custom file ext for custom text formats - thx Leon - * Add shortcut for speech recognition - thx lambdacore12 - * Add CPS calculation rule "No space/punctuation" - thx MMT Gouenji-Tech - * Add some support for reading Manzanita DVB format - thx thehulk - * Add batch audio-to-text (speech recognition) - thx voska7 -* IMPROVED: - * Update Bulgarian translation - thx Калин - * Update Hungarian translation - thx Zityi - * Update Chinese translation - thx nkh0472 - * Update Portuguese translation - thx hugok79 - * Update French translation - thx Pierre - * Update Korean translation - thx domddol - * Update Italian translation - thx bovirus - * Update .NET Framework to 4.8 - * Update Tesseract OCR to 5.1.0 - * Update Vosk to 0.3.38 - * Update yt-dlp.exe to 2022.05.18 (not renamed to youtube-dl.exe anymore) - * Add some new English names - thx Omair - * Add err msg if user OCR fix replacelist invalid - thx sialivi - * Improve burn-in settings - thx Leon - * Add AMD support (hevc_amf + h264_amf) for burn-in - thx MMT Gouenji - Tech - * Support curly brackets in export custom text - thx Leon - * BD edit - always open BDSup raw (no merging) - * Use "UTF-8" in uppercase for .itt files - thx Murat - * Separate vertical margins in BD sup editor - thx von Suppé - * Add new models for audio-to-text - thx Stefan - * Improve ASSA support for "Remove Leading '...'" - thx von Suppé - * Add four extra colors to recent colors in color picker - * Add a little VobSub support in spellcheck - thx cyzs233 - * Add error msg for audio-to-text with online video - thx ilCosmico - * Try to keep ASSA tags after translate - thx eladkarako - * Remember online video for recent files (auto-reload) - * Allow for large .mcc files in "cmd line convert" - thx Emerica - * Improve "gap info" in File - Statistics - * Allow import time codes w empty subtitles - thx Heung - * Improve audio-to-text post-processing for jp/cn - thx coastal45 - * Add more GT languages - thx Ahmad/malik - * Video track bar mouse wheel works as waveform - thx voblaunsane - * Allow sort of issues in "Netflix quality check" - thx uckthis - * Add four extra custom color shortcuts - thx Bill -* FIXED: - * Fix selected line update after load of new sub - thx Jamakmake - * Removed vertical-scroll-bar-auto-show-hide as it could freeze SE - * Remove wrong OCR replace rule - thx Omair - * Minor fixes for installer file associations - thx darkred / in4u / BKR-TN - * Fix for auto-backup original - thx OmrSi - * Make "Ignore formatting" work in compare text box coloring - thx Martin - * Waveform fix for working with online video files - thx Dheeraj - * Fix bug when opening a file with video offset - thx OmrSi - * Do not repeat colors in color picker - thx SDH Marven - * Fix cmd line convert issue with EBU STL header file - thx Rumczeis - * Fix image export missing error for last two lines - th Antoine - * Fix "Batch convert" "Merge short lines" UI settings - thx maharaj12 - * Fix casing issue in Remove text for HI - thx Petar - * Fix go to next/prev/bookmark/error/empty-line in SMPTE mode - thx OmrSi - * Fix for go to previous subtitle (without play) - thx pavhofman - * Fix for Netflix TTML and bold/color tags - thx wolfgang - - -3.6.5 (19th March 2022) -* NEW: - * Add audio-to-text (speech recognition) via Vosk/Kaldi - * Split of words-without-spaces (via dictionary) in FCE/OCR - thx Dnkhatri - * Add ASSA tool "Background box generator" - thx Leon - * Option for auto-gen waveform when opening video - thx jirih/Leon/OmrSi - * Add "File type associations" in Options - Settings - * Add "waveform-multi-move" with Ctrl+mouse-move - * Add burn-in toolbar icon - thx Leon/jaydeflix - * Add more line width (CPS) calculation options - thx TL-aalive/Leon - * Add shortcuts for Tools - Sort By - thx Jolana - * Add shortcut for re-calc duration to min - thx m0ck69 - * Add shortcut for editing of bookmark - thx OmrSi - * Add shortcut for copying of plain text - thx OmrSi - * Click "New" while holding down "Shift" will keep video - thx Andrebavila - * Add "continuation style" "trailing ellipsis only" - thx Joel - * Add "Sort by Gap" - thx Andrebavila - * Add new image subtitle format TTML with inline base64 images - thx mat - * Add new text subtitle format - thx Richard - * Add new json subtitle format - thx Tim - * Add new text subtitle format - thx jiunyilin - * Add new read-only text subtitle format - thx Aris - * Add new Edius subtitle formats - thx Donal - * Add "Min gap" to "Statistics" - thx Xy -* IMPROVED: - * Update Bulgarian translation - thx Калин - * Update Italian translation - thx NAMP/bovirus - * Update Brazilian Portuguese translation - thx Igor - * Update Portuguese translation - thx hugok79 - * Update Polish translation - thx admas - * Update Chinese translation - thx nkh0472 - * Update Finnish translation - thx Teijo S - * Update Spanish translations (es-ES/ex-MX/es-AR) - thx paconaranjo - * Update Korean translation - thx domddol - * Update Vietnamese translation - thx MMT Gouenji Tech - * Update Persian translation - thx abdollahim - * Update French translation - thx Pierre - * Update file association icons (so nice) in installer - thx Leon - * Improve WebVTT parsing of malformed files - thx Leon - * Handle merge/split better with "box" tag - * Improve zoom-in for waveform a little - thx vitacon - * Trying to make nOCR work better with corrupted files - thx k7Up - * Improve English/Italian OCR rules a little - thx tormento - * Allow larger font size in list view / text box - thx OmrSi - * Improve list-view/text-box color dialog - thx Majid - * Improve color dialog with 4 last-used colors - thx Siamak - * Improve spell check regarding Yen symbol (¥) - thx Dnkhatri - * Add Nvidia hardware acceleration encodings for sub burn-in - thx Leon - * Remove position codes when reading PAC - thx Ernest - * Allow .m4s as sub file extension - thx farside - * SE now works with new libmpv (mpv-2.dll) - thx OmrSi - * Minor improvements for ASSA properties window - * Use comma instead of semicolon in CSV export - thx OmrSi - * Add some missing translations - thx domddol/nkh0472 - * Shortcut "add bm w comment" works in text box - thx MMT Gouenji Tech - * Update Tesseract to 5.0.1 (from 5.0.0) - * Improve UI regarding empty subtitles a little - txh darnn - * Some improvements for OCR fix engine - thx Janusz - * Add blank lines to Modify selection - thx OmrSi - * Allow for having a bd .sup file in spell check - thx cyzs233 - * Export images (for external OCR) in OCR window - thx cyzs233 - * Remember last-used audio track - thx chshkhr -* FIXED: - * Fix bug in BD SUP reading w missing lines - thx peter-qgd - * Fix crash in "Set start and offset the rest" w original - thx hamilaci - * Fix for generating empty waveform for online videos - thx OmrSi - * Fix for finding frame rate in some MP4 files - thx OmrSi - * Fix typo for middle/center in WebVTT default property - thx koitsu - * Fix issue with TTML 1.0 + favorite + ext change - thx OmrSi - * Fix WebVTT browser preview - thx Jeremy - * Fix crash in PAC when saving with negative values - thx sandrickn - * Fix frame Rate/Multiplier/dropMode in TimedText properties - thx OmrSi - * Fix unwanted lowercase for ASSA properties window when reopened - thx Thomas - * Fix crash when opening an MP4 video in rare cases - thx jupester - * Fix issue with bookmarks + not opened files - thx OmrSi - * Fix spell check "change word" issue with apostrophe (') - thx Jim - * Fix new-line-char in Bilibili format - thx Kuju29 - * Fix "Close video" shortcut - thx OmrSi - * Fix double space issue for output file name in sub burn-in - thx Leon - * Fix crash in "Batch convert" w add after sort - thx Siamak - * Remove beep sound when using "Go to bookmark" shortcut - thx OmrSi - * Fix crash in list view context menu after clearing source view - thx Leon - * Fix crash in list view focus/select - thx Leon - * Fix crash in modify selection w styles - thx Leon - * Fix export to image issue w font face - thx red4d - * Fix close/save original not working before opening file menu - thx OmrSi - * Fix decimal point char issue in "Convert frame rate" - thx peter-qgd - * Fix add scene changes in "Waveform batch" - thx JDTR75 - * Fix missing style column in some cases for ASSA - thx MMT Gouenji Tech - * Fix for "Fix missing spaces" w font tag - thx beeeeswax - * Fix crash when opening burn-in - thx niclainglese - * Fix crash in "import plain text" - thx darnn - * Fix Netflix QC when in SMPTE mode - thx hidsonguimaraes/OmrSi - - -3.6.4 (3rd December 2021) -* NEW: - * List errors based on current profile (Ctrl+F8) - * Add "image" option for "gen blank video" - thx Thomas - * Apply SMPTE timing to shot changes - thx kmekme/OmrSi - * Allow permanently dismiss of ASSA change res - thx Ricky - * Allow alpha when choosing text color for ASSA in main window - * Allow add empty waveform for online videos - * Switch positions of textboxes shortcut - thx Leon/darnn - * New subtitle format (json, read-only) - thx Dvid - * New subtitle format (json, read-only) - thx Filip -* IMPROVED: - * Update Bulgarian translation - thx Калин - * Update Finish translation - thx Teijo - * Update Portuguese translation - thx hugok79 - * Update Chinese translation - thx nkh0472 - * Update Hungarian translation - thx Zityi - * Video from URL - try to make it easier to use (auto-download youtube-dl/FFmpeg) - * Remember last chosen video offset - thx OmrSi - * Add "Count" label in "Go to bookmark" - thx OmrSi - * Speed up slow loading MP4 without subs as sub - thx Leon - * Auto-load audio file after import plain text - thx Leon - * "Remove scene changes" now has overview window w export - thx Marek/PM - * Remember "show video controls" + toggle context menu item - thx Leon - * Improve rounding for frames in NQC - thx OmrSi - * Do not select all text when switching to source view - thx Leon - * Update Tesseract 5 alpha 2021-08-11 to 5.00 final - thx techguro -* FIXED: - * Fix selected line in "set start and offset the rest" - thx Janusz/Tom - * Fix waveform syntax coloring after move - thx Leon - * Fix ASSA Importing attachments crash - thx Leon - * Fix sometimes bad palette for BDSup - thx Master Yoda - * Fix crash when dropping wave file on waveform - thx Apocalypse612 - * Fix issue with "Fix invalid italic tags" - thx Charvelx04 - * Fix crash in "merge lines with same text" - thx gantangpedia - * Minor fix for save as from ASSA to SRT - * Another fix for ISMT drag'n'drop - * Fix crash in nOCR - thx signedout - * Fix textbox width issue in translation mode - thx Leon - * Minor fix for toggle casing for selection - thx Leon - * Fix error gen waveform when media file delete/renamed - thx Leon - * Fix issue with setting video offset more than once - thx musicadi - * Fix dots for "file-open" text - thx PM - * Fix translation mode sync issue - thx Leon - - -3.6.3 (11th November 2021) -* NEW: - * Auto-set ASSA resolution - thx Leon - * Icon for plugin "ASSA Draw" - thx Leon - * New sub format - thx Leon - * New sub format (json) - thx Cedric - * Add read support for "combined TTML" files - thx Martin - * Add read support for Audacity label format - thx David - * Save SMPTE video time mode for recent files - thx OmrSi - * Prompt some TTML files regarding SMPTE time mode - thx uckthis - * New shortcuts for merge - the Leon - * New shortcut for calc duration by CPS - thx OmrSi - * Custom alignment values for format "iTunesTimedText" - thx Moisés - * Show ASSA style icon + ASSA prop icon for SSA - thx Mike - * Add UI option to allow single letter/digit shortcut in text box - thx walgvogel -* IMPROVED: - * Update Greek translation - thx PMitsakis - * Update Chinese translation - thx nkh0472 - * Update Bulgarian translation - thx Калин - * Update Hungarian translation - thx Zityi - * Update Portuguese translation - thx hugok79 - * Update Italian translation - thx NAMP - * Update French translation - thx Pierre - * Update Korean translation - thx domddol - * Add progress for "Generate video w burned-in subs" - thx David - * Add more settings for "Generate video w burned-in subs" - thx Leon/David - * Improve SSA styling/preview - thxfiolek2000 - * Allow ISMT files up to 50 MB - thx Essam3152 - * Allow some malformed WebVTT - thx manuelrn/larsk2 - * Make BD Sup open action configurable (OCR or edit) - thx peter-qgd - * Do not use ILRepack - to avoid anti-virus warnings - * Add "Clear" key to list of available shortcut keys - thx OmrSi - * Refresh text in mpv when changing RTL mode - * Improve detection of video info - thx Janjens - * Improve read of PNS format - thx Enzo - * Improve split with ASSA tags - thx Leon - * Improve drag'n'drop to list view with ISTM format - thx Zivko - * Ignore text between {} when spell checking ASSA/SSA - thx Omair - * Try avoid set mpv volume to 0 - thx Janusz - * Improve waveform move-element performance - thx Leon - * Optimize list view "Replace all" - thx Jamakmake - * Improve mouse wheel scrolling in waveform when locked/centered - * Update/clean NuGet packages - * Allow large angles in ASSA styles window - thx yiwenchi - * Remove shortcut action limit for duration in a few places - thx Leon - * Update Tesseract 5 alpha 2021-08-11 to RC1 2021-10-30 - * Prefer FFmpeg over VLC for extracting audio - thx Jamakmake - * Include favorite formats in "reset" - * Auto-load audio files - thx Leon -* FIXED: - * Fix tag style converting from/to ASSA - thx von Suppé - * Fix "Title bar text" when translating - thx Andrebavila - * Fix culture name for French translation - thx jpsdr - * Fix waveform multi-select error - thx darbor87 - * Fix issue with "Merge short lines" in "batch convert" - thx fhtdtdj - * Fix waveform multiple select crash - thx darbor87 - * Fix broken "Duplicate line" shortcut - thx Kelvets/OmrSi - * Fix crash in reading ISMT - thx DarkHorse-APP2 - * Fix for PAC italic w missing space - thx Enzo - * Fix switched total labels in RTL mode w original subtitle - thx OmrSi - * Rollback max #lines enforce (now hidden setting) - thx pandalamp - * Take first audio track when loading waveform - thx Tuan-P - * Fix issue with waveform original out of sync - thx Leon - * Fix "Set start and set end of prev" when playing - thx Leon - * Fix "Set end minus gap, go to next and start next here" - thx Leon - * Fix for MPC-HC not showing video - * Add timeout for main win regex search - thx darksen/Janusz - * Fix crash in "Batch convert - Auto-balance" - * Fix for "Recent files" after conversion of format - thx Jamakmake - * Fix for Blu-ray .sup noisy transparent border in VLC - thx shaino - * Fix gap syntax coloring issue - thx Leon - * Fix "Remove text for hi" issue with colon/dashes - thx Сергей - - -3.6.2 (24th August 2021) -* NEW: - * ASSA: Keep override tags (no conversion to HTML for italic/font etc.) - * ASSA: Support for ScalingX/ScalingY/Spacing/Angle/Strikeout - thx ausencia - * ASSA: Override tag helper (shortcut + custom templates) - * ASSA: Set/get position - * ASSA: Progress bar generator - * ASSA: Plugin support - * Allow custom shortcuts for plugins - * Shortcuts for video contrast/brightness (mpv only) - * Add shortcut for opening "Subtitle Edit data folder" (Ctrl+Alt+Shift+D) - * Waveform "Right-click + Ctrl" will toggle select of a subtitle - * Waveform "Right-click + Shift" will select a range of subtitles - * Add a few profiles for Amazon Prime - * Add new FCE rule: "Remove first dash in non-dialogs" - * Add "Video - Generate blank video" - thx OmrSi - * Add "Video - Generate video w burned-in sub" - * Add new sub format - thx Ricardo -* IMPROVED: - * Update Bulgarian translation - thx Калин - * Update Chinese translation - thx nkh0472 - * Update Polish translation - thx admas - * Update Portuguese translation - thx hugok79 - * Update Hungarian translation - thx Zityi - * Update Brazilian Portuguese translation - thx Igor - * Update French translation - thx Pierre - * Update Italian translation - thx NAMP - * Update Korean translation - thx domddol - * Update Czech translation - thx Trottel - * MPC: Try to search for MPC-BE too - thx Fábio - * Shortcut F5 is now "Play selected lines" - * Support read of time codes with format "f" in TTML - thx LeonCheung - * Improve waveform support for SMPTE timing (drop frame) - thx Paulo - * Try to pick best image for BDSup with fading - thx peter-qgd - * Adhere to max number of lines - thx Andrebavila - * Optimize "modify selection - styles" - * Installer: Update Inno Setup from version 5 to version 6 - * Installer: Use ngen64 on 64-bit - thx XhmikosR - * Keep selected line (nearest) after "Remove text for HI" - thx Atlantis - * Improve FPC compatibility + PAC refactor - thx ngaullier - * Improve auto-br / French regarding "space+punctuation" - thx Norbert - * Make sub preview work with mpv + audio only files - thx Rabia - * Add "[]" characters to PAC Latin - thx Valentin - * Allow hide of "Start time" column - thx ThomasLeigh/darnn - * Make title bar only-file-name or full-path configurable - thx robena - * Make DVD RIP window resizable - thx freMea - * Update Tesseract 5 beta to version 2021-08-11 -* FIXED: - * Fix MergeLinesShorterThan saving/loading - thx uckthis/OmrSi - * Fix load/save some ASSA storage style settings - thx Andrebavila - * Fix for italic in DCinemaSmpte2007/2010/2014 - thx Marko - * Minor fix for "Remove text for HI" - thx igenaya - * Minor fix for split with zero time codes - thx darnn - * Try to fix Tools - Join... with different ASSA styles - thx Joe - * Fix crash in "Continuation style" - thx ivandrofly - * Fix export to "DVD Studio STL" - thx nonofx - * Apply duration limit: Only fix "checked" lines - thx PM - * Fix crash in compare - thx Janusz - * Fix crash in ASSA style import - thx Isabella - * Fix issue with DCinema interop and missing new-lines - thx Pepo - -3.6.1 (20th May 2021) -* NEW: - * Add "Subtitle formats" settings - thx OmrSi - * ASSA attachments manager - thx LeonCheung - * Add Categories in ASSA style manager - thx ChocOranger/OmrSi - * Auto-load ASSA styles for new files - thx z3us/OmrSi - * Add support for attached fonts in ASSA style manager - * Add "Apply" button in ASSA style manager - thx LeonCheung - * Allow multiple selection in ASSA style manager - thx OmrSi - * Add bookmarks to modify selection - thx moob158/OmrSi - * Add shortcut for toggling video controls on/off - * Add "Show/hide waveform" shortcut - thx AbsenceJam - * Add "Move parts after cursor position to next subtitle" shortcut - thx Leon - * Add a quick way to remove blank lines via shortcut - * Add "Set start, offset all" shortcut - thx QuentinNetherwood/OmrSi - * Add export to CSV of bookmarks - thx kjaerlige - * Add basic read support of .mcc files - thx Bern - * Add toggle quotes and HI tags shortcuts -* IMPROVED: - * Update Polish translation - thx admas - * Update Bulgarian translation - thx Калин - * Update Chinese translation - thx nkh0472 - * Update Spanish translations - thx paconaranjo - * Update Romanian translation - thx Mircea - * Update Basque translation - thx Azpidatziak - * Update Korean translation - thx domddol - * Update Portuguese translation - thx hugok79 - * Update Greek translation - thx PMitsakis - * Update Turkish translation - thx ismail0100 - * Minor tweaks for font/appearance settings - * Only set listview backcolor if visual styles enabled - thx ask2018/OmrSi - * Optimize merge lines with same text/time - * Minor update of icon/install image - thx LeonCheung - * Save translate merge options - thx chorong761 - * Allow some errors when reading MKV files - thx Ian - * Improve Bulgarian language auto-detect - thx josdion - * A few improvements for EDL/CLIPNAME - thx Chungyu - * Allow hex color paste in advanced color dialog - * Improve labels in "Show earlier/later" - thx PM - * Make "load second subtitle" work with more subtitle formats - thx PM - * Improve compare colors for dark theme - thx OmrSi - * Minor UI improvements for nOCR character inspect - * Add "Clear" to "File - Recent files" - thx Dominiquini/OmrSi - * Make bd sup edit work better with full frame images - thx peter-qgd - * Point sync now also works on original subtitle - thx Rene - * Keep Text box height when resizing - thx AbsenceJam/darnn - * Add "Slovenian" to language auto-detect - thx Enzo - * Update Tesseract 5 Alpha to "2021-05-06" - thx iGom - * Add French letters in OCR char inspect - thx tormento - * Handle Unicode control char in "Remove empty lines" - thx igenaya - * Improve audio-to-text post processing a little - thx oep42 -* FIXED: - * Fix for unwanted line copy with alt+arrow-up/down fast - thx Nathália - * Fix for reading BDSup position - thx akaicat - * Fix a few crashes in translation engine - thx howblast/Laís - * Fix mpv DLL loading from a folder with e.g. Cyrillic chars - thx Zoran - * Fix for EBU time code writing - thx Enzo - * Fix show (correct) EBU properties for current file - thx Emilien - * Fix non-ASCII chars when enc 20269 is unavailable (Linux) - thx jason - * Fix a crash in RTL when activating syntax coloring - thx OmrSi - * Fix auto-translate shortcut - thx xmrea - * Some fixes for editing source view - thx PreetM07 - * Fix bug converting WebVTT two-line color text to srt - * Fix FCE issue w missing spaces/French language - thx kyrpasto/OmrSi - * Fix crash in karaoke/typewriter effect due to invalid color - thx PM - * Fix spell check replace with Unicode hidden spaces - thx zildan - * Netflix quality check - use current frame rate - thx Filip diff --git a/src/Test/Core/JsonTest.cs b/src/Test/Core/JsonTest.cs new file mode 100644 index 000000000..377043752 --- /dev/null +++ b/src/Test/Core/JsonTest.cs @@ -0,0 +1,23 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Nikse.SubtitleEdit.Core.SubtitleFormats; + +namespace Test.Core +{ + [TestClass] + public class JsonTest + { + [TestMethod] + public void TestUnicodeFirst() + { + var result = Json.DecodeJsonText("\u05d1 "); + Assert.AreEqual("ב ", result); + } + + [TestMethod] + public void TestUnicodeLast() + { + var result = Json.DecodeJsonText(" \u05d1"); + Assert.AreEqual(" ב", result); + } + } +} diff --git a/src/Test/Test.csproj b/src/Test/Test.csproj index b472b9172..b5187ba7a 100644 --- a/src/Test/Test.csproj +++ b/src/Test/Test.csproj @@ -64,6 +64,7 @@ + diff --git a/src/libse/AutoTranslate/MyMemoryApi.cs b/src/libse/AutoTranslate/MyMemoryApi.cs index e4534135a..28a4eabe9 100644 --- a/src/libse/AutoTranslate/MyMemoryApi.cs +++ b/src/libse/AutoTranslate/MyMemoryApi.cs @@ -23,7 +23,7 @@ namespace Nikse.SubtitleEdit.Core.AutoTranslate public void Initialize() { _httpClient = DownloaderFactory.MakeHttpClient(); - _httpClient.DefaultRequestHeaders.Add("user-agent", "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"); + _httpClient.DefaultRequestHeaders.Add("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0"); _httpClient.DefaultRequestHeaders.TryAddWithoutValidation("Content-Type", "application/json; charset=UTF-8"); _httpClient.BaseAddress = new Uri("https://api.mymemory.translated.net/get"); } diff --git a/src/libse/SubtitleFormats/Json.cs b/src/libse/SubtitleFormats/Json.cs index 06744d9ab..3926e209d 100644 --- a/src/libse/SubtitleFormats/Json.cs +++ b/src/libse/SubtitleFormats/Json.cs @@ -66,7 +66,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats if (c == '\\' && !keepNext) { keepNext = true; - if (i + 6 < text.Length && text[i + 1] == 'u' && + if (i + 5 < text.Length && text[i + 1] == 'u' && hexLetters.Contains(text[i + 2]) && hexLetters.Contains(text[i + 3]) && hexLetters.Contains(text[i + 4]) &&