mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Added three missing translation in "Fix common errors" - thx XhmikosR :)
This commit is contained in:
parent
270d08b2ee
commit
058f7995d8
@ -373,11 +373,24 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
_fixActions.Add(new FixItem(_language.FixDoubleGreaterThan, _language.FixDoubleGreaterThanExample, delegate { FixDoubleGreaterThan(); }, ce.FixDoubleGreaterThanTicked));
|
||||
_fixActions.Add(new FixItem(_language.FixEllipsesStart, _language.FixEllipsesStartExample, delegate { FixEllipsesStart(); }, ce.FixEllipsesStartTicked));
|
||||
_fixActions.Add(new FixItem(_language.FixMissingOpenBracket, _language.FixMissingOpenBracketExample, delegate { FixMissingOpenBracket(); }, ce.FixMissingOpenBracketTicked));
|
||||
_fixActions.Add(new FixItem(_language.FixCommonOcrErrors, "D0n't -> Don't", delegate { FixOcrErrorsViaReplaceList(threeLetterISOLanguageName); }, ce.FixOcrErrorsViaReplaceListTicked));
|
||||
|
||||
if (string.IsNullOrEmpty(_language.FixOcrErrorExample))
|
||||
_fixActions.Add(new FixItem(_language.FixCommonOcrErrors, "D0n't -> Don't", delegate { FixOcrErrorsViaReplaceList(threeLetterISOLanguageName); }, ce.FixOcrErrorsViaReplaceListTicked));
|
||||
else
|
||||
_fixActions.Add(new FixItem(_language.FixCommonOcrErrors, _language.FixOcrErrorExample, delegate { FixOcrErrorsViaReplaceList(threeLetterISOLanguageName); }, ce.FixOcrErrorsViaReplaceListTicked));
|
||||
|
||||
_fixActions.Add(new FixItem(_language.FixUppercaseIInsindeLowercaseWords, _language.FixUppercaseIInsindeLowercaseWordsExample, delegate { FixUppercaseIInsideWords(); }, ce.UppercaseIInsideLowercaseWordTicked));
|
||||
_fixActions.Add(new FixItem(_language.FixLowercaseIToUppercaseI, _language.FixLowercaseIToUppercaseIExample, delegate { FixAloneLowercaseIToUppercaseI(); }, ce.AloneLowercaseIToUppercaseIEnglishTicked));
|
||||
_fixActions.Add(new FixItem(_language.RemoveSpaceBetweenNumber, "1 100 -> 1100", delegate { RemoveSpaceBetweenNumbers(); }, ce.RemoveSpaceBetweenNumberTicked));
|
||||
_fixActions.Add(new FixItem(_language.FixDialogsOnOneLine, "Hi John! - Hi Ida! -> Hi John!" + Configuration.Settings.General.ListViewLineSeparatorString + "- Hi Ida!", delegate { DialogsOnOneLine(); }, ce.FixDialogsOnOneLineTicked));
|
||||
|
||||
if (string.IsNullOrEmpty(_language.FixSpaceBetweenNumbersExample))
|
||||
_fixActions.Add(new FixItem(_language.RemoveSpaceBetweenNumber, "1 100 -> 1100", delegate { RemoveSpaceBetweenNumbers(); }, ce.RemoveSpaceBetweenNumberTicked));
|
||||
else
|
||||
_fixActions.Add(new FixItem(_language.RemoveSpaceBetweenNumber, _language.FixSpaceBetweenNumbersExample, delegate { RemoveSpaceBetweenNumbers(); }, ce.RemoveSpaceBetweenNumberTicked));
|
||||
|
||||
if (string.IsNullOrEmpty(_language.FixSpaceBetweenNumbersExample))
|
||||
_fixActions.Add(new FixItem(_language.FixDialogsOnOneLine, "Hi John! - Hi Ida! -> Hi John!" + Configuration.Settings.General.ListViewLineSeparatorString + "- Hi Ida!", delegate { DialogsOnOneLine(); }, ce.FixDialogsOnOneLineTicked));
|
||||
else
|
||||
_fixActions.Add(new FixItem(_language.FixDialogsOnOneLine, _language.FixDialoguesOneLineExample + Configuration.Settings.General.ListViewLineSeparatorString + "- Hi Ida!", delegate { DialogsOnOneLine(); }, ce.FixDialogsOnOneLineTicked));
|
||||
|
||||
if (Language == "tr")
|
||||
{
|
||||
|
@ -756,6 +756,9 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
FixCommonOcrErrors = "Fix common OCR errors (using OCR replace list)",
|
||||
NumberOfImportantLogMessages = "{0} important log messages!",
|
||||
FixedOkXY = "Fixed and OK - '{0}': {1}",
|
||||
FixOcrErrorExample = "D0n't -> Don't",
|
||||
FixSpaceBetweenNumbersExample = "1 100 -> 1100",
|
||||
FixDialoguesOneLineExample = "Hi John! - Hi Ida! -> Hi John!",
|
||||
};
|
||||
|
||||
GetDictionaries = new LanguageStructure.GetDictionaries
|
||||
|
@ -644,6 +644,9 @@
|
||||
public string FixMusicNotationExample { get; set; }
|
||||
public string NumberOfImportantLogMessages { get; set; }
|
||||
public string FixedOkXY { get; set; }
|
||||
public string FixOcrErrorExample { get; set; }
|
||||
public string FixSpaceBetweenNumbersExample { get; set; }
|
||||
public string FixDialoguesOneLineExample { get; set; }
|
||||
}
|
||||
|
||||
public class GetDictionaries
|
||||
|
Loading…
Reference in New Issue
Block a user