Trying to improve texts

This commit is contained in:
niksedk 2021-07-31 08:26:20 +02:00
parent a79fb38455
commit c7d57f62c9
6 changed files with 32 additions and 32 deletions

View File

@ -207,10 +207,10 @@ Note: Do check free disk space.</WaveFileMalformed>
<Title>Change script resolution</Title>
<SourceVideoRes>Source video resolution</SourceVideoRes>
<TargetVideoRes>Target video resolution</TargetVideoRes>
<KeepAspectRatioMargins>Keep aspect ration for margin</KeepAspectRatioMargins>
<KeepAspectRatioFontSize>Keep aspect ration for font size</KeepAspectRatioFontSize>
<KeepAspectRatioPositions>Keep aspect ration for position</KeepAspectRatioPositions>
<KeepAspectRatioDrawing>Keep aspect ration for drawing</KeepAspectRatioDrawing>
<ChangeResolutionMargins>Change resolution for margin</ChangeResolutionMargins>
<ChangeResolutionFontSize>Change resolution for font size</ChangeResolutionFontSize>
<ChangeResolutionPositions>Change resolution for position</ChangeResolutionPositions>
<ChangeResolutionDrawing>Change resolution for drawing</ChangeResolutionDrawing>
</AssaResulationChanger>
<AssaSetPosition>
<SetPosition>Set position</SetPosition>

View File

@ -185,9 +185,9 @@ namespace Nikse.SubtitleEdit.Forms.Assa
this.checkBoxMargins.AutoSize = true;
this.checkBoxMargins.Location = new System.Drawing.Point(15, 99);
this.checkBoxMargins.Name = "checkBoxMargins";
this.checkBoxMargins.Size = new System.Drawing.Size(169, 17);
this.checkBoxMargins.Size = new System.Drawing.Size(165, 17);
this.checkBoxMargins.TabIndex = 17;
this.checkBoxMargins.Text = "Keep aspect ration for margins";
this.checkBoxMargins.Text = "Change resolution for margins";
this.checkBoxMargins.UseVisualStyleBackColor = true;
//
// checkBoxFontSize
@ -197,9 +197,9 @@ namespace Nikse.SubtitleEdit.Forms.Assa
this.checkBoxFontSize.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBoxFontSize.Location = new System.Drawing.Point(15, 122);
this.checkBoxFontSize.Name = "checkBoxFontSize";
this.checkBoxFontSize.Size = new System.Drawing.Size(172, 17);
this.checkBoxFontSize.Size = new System.Drawing.Size(168, 17);
this.checkBoxFontSize.TabIndex = 18;
this.checkBoxFontSize.Text = "Keep aspect ration for font size";
this.checkBoxFontSize.Text = "Change resolution for font size";
this.checkBoxFontSize.UseVisualStyleBackColor = true;
//
// checkBoxPosition
@ -209,9 +209,9 @@ namespace Nikse.SubtitleEdit.Forms.Assa
this.checkBoxPosition.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBoxPosition.Location = new System.Drawing.Point(15, 145);
this.checkBoxPosition.Name = "checkBoxPosition";
this.checkBoxPosition.Size = new System.Drawing.Size(169, 17);
this.checkBoxPosition.Size = new System.Drawing.Size(165, 17);
this.checkBoxPosition.TabIndex = 19;
this.checkBoxPosition.Text = "Keep aspect ration for position";
this.checkBoxPosition.Text = "Change resolution for position";
this.checkBoxPosition.UseVisualStyleBackColor = true;
//
// checkBoxDrawing
@ -221,9 +221,9 @@ namespace Nikse.SubtitleEdit.Forms.Assa
this.checkBoxDrawing.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBoxDrawing.Location = new System.Drawing.Point(14, 168);
this.checkBoxDrawing.Name = "checkBoxDrawing";
this.checkBoxDrawing.Size = new System.Drawing.Size(170, 17);
this.checkBoxDrawing.Size = new System.Drawing.Size(166, 17);
this.checkBoxDrawing.TabIndex = 20;
this.checkBoxDrawing.Text = "Keep aspect ration for drawing";
this.checkBoxDrawing.Text = "Change resolution for drawing";
this.checkBoxDrawing.UseVisualStyleBackColor = true;
//
// ResolutionResampler

View File

@ -24,10 +24,10 @@ namespace Nikse.SubtitleEdit.Forms.Assa
Text = l.Title;
labelSourceRes.Text = l.SourceVideoRes;
labelTargetRes.Text = l.TargetVideoRes;
checkBoxMargins.Text = l.KeepAspectRatioMargins;
checkBoxFontSize.Text = l.KeepAspectRatioFontSize;
checkBoxPosition.Text = l.KeepAspectRatioPositions;
checkBoxDrawing.Text = l.KeepAspectRatioDrawing;
checkBoxMargins.Text = l.ChangeResolutionMargins;
checkBoxFontSize.Text = l.ChangeResolutionFontSize;
checkBoxPosition.Text = l.ChangeResolutionPositions;
checkBoxDrawing.Text = l.ChangeResolutionDrawing;
buttonOK.Text = LanguageSettings.Current.General.Ok;
buttonCancel.Text = LanguageSettings.Current.General.Cancel;
UiUtil.FixLargeFonts(this, buttonOK);

View File

@ -357,10 +357,10 @@ namespace Nikse.SubtitleEdit.Logic
Title = "Change script resolution",
SourceVideoRes = "Source video resolution",
TargetVideoRes = "Target video resolution",
KeepAspectRatioMargins = "Keep aspect ration for margin",
KeepAspectRatioFontSize = "Keep aspect ration for font size",
KeepAspectRatioPositions = "Keep aspect ration for position",
KeepAspectRatioDrawing = "Keep aspect ration for drawing",
ChangeResolutionMargins = "Change resolution for margin",
ChangeResolutionFontSize = "Change resolution for font size",
ChangeResolutionPositions = "Change resolution for position",
ChangeResolutionDrawing = "Change resolution for drawing",
};
AssaSetPosition = new LanguageStructure.AssaSetPosition

View File

@ -556,17 +556,17 @@ namespace Nikse.SubtitleEdit.Logic
case "AssaResulationChanger/TargetVideoRes":
language.AssaResulationChanger.TargetVideoRes = reader.Value;
break;
case "AssaResulationChanger/KeepAspectRatioMargins":
language.AssaResulationChanger.KeepAspectRatioMargins = reader.Value;
case "AssaResulationChanger/ChangeResolutionMargins":
language.AssaResulationChanger.ChangeResolutionMargins = reader.Value;
break;
case "AssaResulationChanger/KeepAspectRatioFontSize":
language.AssaResulationChanger.KeepAspectRatioFontSize = reader.Value;
case "AssaResulationChanger/ChangeResolutionFontSize":
language.AssaResulationChanger.ChangeResolutionFontSize = reader.Value;
break;
case "AssaResulationChanger/KeepAspectRatioPositions":
language.AssaResulationChanger.KeepAspectRatioPositions = reader.Value;
case "AssaResulationChanger/ChangeResolutionPositions":
language.AssaResulationChanger.ChangeResolutionPositions = reader.Value;
break;
case "AssaResulationChanger/KeepAspectRatioDrawing":
language.AssaResulationChanger.KeepAspectRatioDrawing = reader.Value;
case "AssaResulationChanger/ChangeResolutionDrawing":
language.AssaResulationChanger.ChangeResolutionDrawing = reader.Value;
break;
case "AssaSetPosition/SetPosition":
language.AssaSetPosition.SetPosition = reader.Value;

View File

@ -219,10 +219,10 @@
public string Title { get; set; }
public string SourceVideoRes { get; set; }
public string TargetVideoRes { get; set; }
public string KeepAspectRatioMargins { get; set; }
public string KeepAspectRatioFontSize { get; set; }
public string KeepAspectRatioPositions { get; set; }
public string KeepAspectRatioDrawing { get; set; }
public string ChangeResolutionMargins { get; set; }
public string ChangeResolutionFontSize { get; set; }
public string ChangeResolutionPositions { get; set; }
public string ChangeResolutionDrawing { get; set; }
}
public class AssaSetPosition