Replaced occurrences of literal hyphen characters with named constants to improve code readability and maintainability. This change ensures consistent handling of both hyphen-minus and standard hyphen characters throughout the function.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Modified the RepositoryUrl to point to the general SubtitleEdit repository and added an IsPackable property to allow the project to be included in packages. This ensures the updated repository URL is more accurate and the project is properly packable.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
This change removes an unnecessary newline at the end of src/ui/SubtitleEdit.csproj. This helps maintain consistency and cleanliness in the project file formatting.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Moved the build helpers target from LibSE.csproj to SubtitleEdit.csproj. This change ensures that the build helper scripts are invoked during the build process of the SubtitleEdit project, enhancing consistency and maintainability.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Deleted the BeforeClean target that was removing HunspellAssemblies from the output path. This target is no longer necessary and simplifies the build process.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
The pre-compilation tasks referencing NHunspell and executing OS-specific scripts were removed from the project file. This cleanup streamlines the build process and removes dependencies on external scripts that are no longer necessary.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Corrected the input filename variable from srtFileName to vttFileName to ensure the correct subtitle format is processed. This fixes potential misloading issues when handling WebVTT files.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
Simplify the logic by reordering logging updates and transcript checks. This removes redundant `UpdateLog` and `SeLogger.WhisperInfo` calls, streamlining the flow and maintaining the existing functionality.
Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>