diff --git a/LiveSplit.Video.csproj b/LiveSplit.Video.csproj
index c8e63ed..590ee54 100644
--- a/LiveSplit.Video.csproj
+++ b/LiveSplit.Video.csproj
@@ -111,6 +111,9 @@
Form1.cs
+
+ VideoSettings.cs
+
VideoSettings.cs
diff --git a/VideoSettings.Designer.cs b/VideoSettings.Designer.cs
index 319e17a..98cd2c7 100644
--- a/VideoSettings.Designer.cs
+++ b/VideoSettings.Designer.cs
@@ -28,6 +28,7 @@ protected override void Dispose(bool disposing)
///
private void InitializeComponent()
{
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VideoSettings));
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.btnSelectFile = new System.Windows.Forms.Button();
@@ -42,10 +43,7 @@ private void InitializeComponent()
//
// tableLayoutPanel1
//
- this.tableLayoutPanel1.ColumnCount = 3;
- this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 82F));
- this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 81F));
+ resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.btnSelectFile, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.txtVideoPath, 1, 0);
@@ -53,94 +51,54 @@ private void InitializeComponent()
this.tableLayoutPanel1.Controls.Add(this.txtOffset, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.trkHeightWidth, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.lblHeightWidth, 0, 2);
- this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tableLayoutPanel1.Location = new System.Drawing.Point(7, 7);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
- this.tableLayoutPanel1.RowCount = 3;
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 29F));
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 29F));
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 29F));
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
- this.tableLayoutPanel1.Size = new System.Drawing.Size(462, 88);
- this.tableLayoutPanel1.TabIndex = 0;
//
// label1
//
- this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(3, 8);
+ resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(76, 13);
- this.label1.TabIndex = 0;
- this.label1.Text = "Video Path:";
//
// btnSelectFile
//
- this.btnSelectFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.btnSelectFile.Location = new System.Drawing.Point(384, 3);
+ resources.ApplyResources(this.btnSelectFile, "btnSelectFile");
this.btnSelectFile.Name = "btnSelectFile";
- this.btnSelectFile.Size = new System.Drawing.Size(75, 23);
- this.btnSelectFile.TabIndex = 1;
- this.btnSelectFile.Text = "Browse...";
this.btnSelectFile.UseVisualStyleBackColor = true;
this.btnSelectFile.Click += new System.EventHandler(this.btnSelectFile_Click);
//
// txtVideoPath
//
- this.txtVideoPath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.txtVideoPath.Location = new System.Drawing.Point(85, 4);
+ resources.ApplyResources(this.txtVideoPath, "txtVideoPath");
this.txtVideoPath.Name = "txtVideoPath";
- this.txtVideoPath.Size = new System.Drawing.Size(293, 20);
- this.txtVideoPath.TabIndex = 0;
//
// label2
//
- this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(3, 37);
+ resources.ApplyResources(this.label2, "label2");
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(76, 13);
- this.label2.TabIndex = 4;
- this.label2.Text = "Run Starts At:";
//
// txtOffset
//
- this.txtOffset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
+ resources.ApplyResources(this.txtOffset, "txtOffset");
this.tableLayoutPanel1.SetColumnSpan(this.txtOffset, 2);
- this.txtOffset.Location = new System.Drawing.Point(85, 33);
this.txtOffset.Name = "txtOffset";
- this.txtOffset.Size = new System.Drawing.Size(374, 20);
- this.txtOffset.TabIndex = 2;
- this.txtOffset.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// trkHeightWidth
//
- this.trkHeightWidth.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
+ resources.ApplyResources(this.trkHeightWidth, "trkHeightWidth");
this.tableLayoutPanel1.SetColumnSpan(this.trkHeightWidth, 2);
- this.trkHeightWidth.Location = new System.Drawing.Point(85, 61);
this.trkHeightWidth.Name = "trkHeightWidth";
- this.trkHeightWidth.Size = new System.Drawing.Size(374, 24);
- this.trkHeightWidth.TabIndex = 3;
this.trkHeightWidth.TickStyle = System.Windows.Forms.TickStyle.None;
//
// lblHeightWidth
//
- this.lblHeightWidth.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.lblHeightWidth.AutoSize = true;
- this.lblHeightWidth.Location = new System.Drawing.Point(3, 66);
+ resources.ApplyResources(this.lblHeightWidth, "lblHeightWidth");
this.lblHeightWidth.Name = "lblHeightWidth";
- this.lblHeightWidth.Size = new System.Drawing.Size(76, 13);
- this.lblHeightWidth.TabIndex = 7;
- this.lblHeightWidth.Text = "Height:";
//
// VideoSettings
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.tableLayoutPanel1);
this.Name = "VideoSettings";
- this.Padding = new System.Windows.Forms.Padding(7);
- this.Size = new System.Drawing.Size(476, 102);
this.Load += new System.EventHandler(this.VideoSettings_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
diff --git a/VideoSettings.ja-JP.resx b/VideoSettings.ja-JP.resx
new file mode 100644
index 0000000..af0317e
--- /dev/null
+++ b/VideoSettings.ja-JP.resx
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ファイルパス
+
+
+ 選択
+
+
+
+ 3, 34
+
+
+ 76, 12
+
+
+ 開始時間
+
+
+ 高さ
+
+
\ No newline at end of file
diff --git a/VideoSettings.resx b/VideoSettings.resx
index 1af7de1..87fdba0 100644
--- a/VideoSettings.resx
+++ b/VideoSettings.resx
@@ -117,4 +117,253 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Right
+
+
+ Video Path:
+
+
+
+ 2
+
+
+ Left, Right
+
+
+
+ 76, 12
+
+
+ Fill
+
+
+ tableLayoutPanel1
+
+
+ System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 293, 19
+
+
+ btnSelectFile
+
+
+ 3, 62
+
+
+ VideoSettings
+
+
+ label1
+
+
+ 374, 22
+
+
+ Run Starts At:
+
+
+ 5
+
+
+ $this
+
+
+ Left, Right
+
+
+ tableLayoutPanel1
+
+
+ 7, 6
+
+
+ Left, Right
+
+
+ tableLayoutPanel1
+
+
+ 374, 19
+
+
+ tableLayoutPanel1
+
+
+ 0
+
+
+ 0
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 3
+
+
+ 0
+
+
+ 4
+
+
+ 76, 12
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tableLayoutPanel1
+
+
+ 3
+
+
+ Left, Right
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 6, 12
+
+
+ 3
+
+
+ 76, 24
+
+
+ System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ txtOffset
+
+
+ Browse...
+
+
+ trkHeightWidth
+
+
+ lblHeightWidth
+
+
+ 1
+
+
+ 3, 7
+
+
+ 0
+
+
+ tableLayoutPanel1
+
+
+ 6
+
+
+ 384, 3
+
+
+ Left, Right
+
+
+ True
+
+
+ 4
+
+
+ tableLayoutPanel1
+
+
+ True
+
+
+ Left, Right
+
+
+ label2
+
+
+ 7
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 476, 94
+
+
+ 85, 57
+
+
+ 85, 4
+
+
+ 462, 82
+
+
+ Left, Right
+
+
+ 3, 28
+
+
+ <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="label1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="btnSelectFile" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /><Control Name="txtVideoPath" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="label2" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="txtOffset" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /><Control Name="trkHeightWidth" Row="2" RowSpan="1" Column="1" ColumnSpan="2" /><Control Name="lblHeightWidth" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Absolute,82,Percent,100,Absolute,81" /><Rows Styles="Absolute,27,Absolute,27,Absolute,27,Absolute,18" /></TableLayoutSettings>
+
+
+ 1
+
+
+ 7, 6, 7, 6
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 85, 31
+
+
+ tableLayoutPanel1
+
+
+ True
+
+
+ 75, 21
+
+
+ 2
+
+
+ System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Height:
+
+
+ txtVideoPath
+
+
+ 0
+
+
+ 3
+
+
+ True
+
+
+ ja-JP
+
\ No newline at end of file