Add translation for new cps rule

This commit is contained in:
niksedk 2022-04-23 09:09:54 +02:00
parent 5ead2d9e96
commit 1ffb92deaa
2 changed files with 4 additions and 0 deletions

View File

@ -2284,6 +2284,7 @@ can edit in same subtitle file (collaboration)</Information>
<CpsLineLengthStyleCalcCjkNoSpace>CJK 1, latin 0.5, space 0</CpsLineLengthStyleCalcCjkNoSpace>
<CpsLineLengthStyleCalcIgnoreArabicDiacritics>Ignore Arabic diacritics</CpsLineLengthStyleCalcIgnoreArabicDiacritics>
<CpsLineLengthStyleCalcIgnoreArabicDiacriticsNoSpace>Ignore Arabic diacritics/space</CpsLineLengthStyleCalcIgnoreArabicDiacriticsNoSpace>
<CpsLineLengthStyleCalcNoSpaceOrPunctuation>No space or punctuation ()[]-:;,.!?</CpsLineLengthStyleCalcNoSpaceOrPunctuation>
<MusicSymbol>Music symbol</MusicSymbol>
<MusicSymbolsReplace>Music symbols to replace (separate by comma)</MusicSymbolsReplace>
<FixCommonOcrErrorsUseHardcodedRules>Fix common OCR errors - also use hard-coded rules</FixCommonOcrErrorsUseHardcodedRules>

View File

@ -6223,6 +6223,9 @@ namespace Nikse.SubtitleEdit.Logic
case "Settings/CpsLineLengthStyleCalcIgnoreArabicDiacriticsNoSpace":
language.Settings.CpsLineLengthStyleCalcIgnoreArabicDiacriticsNoSpace = reader.Value;
break;
case "Settings/CpsLineLengthStyleCalcNoSpaceOrPunctuation":
language.Settings.CpsLineLengthStyleCalcNoSpaceOrPunctuation = reader.Value;
break;
case "Settings/MusicSymbol":
language.Settings.MusicSymbol = reader.Value;
break;