Add some more tags for ASSA intellisense

This commit is contained in:
Nikolaj Olsson 2021-06-05 15:19:09 +02:00
parent fbc2d15912
commit 44bb068d94
3 changed files with 16 additions and 2 deletions

View File

@ -663,7 +663,7 @@ Note: Do check free disk space.</WaveFileMalformed>
<BreakLongLines>Break long lines</BreakLongLines>
<RemoveLineBreaks>Remove line breaks in short texts with only one sentence</RemoveLineBreaks>
<RemoveLineBreaksAll>Remove line breaks in short texts (all except dialogs)</RemoveLineBreaksAll>
<FixUppercaseIInsindeLowercaseWords>Fix uppercase 'i' inside lowercase words (OCR error)</FixUppercaseIInsindeLowercaseWords>
<FixUppercaseIInsideLowercaseWords>Fix uppercase 'i' inside lowercase words (OCR error)</FixUppercaseIInsideLowercaseWords>
<FixDoubleApostrophes>Fix double apostrophe characters ('') to a single quote (")</FixDoubleApostrophes>
<AddPeriods>Add period after lines where next line start with uppercase letter</AddPeriods>
<StartWithUppercaseLetterAfterParagraph>Start with uppercase letter after paragraph</StartWithUppercaseLetterAfterParagraph>
@ -674,6 +674,7 @@ Note: Do check free disk space.</WaveFileMalformed>
<CommonOcrErrorsFixed>Common OCR errors fixed (OcrReplaceList file used): {0}</CommonOcrErrorsFixed>
<RemoveSpaceBetweenNumber>Remove space between numbers</RemoveSpaceBetweenNumber>
<FixDialogsOnOneLine>Fix dialogs on one line</FixDialogsOnOneLine>
<RemoveDialogFirstInNonDialogs>Remove start dash in first line for non dialogs</RemoveDialogFirstInNonDialogs>
<NormalizeStrings>Normalize strings</NormalizeStrings>
<FixTurkishAnsi>Fix Turkish ANSI (Icelandic) letters to Unicode</FixTurkishAnsi>
<FixDanishLetterI>Fix Danish letter 'i'</FixDanishLetterI>
@ -706,7 +707,7 @@ Note: Do check free disk space.</WaveFileMalformed>
<RemoveUnneededSpacesExample>Hey you , there. -&gt; Hey you, there.</RemoveUnneededSpacesExample>
<RemoveUnneededPeriodsExample>Hey you!. -&gt; Hey you!</RemoveUnneededPeriodsExample>
<FixMissingSpacesExample>Hey.You. -&gt; Hey. You.</FixMissingSpacesExample>
<FixUppercaseIInsindeLowercaseWordsExample>The earth is fIat. -&gt; The earth is flat.</FixUppercaseIInsindeLowercaseWordsExample>
<FixUppercaseIInsideLowercaseWordsExample>The earth is fIat. -&gt; The earth is flat.</FixUppercaseIInsideLowercaseWordsExample>
<FixLowercaseIToUppercaseIExample>What do i care. -&gt; What do I care.</FixLowercaseIToUppercaseIExample>
<StartTimeLaterThanEndTime>Text number {0}: Start time is later than end time: {4}{1} -&gt; {2} {3}</StartTimeLaterThanEndTime>
<UnableToFixStartTimeLaterThanEndTime>Unable to fix text number {0}: Start time is later than end time: {1}</UnableToFixStartTimeLaterThanEndTime>
@ -736,6 +737,7 @@ Note: Do check free disk space.</WaveFileMalformed>
<FixOcrErrorExample>D0n't -&gt; Don't</FixOcrErrorExample>
<FixSpaceBetweenNumbersExample>1 100 -&gt; 1100</FixSpaceBetweenNumbersExample>
<FixDialogsOneLineExample>Hi John! - Hi Ida! -&gt; Hi John!&lt;br /&gt;- Hi Ida!</FixDialogsOneLineExample>
<RemoveDialogFirstInNonDialogsExample>- How are you? -&gt; How are you?</RemoveDialogFirstInNonDialogsExample>
<SelectDefault>Select default</SelectDefault>
<SetDefault>Set current fixes as default</SetDefault>
<FixContinuationStyleX>Fix continuation style: {0}</FixContinuationStyleX>

View File

@ -58,7 +58,11 @@ namespace Nikse.SubtitleEdit.Logic
new IntellisenseItem("{\\s0}", "Strikeout off"),
new IntellisenseItem("{\\s1}", "Strikeout on"),
new IntellisenseItem("{\\bord<width>}", "Border"),
new IntellisenseItem("{\\xbord<x>}", "Border width"),
new IntellisenseItem("{\\ybord<y>}", "Border height"),
new IntellisenseItem("{\\shad<depth>}", "Shadow"),
new IntellisenseItem("{\\xshad<x>}", "Shadow width"),
new IntellisenseItem("{\\yshad<y>}", "Shadow height"),
new IntellisenseItem("{\\be}", "Blur edges"),
new IntellisenseItem("{\\be0}", "Blur edges off"),
new IntellisenseItem("{\\be1}", "Blur edges on"),
@ -71,6 +75,8 @@ namespace Nikse.SubtitleEdit.Logic
new IntellisenseItem("{\\frx<degree>}", "Angle (x axis)"),
new IntellisenseItem("{\\fry<degree>}", "Angle (y axis)"),
new IntellisenseItem("{\\frz<degree>}", "Angle (z axis)"),
new IntellisenseItem("{\\fax<degree>}", "Shearing transformation (x axis)"),
new IntellisenseItem("{\\fay<degree>}", "Shearing transformation (y axis)"),
new IntellisenseItem("{\\fe<charset>}", "Encoding"),
new IntellisenseItem("{\\c&H<bbggrr>}", "Color"),
new IntellisenseItem("{\\2c&H<bbggrr>}", "Color for outline"),

View File

@ -1777,6 +1777,9 @@ namespace Nikse.SubtitleEdit.Logic
case "FixCommonErrors/FixDialogsOnOneLine":
language.FixCommonErrors.FixDialogsOnOneLine = reader.Value;
break;
case "FixCommonErrors/RemoveDialogFirstInNonDialogs":
language.FixCommonErrors.RemoveDialogFirstInNonDialogs = reader.Value;
break;
case "FixCommonErrors/NormalizeStrings":
language.FixCommonErrors.NormalizeStrings = reader.Value;
break;
@ -1963,6 +1966,9 @@ namespace Nikse.SubtitleEdit.Logic
case "FixCommonErrors/FixDialogsOneLineExample":
language.FixCommonErrors.FixDialogsOneLineExample = reader.Value;
break;
case "FixCommonErrors/RemoveDialogFirstInNonDialogsExample":
language.FixCommonErrors.RemoveDialogFirstInNonDialogsExample = reader.Value;
break;
case "FixCommonErrors/SelectDefault":
language.FixCommonErrors.SelectDefault = reader.Value;
break;