mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2025-02-01 05:21:40 +01:00
Try to improve error msg
This commit is contained in:
parent
a9776e92fe
commit
a79fb38455
@ -180,7 +180,7 @@ Note: Do check free disk space.</WaveFileMalformed>
|
||||
<RemoveXAttachments>Remove {0} attachments?</RemoveXAttachments>
|
||||
</AssaAttachments>
|
||||
<AssaOverrideTags>
|
||||
<ApplyCustomTags>Apply custom tags</ApplyCustomTags>
|
||||
<ApplyCustomTags>Apply custom override tags</ApplyCustomTags>
|
||||
<History>History</History>
|
||||
<TagsToApply>Tags to apply</TagsToApply>
|
||||
<ApplyTo>Apply to</ApplyTo>
|
||||
@ -204,7 +204,7 @@ Note: Do check free disk space.</WaveFileMalformed>
|
||||
<TakePosFromVideo>Take video position</TakePosFromVideo>
|
||||
</AssaProgressBarGenerator>
|
||||
<AssaResulationChanger>
|
||||
<Title>Script resolution changer</Title>
|
||||
<Title>Change script resolution</Title>
|
||||
<SourceVideoRes>Source video resolution</SourceVideoRes>
|
||||
<TargetVideoRes>Target video resolution</TargetVideoRes>
|
||||
<KeepAspectRatioMargins>Keep aspect ration for margin</KeepAspectRatioMargins>
|
||||
@ -213,7 +213,7 @@ Note: Do check free disk space.</WaveFileMalformed>
|
||||
<KeepAspectRatioDrawing>Keep aspect ration for drawing</KeepAspectRatioDrawing>
|
||||
</AssaResulationChanger>
|
||||
<AssaSetPosition>
|
||||
<SetPosition>Set/get position</SetPosition>
|
||||
<SetPosition>Set position</SetPosition>
|
||||
<VideoResolutionX>Video resolution: {0}</VideoResolutionX>
|
||||
<StyleAlignmentX>Style alignment: {0}</StyleAlignmentX>
|
||||
<CurrentMousePositionX>Mouse position: {0}</CurrentMousePositionX>
|
||||
@ -1330,6 +1330,9 @@ To use an API key go to "Options -> Settings -> Tools" to enter your Googl
|
||||
<AdjustDisplayDurationForSelectedLines>Adjust durations for selected lines...</AdjustDisplayDurationForSelectedLines>
|
||||
<ApplyDurationLimitsForSelectedLines>Apply duration limits for selected lines...</ApplyDurationLimitsForSelectedLines>
|
||||
<ApplyCustomOverrideTag>Apply custom override tags...</ApplyCustomOverrideTag>
|
||||
<SetPosition>Set position...</SetPosition>
|
||||
<GenerateProgressBar>Generate progress bar...</GenerateProgressBar>
|
||||
<AssaResolutionChanger>Change script resolution...</AssaResolutionChanger>
|
||||
<FixCommonErrorsInSelectedLines>Fix common errors in selected lines...</FixCommonErrorsInSelectedLines>
|
||||
<ChangeCasingForSelectedLines>Change casing for selected lines...</ChangeCasingForSelectedLines>
|
||||
<SaveSelectedLines>Save selected lines as...</SaveSelectedLines>
|
||||
@ -1547,6 +1550,7 @@ Continue?</SubtitleAppendPrompt>
|
||||
<BeforeImportFromMatroskaFile>Before import subtitle from Matroska file</BeforeImportFromMatroskaFile>
|
||||
<SubtitleImportedFromMatroskaFile>Subtitle imported from Matroska file</SubtitleImportedFromMatroskaFile>
|
||||
<DropFileXNotAccepted>Drop file '{0}' not accepted - file is too large</DropFileXNotAccepted>
|
||||
<DropSubtitleFileXNotAccepted>Drop file '{0}' not accepted - file is too large for a subtitle</DropSubtitleFileXNotAccepted>
|
||||
<DropOnlyOneFile>You can only drop one file</DropOnlyOneFile>
|
||||
<OpenAnsiSubtitle>Open subtitle...</OpenAnsiSubtitle>
|
||||
<BeforeChangeCasing>Before change casing</BeforeChangeCasing>
|
||||
|
@ -14394,9 +14394,13 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
OpenSubtitle(fileName, null);
|
||||
}
|
||||
else if (ext == ".divx" || ext == ".avi")
|
||||
{
|
||||
OpenSubtitle(fileName, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(string.Format(_language.DropFileXNotAccepted, fileName));
|
||||
MessageBox.Show(string.Format(_language.DropSubtitleFileXNotAccepted, fileName));
|
||||
}
|
||||
|
||||
comboBoxSubtitleFormats.EndUpdate();
|
||||
|
@ -1454,6 +1454,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
BeforeImportFromMatroskaFile = "Before import subtitle from Matroska file",
|
||||
SubtitleImportedFromMatroskaFile = "Subtitle imported from Matroska file",
|
||||
DropFileXNotAccepted = "Drop file '{0}' not accepted - file is too large",
|
||||
DropSubtitleFileXNotAccepted = "Drop file '{0}' not accepted - file is too large for a subtitle",
|
||||
DropOnlyOneFile = "You can only drop one file",
|
||||
OpenAnsiSubtitle = "Open subtitle...",
|
||||
BeforeChangeCasing = "Before change casing",
|
||||
|
@ -3256,6 +3256,9 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
case "Main/DropFileXNotAccepted":
|
||||
language.Main.DropFileXNotAccepted = reader.Value;
|
||||
break;
|
||||
case "Main/DropSubtitleFileXNotAccepted":
|
||||
language.Main.DropSubtitleFileXNotAccepted = reader.Value;
|
||||
break;
|
||||
case "Main/DropOnlyOneFile":
|
||||
language.Main.DropOnlyOneFile = reader.Value;
|
||||
break;
|
||||
@ -4342,6 +4345,15 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
case "Main/Menu/ContextMenu/ApplyCustomOverrideTag":
|
||||
language.Main.Menu.ContextMenu.ApplyCustomOverrideTag = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/SetPosition":
|
||||
language.Main.Menu.ContextMenu.SetPosition = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/GenerateProgressBar":
|
||||
language.Main.Menu.ContextMenu.GenerateProgressBar = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/AssaResolutionChanger":
|
||||
language.Main.Menu.ContextMenu.AssaResolutionChanger = reader.Value;
|
||||
break;
|
||||
case "Main/Menu/ContextMenu/FixCommonErrorsInSelectedLines":
|
||||
language.Main.Menu.ContextMenu.FixCommonErrorsInSelectedLines = reader.Value;
|
||||
break;
|
||||
|
@ -1311,6 +1311,7 @@
|
||||
public string BeforeImportFromMatroskaFile { get; set; }
|
||||
public string SubtitleImportedFromMatroskaFile { get; set; }
|
||||
public string DropFileXNotAccepted { get; set; }
|
||||
public string DropSubtitleFileXNotAccepted { get; set; }
|
||||
public string DropOnlyOneFile { get; set; }
|
||||
public string OpenAnsiSubtitle { get; set; }
|
||||
public string BeforeChangeCasing { get; set; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user