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> <Title>Change script resolution</Title>
<SourceVideoRes>Source video resolution</SourceVideoRes> <SourceVideoRes>Source video resolution</SourceVideoRes>
<TargetVideoRes>Target video resolution</TargetVideoRes> <TargetVideoRes>Target video resolution</TargetVideoRes>
<KeepAspectRatioMargins>Keep aspect ration for margin</KeepAspectRatioMargins> <ChangeResolutionMargins>Change resolution for margin</ChangeResolutionMargins>
<KeepAspectRatioFontSize>Keep aspect ration for font size</KeepAspectRatioFontSize> <ChangeResolutionFontSize>Change resolution for font size</ChangeResolutionFontSize>
<KeepAspectRatioPositions>Keep aspect ration for position</KeepAspectRatioPositions> <ChangeResolutionPositions>Change resolution for position</ChangeResolutionPositions>
<KeepAspectRatioDrawing>Keep aspect ration for drawing</KeepAspectRatioDrawing> <ChangeResolutionDrawing>Change resolution for drawing</ChangeResolutionDrawing>
</AssaResulationChanger> </AssaResulationChanger>
<AssaSetPosition> <AssaSetPosition>
<SetPosition>Set position</SetPosition> <SetPosition>Set position</SetPosition>

View File

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

View File

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

View File

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

View File

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

View File

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