SubtitleEdit/src/UpdateLanguageFiles
Ivandro Jao 9bcf49e286 Replace magic numbers with named constants
This commit replaces magic numbers in the retry mechanism with named constants. In "UpdateLanguageFiles", the hardcoded delay of 10ms between retries has been replaced by the variable 'delayBetweenRetries'. Similarly, in "UpdateAssemblyInfo", the number of retries set to 10 has been replaced with 'maxRetries' and 'delayBetweenRetries' is used for the time gap between each attempt. This makes the code more readable and maintainable.
2023-07-23 13:54:55 +01:00
..
Properties
App.config Update dotnet framework to 4.8 2022-03-20 17:09:11 +01:00
LanguageDeserializerGenerator.cs Move language to UI 2021-01-01 12:47:14 +01:00
Program.cs Replace magic numbers with named constants 2023-07-23 13:54:55 +01:00
UpdateLanguageFiles.csproj Update dotnet framework to 4.8 2022-03-20 17:09:11 +01:00