From: yyagi Date: Sun, 25 Feb 2018 10:19:17 +0000 (+0900) Subject: #28263 DTX2WAV008: 英日両対応。進捗表示に使う記号を矢印から不等号に変更(念のためASCII文字にした) X-Git-Tag: Release113~39 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f9e8c5668da092789d3eca96fc005570a2e9762e;p=dtxmania%2Fdtxmania.git #28263 DTX2WAV008: 英日両対応。進捗表示に使う記号を矢印から不等号に変更(念のためASCII文字にした) --- diff --git a/DTX2WAV/DTX2WAV.csproj b/DTX2WAV/DTX2WAV.csproj index b3679dd6..9962a458 100644 --- a/DTX2WAV/DTX2WAV.csproj +++ b/DTX2WAV/DTX2WAV.csproj @@ -18,7 +18,7 @@ full false bin\Debug\ - DEBUG;TRACE + TRACE;DEBUG;USE_ENGLISHRESOURCE_ prompt 4 @@ -81,23 +81,34 @@ Form1.cs + + Form_Finished_Fail.cs + Form_Finished_Fail.cs + + Form_FInished_OK.cs + Form_FInished_OK.cs + + Form_Recording.cs + Form_Recording.cs + - ResXFileCodeGenerator + PublicResXFileCodeGenerator Resources.Designer.cs Designer True Resources.resx + True diff --git a/DTX2WAV/Form1.Designer.cs b/DTX2WAV/Form1.Designer.cs index 40d2cbf6..c70b0137 100644 --- a/DTX2WAV/Form1.Designer.cs +++ b/DTX2WAV/Form1.Designer.cs @@ -37,13 +37,13 @@ this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); - this.label1 = new System.Windows.Forms.Label(); + this.label_infile = new System.Windows.Forms.Label(); this.groupBox_recfiles = new System.Windows.Forms.GroupBox(); this.comboBox_AudioFormat = new System.Windows.Forms.ComboBox(); - this.label3 = new System.Windows.Forms.Label(); + this.label_filetype = new System.Windows.Forms.Label(); this.button_BrowseAudio = new System.Windows.Forms.Button(); this.textBox_BrowseAudio = new System.Windows.Forms.TextBox(); - this.label2 = new System.Windows.Forms.Label(); + this.label_outfile = new System.Windows.Forms.Label(); this.button_browseDTX = new System.Windows.Forms.Button(); this.textBox_BrowseDTX = new System.Windows.Forms.TextBox(); this.tabControl1 = new System.Windows.Forms.TabControl(); @@ -78,15 +78,17 @@ this.trackBar_BGM = new System.Windows.Forms.TrackBar(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.groupBox_MP3 = new System.Windows.Forms.GroupBox(); + this.comboBox_MP3_bps = new System.Windows.Forms.ComboBox(); this.label11 = new System.Windows.Forms.Label(); this.groupBox_Ogg = new System.Windows.Forms.GroupBox(); + this.label_highq = new System.Windows.Forms.Label(); + this.label_ogg_lowq = new System.Windows.Forms.Label(); this.numericUpDown_Ogg_Q = new System.Windows.Forms.NumericUpDown(); this.bindingSource_Ogg_Q = new System.Windows.Forms.BindingSource(this.components); this.label10 = new System.Windows.Forms.Label(); this.trackBar_Ogg_Q = new System.Windows.Forms.TrackBar(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.comboBox_MP3_bps = new System.Windows.Forms.ComboBox(); this.menuStrip1.SuspendLayout(); this.groupBox_recfiles.SuspendLayout(); this.tabControl1.SuspendLayout(); @@ -158,22 +160,22 @@ // this.openFileDialog1.FileName = "openFileDialog1"; // - // label1 + // label_infile // - resources.ApplyResources(this.label1, "label1"); - this.label1.Name = "label1"; + resources.ApplyResources(this.label_infile, "label_infile"); + this.label_infile.Name = "label_infile"; // // groupBox_recfiles // resources.ApplyResources(this.groupBox_recfiles, "groupBox_recfiles"); this.groupBox_recfiles.Controls.Add(this.comboBox_AudioFormat); - this.groupBox_recfiles.Controls.Add(this.label3); + this.groupBox_recfiles.Controls.Add(this.label_filetype); this.groupBox_recfiles.Controls.Add(this.button_BrowseAudio); this.groupBox_recfiles.Controls.Add(this.textBox_BrowseAudio); - this.groupBox_recfiles.Controls.Add(this.label2); + this.groupBox_recfiles.Controls.Add(this.label_outfile); this.groupBox_recfiles.Controls.Add(this.button_browseDTX); this.groupBox_recfiles.Controls.Add(this.textBox_BrowseDTX); - this.groupBox_recfiles.Controls.Add(this.label1); + this.groupBox_recfiles.Controls.Add(this.label_infile); this.groupBox_recfiles.Name = "groupBox_recfiles"; this.groupBox_recfiles.TabStop = false; // @@ -189,10 +191,10 @@ this.comboBox_AudioFormat.Name = "comboBox_AudioFormat"; this.comboBox_AudioFormat.SelectedIndexChanged += new System.EventHandler(this.comboBox_AudioFormat_SelectedIndexChanged); // - // label3 + // label_filetype // - resources.ApplyResources(this.label3, "label3"); - this.label3.Name = "label3"; + resources.ApplyResources(this.label_filetype, "label_filetype"); + this.label_filetype.Name = "label_filetype"; // // button_BrowseAudio // @@ -206,10 +208,10 @@ resources.ApplyResources(this.textBox_BrowseAudio, "textBox_BrowseAudio"); this.textBox_BrowseAudio.Name = "textBox_BrowseAudio"; // - // label2 + // label_outfile // - resources.ApplyResources(this.label2, "label2"); - this.label2.Name = "label2"; + resources.ApplyResources(this.label_outfile, "label_outfile"); + this.label_outfile.Name = "label_outfile"; // // button_browseDTX // @@ -515,6 +517,24 @@ this.groupBox_MP3.Name = "groupBox_MP3"; this.groupBox_MP3.TabStop = false; // + // comboBox_MP3_bps + // + this.comboBox_MP3_bps.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox_MP3_bps.FormattingEnabled = true; + this.comboBox_MP3_bps.Items.AddRange(new object[] { + resources.GetString("comboBox_MP3_bps.Items"), + resources.GetString("comboBox_MP3_bps.Items1"), + resources.GetString("comboBox_MP3_bps.Items2"), + resources.GetString("comboBox_MP3_bps.Items3"), + resources.GetString("comboBox_MP3_bps.Items4"), + resources.GetString("comboBox_MP3_bps.Items5"), + resources.GetString("comboBox_MP3_bps.Items6"), + resources.GetString("comboBox_MP3_bps.Items7"), + resources.GetString("comboBox_MP3_bps.Items8"), + resources.GetString("comboBox_MP3_bps.Items9")}); + resources.ApplyResources(this.comboBox_MP3_bps, "comboBox_MP3_bps"); + this.comboBox_MP3_bps.Name = "comboBox_MP3_bps"; + // // label11 // resources.ApplyResources(this.label11, "label11"); @@ -522,6 +542,8 @@ // // groupBox_Ogg // + this.groupBox_Ogg.Controls.Add(this.label_highq); + this.groupBox_Ogg.Controls.Add(this.label_ogg_lowq); this.groupBox_Ogg.Controls.Add(this.numericUpDown_Ogg_Q); this.groupBox_Ogg.Controls.Add(this.label10); this.groupBox_Ogg.Controls.Add(this.trackBar_Ogg_Q); @@ -529,6 +551,16 @@ this.groupBox_Ogg.Name = "groupBox_Ogg"; this.groupBox_Ogg.TabStop = false; // + // label_highq + // + resources.ApplyResources(this.label_highq, "label_highq"); + this.label_highq.Name = "label_highq"; + // + // label_ogg_lowq + // + resources.ApplyResources(this.label_ogg_lowq, "label_ogg_lowq"); + this.label_ogg_lowq.Name = "label_ogg_lowq"; + // // numericUpDown_Ogg_Q // this.numericUpDown_Ogg_Q.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bindingSource_Ogg_Q, "Value", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); @@ -568,24 +600,6 @@ this.trackBar_Ogg_Q.Name = "trackBar_Ogg_Q"; this.trackBar_Ogg_Q.Value = 10; // - // comboBox_MP3_bps - // - this.comboBox_MP3_bps.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox_MP3_bps.FormattingEnabled = true; - this.comboBox_MP3_bps.Items.AddRange(new object[] { - resources.GetString("comboBox_MP3_bps.Items"), - resources.GetString("comboBox_MP3_bps.Items1"), - resources.GetString("comboBox_MP3_bps.Items2"), - resources.GetString("comboBox_MP3_bps.Items3"), - resources.GetString("comboBox_MP3_bps.Items4"), - resources.GetString("comboBox_MP3_bps.Items5"), - resources.GetString("comboBox_MP3_bps.Items6"), - resources.GetString("comboBox_MP3_bps.Items7"), - resources.GetString("comboBox_MP3_bps.Items8"), - resources.GetString("comboBox_MP3_bps.Items9")}); - resources.ApplyResources(this.comboBox_MP3_bps, "comboBox_MP3_bps"); - this.comboBox_MP3_bps.Name = "comboBox_MP3_bps"; - // // Main // resources.ApplyResources(this, "$this"); @@ -644,13 +658,13 @@ private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem; private System.Windows.Forms.StatusStrip statusStrip1; private System.Windows.Forms.OpenFileDialog openFileDialog1; - private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label_infile; private System.Windows.Forms.GroupBox groupBox_recfiles; private System.Windows.Forms.ComboBox comboBox_AudioFormat; - private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label_filetype; private System.Windows.Forms.Button button_BrowseAudio; private System.Windows.Forms.TextBox textBox_BrowseAudio; - private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label_outfile; private System.Windows.Forms.Button button_browseDTX; private System.Windows.Forms.TextBox textBox_BrowseDTX; private System.Windows.Forms.TabControl tabControl1; @@ -695,6 +709,8 @@ private System.Windows.Forms.TrackBar trackBar_Ogg_Q; private System.Windows.Forms.BindingSource bindingSource_Ogg_Q; private System.Windows.Forms.ComboBox comboBox_MP3_bps; + private System.Windows.Forms.Label label_highq; + private System.Windows.Forms.Label label_ogg_lowq; } } diff --git a/DTX2WAV/Form1.cs b/DTX2WAV/Form1.cs index 18e7d271..1af873dc 100644 --- a/DTX2WAV/Form1.cs +++ b/DTX2WAV/Form1.cs @@ -86,9 +86,9 @@ namespace DTX2WAV { OpenFileDialog ofd = new OpenFileDialog(); - ofd.Filter = "DTXファイル(*.dtx)|*.dtx|GDAファイル(*.gda;*.g2d)|*.gda;*.g2d)|すべてのファイル(*.*)|*.*"; + ofd.Filter = Properties.Resources.ofdFilter; ofd.FilterIndex = 1; - ofd.Title = "DTXファイルを選択してください"; + ofd.Title = Properties.Resources.ofdTitle; ofd.RestoreDirectory = false; @@ -103,7 +103,6 @@ namespace DTX2WAV Path.GetDirectoryName(ofd.FileName), Path.GetFileNameWithoutExtension(ofd.FileName) + "." + comboBox_AudioFormat.Text.ToLower() ); - Debug.WriteLine("out:" + outpath); textBox_BrowseAudio.Text = outpath; } @@ -117,22 +116,22 @@ namespace DTX2WAV switch (comboBox_AudioFormat.Text) { case "WAV": - filter = "WAVファイル(*.wav)|*.wav|すべてのファイル(*.*)|*.*"; + filter = Properties.Resources.sfdFilterWAV; break; case "OGG": - filter = "OGGファイル(*.ogg)|*.ogg|すべてのファイル(*.*)|*.*"; + filter = Properties.Resources.sfdFilterOGG; break; case "MP3": - filter = "MP3ファイル(*.mp3)|*.mp3|すべてのファイル(*.*)|*.*"; + filter = Properties.Resources.sfdFilterMP3; break; default: - filter = "すべてのファイル(*.*)|*.*"; + filter = Properties.Resources.sfdFilterALL; break; } sfd.Filter = filter; sfd.FilterIndex = 1; sfd.DefaultExt = "." + comboBox_AudioFormat.Text.ToLower(); - sfd.Title = "出力ファイル名を選択してください"; + sfd.Title = Properties.Resources.sfdTitle; sfd.RestoreDirectory = false; sfd.AddExtension = true; @@ -158,19 +157,19 @@ namespace DTX2WAV #region [ in/outファイル名など、必要な設定がなされているかをチェック ] if (!File.Exists(textBox_BrowseDTX.Text)) { - MessageBox.Show("DTXファイルがありません。", "ファイルが見つかりません", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(Properties.Resources.errNoDTXFileText, Properties.Resources.errNoDTXFileCaption, MessageBoxButtons.OK, MessageBoxIcon.Error); return; } if (textBox_BrowseAudio.Text == "") { - MessageBox.Show("出力ファイルが指定されていません。", "ファイルが見つかりません", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(Properties.Resources.errNoOutFileText, Properties.Resources.errNoOutFileCaption, MessageBoxButtons.OK, MessageBoxIcon.Error); return; } string inext = Path.GetExtension(textBox_BrowseAudio.Text).ToLower(); if (inext == ".dtx" || inext == ".gda" || inext == ".g2d") { - MessageBox.Show("出力ファイルとして、DTX/GDA/G2Dファイルを指定しています。", "出力ファイル指定エラー", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(Properties.Resources.errIllegalExtentionText, Properties.Resources.errIllegalExtentionCaption, MessageBoxButtons.OK, MessageBoxIcon.Error); return; } #endregion @@ -214,7 +213,7 @@ namespace DTX2WAV } catch (Exception) { - MessageBox.Show("DTXMania本体の起動に失敗しました。録音できません。", "Failed launching DTXMania", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(Properties.Resources.errFailedLaunchingDTXManiaText, Properties.Resources.errFailedLaunchingDTXManiaCaption, MessageBoxButtons.OK, MessageBoxIcon.Error); p_DTXMania.Close(); p_DTXMania.Dispose(); p_DTXMania = null; diff --git a/DTX2WAV/Form1.ja-JP.resx b/DTX2WAV/Form1.ja-JP.resx index bd4da110..26d16c53 100644 --- a/DTX2WAV/Form1.ja-JP.resx +++ b/DTX2WAV/Form1.ja-JP.resx @@ -117,7 +117,140 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - DTX2WAV + + + 113, 22 + + + 終了(&X) + + + 67, 20 + + + ファイル(&F) + + + 57, 20 + + + 編集(&E) + + + 65, 20 + + + ヘルプ(&H) + + + 107, 12 + + + 録音元の&DTXファイル + + + 出力ファイルの種類 + + + 参照 + + + 143, 12 + + + 出力するオーディオファイル(&A) + + + 参照 + + + 録音ファイルの指定_ + + + 終了 + + + 440, 410 + + + 73, 23 + + + 録音 + + + 401, 16 + + + 録音中の音をスピーカーに出力する(しかし実現方法不明のため現在はON固定) + + + 100, 12 + + + マスターボリューム(%) + + + 79, 12 + + + Bassの音量(%) + + + 84, 12 + + + Guitarの音量(%) + + + 86, 12 + + + Drumsの音量(%) + + + 67, 12 + + + SEの音量(%) + + + 78, 12 + + + BGMの音量(%) + + + 音量設定 + + + 録音 + + + 55, 12 + + + ビットレート + + + 41, 12 + + + 高音質 + + + 41, 12 + + + 低音質 + + + 29, 12 + + + 品質 + + + OGG/MP3設定 \ No newline at end of file diff --git a/DTX2WAV/Form1.resx b/DTX2WAV/Form1.resx index 807368ee..e2b6581b 100644 --- a/DTX2WAV/Form1.resx +++ b/DTX2WAV/Form1.resx @@ -121,6 +121,30 @@ 191, 17 + + 93, 22 + + + E&xit + + + 37, 20 + + + &File + + + 39, 20 + + + &Edit + + + 44, 20 + + + &Help + 0, 0 @@ -146,30 +170,6 @@ 2 - - 37, 20 - - - &File - - - 152, 22 - - - E&xit - - - 39, 20 - - - &Edit - - - 44, 20 - - - &Help - 306, 17 @@ -200,35 +200,35 @@ 422, 17 - + True - + NoControl - + 20, 26 - - 142, 12 + + 76, 12 - + 2 - - 録音元のDTXファイルパス(&D) + + Input &DTX file - - label1 + + label_infile - + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + groupBox_recfiles - + 7 @@ -264,34 +264,34 @@ 0 - + True - + NoControl - + 20, 103 - - 104, 12 + + 97, 12 - + 9 - - 出力ファイル形式(&M) + + Audio file type(&M) - - label3 + + label_filetype - + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + groupBox_recfiles - + 1 @@ -307,7 +307,7 @@ 4 - 参照 + Browse button_BrowseAudio @@ -342,34 +342,34 @@ 3 - + True - + NoControl - + 20, 64 - - 143, 12 + + 92, 12 - + 6 - - 出力オーディオファイルパス(&A) + + Output &Audio file - - label2 + + label_outfile - + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + groupBox_recfiles - + 4 @@ -385,7 +385,7 @@ 2 - 参照 + Browse button_browseDTX @@ -430,7 +430,7 @@ 1 - 録音ファイルの指定 + Input/Output file groupBox_recfiles @@ -460,7 +460,7 @@ 0 - 終了 + Exit button_Cancel @@ -481,16 +481,16 @@ NoControl - 438, 410 + 403, 410 - 75, 23 + 110, 23 3 - 録音 + Start Recording button_Convert @@ -517,13 +517,13 @@ 22, 227 - 522, 16 + 495, 16 18 - 録音中の音をスピーカーに出力する(しかし実現方法不明。WASAPI排他じゃなければやりようがあるのだが) + Output ercording sound to the speaker for monitering (but yet not implemented to set it off) False @@ -574,13 +574,13 @@ 20, 188 - 100, 12 + 98, 12 16 - マスターボリューム(%) + Master volume (%) label9 @@ -655,13 +655,13 @@ 20, 135 - 79, 12 + 49, 12 13 - Bassの音量(%) + Bass (%) label8 @@ -736,13 +736,13 @@ 20, 107 - 84, 12 + 54, 12 10 - Guitarの音量(%) + Guitar (%) label7 @@ -817,13 +817,13 @@ 20, 79 - 86, 12 + 56, 12 7 - Drumsの音量(%) + Drums (%) label6 @@ -898,13 +898,13 @@ 20, 51 - 67, 12 + 37, 12 4 - SEの音量(%) + SE (%) label5 @@ -979,13 +979,13 @@ 20, 23 - 78, 12 + 48, 12 1 - BGMの音量(%) + BGM (%) label4 @@ -1036,7 +1036,7 @@ 2 - Volume設定 + Volume settings groupBox_volumes @@ -1077,79 +1077,43 @@ 0 - - groupBox_MP3 - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tabPage2 - - - 0 - - - groupBox_Ogg - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tabPage2 - - - 1 - - - 4, 22 - - - 3, 3, 3, 3 - - - 647, 447 - - - 1 - - - Encoder Settings + + 64 - - tabPage2 + + 80 - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 96 - - tabControl1 + + 112 - - 1 + + 128 - - Fill + + 160 - - 0, 24 + + 192 - - 655, 473 + + 224 - - 0 + + 256 - - tabControl1 + + 320 - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 117, 24 - - $this + + 121, 20 - + 0 @@ -1164,6 +1128,24 @@ 0 + + True + + + NoControl + + + 18, 27 + + + 42, 12 + + + 3 + + + Bitrate: + label11 @@ -1200,94 +1182,61 @@ 0 - + True - + NoControl - - 18, 27 + + 493, 47 - - 42, 12 + + 66, 12 - + 3 - - Bitrate: + + High quality - - label11 + + label_highq - + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - groupBox_MP3 - - - 1 - - - numericUpDown_Ogg_Q - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + groupBox_Ogg - + 0 - - label10 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBox_Ogg - - - 1 - - - trackBar_Ogg_Q + + True - - System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 115, 47 - - groupBox_Ogg + + 63, 12 - + 2 - - 6, 6 + + Low quality - - 644, 67 + + label_ogg_lowq - - 0 - - - Ogg + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + groupBox_Ogg - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tabPage2 - - + 1 @@ -1312,11 +1261,8 @@ groupBox_Ogg - 0 + 2 - - 17, 17 - True @@ -1342,7 +1288,7 @@ groupBox_Ogg - 1 + 3 False @@ -1366,65 +1312,89 @@ groupBox_Ogg - 2 + 4 - - 562, 17 - - - 698, 17 - - - 64 + + 6, 6 - - 80 + + 644, 67 - - 96 + + 0 - - 112 + + Ogg - - 128 + + groupBox_Ogg - - 160 + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 192 + + tabPage2 - - 224 + + 1 - - 256 + + 4, 22 - - 320 + + 3, 3, 3, 3 - - 117, 24 + + 647, 447 - - 121, 20 + + 1 - + + Encoder Settings + + + tabPage2 + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabControl1 + + + 1 + + + Fill + + + 0, 24 + + + 655, 473 + + 0 - - comboBox_MP3_bps + + tabControl1 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - groupBox_MP3 + + $this - + 0 + + 562, 17 + + + 698, 17 + True diff --git a/DTX2WAV/Form_FInished_OK.resx b/DTX2WAV/Form_FInished_OK.resx index e6a946f3..a6c0859c 100644 --- a/DTX2WAV/Form_FInished_OK.resx +++ b/DTX2WAV/Form_FInished_OK.resx @@ -117,103 +117,106 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Bottom - - - - 57, 56 - - - 75, 23 - - - 0 - - - OK - - - button_OK + + 2 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 11, 12 - + $this - - 2 + + + Bottom + + + 6, 12 True - - 57, 23 - - - 107, 12 + + 57, 56 1 - - 録音が終了しました。 + + 40, 46 - - label_finished + + Form_Finished_OK + + + $this + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 1 + + 186, 92 - - 11, 12 + + CenterParent - - 40, 46 + + 75, 23 - - 2 + + label_finished pictureBox_OKIcon + + 1 + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - $this + + OK - - 0 + + button_OK - - True - - - 6, 12 + + 129, 12 - - 186, 92 + + Completed successfully. - - CenterParent + + 57, 23 - - 録音終了 + + 0 - - Form_Finished_OK + + 2 System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 0 + + + Completed recording + + + True + + + ja-JP + \ No newline at end of file diff --git a/DTX2WAV/Form_Finished_Fail.Designer.cs b/DTX2WAV/Form_Finished_Fail.Designer.cs index 394792d9..793e85ce 100644 --- a/DTX2WAV/Form_Finished_Fail.Designer.cs +++ b/DTX2WAV/Form_Finished_Fail.Designer.cs @@ -28,6 +28,7 @@ /// private void InitializeComponent() { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_Finished_Fail)); this.label_Canceled = new System.Windows.Forms.Label(); this.button_OK = new System.Windows.Forms.Button(); this.pictureBox_FailIcon = new System.Windows.Forms.PictureBox(); @@ -36,46 +37,32 @@ // // label_Canceled // - this.label_Canceled.AutoSize = true; - this.label_Canceled.Location = new System.Drawing.Point(57, 23); + resources.ApplyResources(this.label_Canceled, "label_Canceled"); this.label_Canceled.Name = "label_Canceled"; - this.label_Canceled.Size = new System.Drawing.Size(117, 12); - this.label_Canceled.TabIndex = 0; - this.label_Canceled.Text = "録音が中止されました。"; // // button_OK // - this.button_OK.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.button_OK.Location = new System.Drawing.Point(59, 56); + resources.ApplyResources(this.button_OK, "button_OK"); this.button_OK.Name = "button_OK"; - this.button_OK.Size = new System.Drawing.Size(75, 23); - this.button_OK.TabIndex = 1; - this.button_OK.Text = "OK"; this.button_OK.UseVisualStyleBackColor = true; this.button_OK.Click += new System.EventHandler(this.button_OK_Click); // // pictureBox_FailIcon // - this.pictureBox_FailIcon.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.pictureBox_FailIcon.Location = new System.Drawing.Point(12, 12); + resources.ApplyResources(this.pictureBox_FailIcon, "pictureBox_FailIcon"); this.pictureBox_FailIcon.Name = "pictureBox_FailIcon"; - this.pictureBox_FailIcon.Size = new System.Drawing.Size(40, 46); - this.pictureBox_FailIcon.TabIndex = 3; this.pictureBox_FailIcon.TabStop = false; // // Form_Finished_Fail // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(192, 91); this.ControlBox = false; this.Controls.Add(this.pictureBox_FailIcon); this.Controls.Add(this.button_OK); this.Controls.Add(this.label_Canceled); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "Form_Finished_Fail"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "録音中断"; this.Shown += new System.EventHandler(this.Form_Finished_Fail_Shown); ((System.ComponentModel.ISupportInitialize)(this.pictureBox_FailIcon)).EndInit(); this.ResumeLayout(false); diff --git a/DTX2WAV/Form_Finished_Fail.resx b/DTX2WAV/Form_Finished_Fail.resx index 1af7de15..a9e82a41 100644 --- a/DTX2WAV/Form_Finished_Fail.resx +++ b/DTX2WAV/Form_Finished_Fail.resx @@ -117,4 +117,109 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + CenterParent + + + Bottom + + + + 6, 12 + + + $this + + + label_Canceled + + + 59, 56 + + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Form_Finished_Fail + + + $this + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Canceled recording. + + + 192, 91 + + + + 3 + + + 75, 23 + + + True + + + 1 + + + NoControl + + + 0 + + + 40, 46 + + + OK + + + $this + + + button_OK + + + 12, 12 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 0 + + + 1 + + + 57, 23 + + + pictureBox_FailIcon + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 105, 12 + + + Canceled + + + 2 + + + True + + + ja-JP + \ No newline at end of file diff --git a/DTX2WAV/Form_Recording.Designer.cs b/DTX2WAV/Form_Recording.Designer.cs index 53df77f5..221e0757 100644 --- a/DTX2WAV/Form_Recording.Designer.cs +++ b/DTX2WAV/Form_Recording.Designer.cs @@ -117,8 +117,8 @@ // // label_currentTime // - this.label_currentTime.ForeColor = System.Drawing.SystemColors.ControlText; resources.ApplyResources(this.label_currentTime, "label_currentTime"); + this.label_currentTime.ForeColor = System.Drawing.SystemColors.ControlText; this.label_currentTime.Name = "label_currentTime"; // // Form_Recording diff --git a/DTX2WAV/Form_Recording.cs b/DTX2WAV/Form_Recording.cs index 6907c88e..eb43f932 100644 --- a/DTX2WAV/Form_Recording.cs +++ b/DTX2WAV/Form_Recording.cs @@ -53,28 +53,28 @@ namespace DTX2WAV switch (label_state.Text.Substring(0,4).ToUpper()) { case "BOOT": - label_boot_check.Text = "→"; + label_boot_check.Text = ">>"; label_loading_check.Text = ""; label_playing_check.Text = ""; label_exit_check.Text = ""; break; case "LOAD": label_boot_check.Text = "✔"; - label_loading_check.Text = "→"; + label_loading_check.Text = ">>"; label_playing_check.Text = ""; label_exit_check.Text = ""; break; case "PLAY": label_boot_check.Text = "✔"; label_loading_check.Text = "✔"; - label_playing_check.Text = "→"; + label_playing_check.Text = ">>"; label_exit_check.Text = ""; break; case "TERM": label_boot_check.Text = "✔"; label_loading_check.Text = "✔"; label_playing_check.Text = "✔"; - label_exit_check.Text = "→"; + label_exit_check.Text = ">>"; break; case "TIME": string[] s = label_state.Text.Split(new char[] { ',' }); diff --git a/DTX2WAV/Form_Recording.resx b/DTX2WAV/Form_Recording.resx index 7d979eea..3e77c3d4 100644 --- a/DTX2WAV/Form_Recording.resx +++ b/DTX2WAV/Form_Recording.resx @@ -118,381 +118,384 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 95, 204 - 88, 23 - - - 0 + + 5 - - Cancel + + TopRight - - button_CancelConverting + + + 13 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 2 - - $this + + label_exit - - 13 + + 88, 82 - - True + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 9, 21 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 270, 12 + + 284, 261 - - 1 + + 10 - - 録音中です。演奏が終わるまで、そのままお待ちください。 + + 88, 57 - - label_Recording + + Launching DTXMania (minimized) - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - + $this - - 12 + + $this - - 34, 160 + + True - - 209, 23 + + $this - - 2 + + 3 + + + 23, 12 + + + *** progressBar_Recording - - System.Windows.Forms.ProgressBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this + + 6, 12 - - 11 + + 6 - + True - - 108, 57 + + 72, 12 - - 160, 12 + + True - - 3 + + button_CancelConverting - - DTXManiaのバックグラウンド起動 + + + CenterParent - - label_boot + + 8 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + label_loading_check $this - - 10 + + 4 - + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 100, 12 + + True - - 108, 82 + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 101, 12 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 108, 134 4 + + 12 + + + 5 + + + 9, 21 + + + 0 + - 曲データの読み込み + Loading song - - label_loading + + 34, 160 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + label_estimateTime - - $this + + Recording Please wait while playing... - - 9 + + 108, 82 - + + 88, 108 + + True - - 108, 108 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 29, 12 + + 6 - - 5 + + 79, 12 - - 演奏 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - label_playing + + 88, 134 + + + 1 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - $this + + label_playing - - 8 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + True - - 108, 134 - - - 29, 12 + + 12 - - 6 + + label_currentTime - - 終了 + + label_Recording - - label_exit + + 0, 12 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + TopCenter - + $this - - 7 - - - True - - - 220, 240 - - - 23, 12 + + 0, 12 - + 7 - - *** + + 87, 186 - - False + + $this label_state - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + label_boot - + $this - - 6 + + 9 - - True + + 9 - - 88, 57 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 0, 12 + + 7 - - 8 + + 42, 12 - - label_boot_check + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 13 - + + 10 + + $this - - 5 + + 174, 12 - - True + + 108, 57 - - 88, 82 + + 220, 240 - - 0, 12 + + Playing - - 9 + + label_loading - - label_loading_check + + 209, 23 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + True - - $this + + 164, 186 - - 4 + + 11 - - True + + 11 - - 88, 108 + + $this 0, 12 - - 10 + + 95, 204 - - label_playing_check + + label_boot_check - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 1 - - $this + + DTX2WAV [Recording...] - - 3 + + 0 - + True - - 88, 134 - - - 0, 12 - - - 11 - - - label_exit_check + + label_playing_check System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 2 - - - 164, 186 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 79, 12 + + Cancel - - 12 + + True - - TopRight + + 0, 12 - - label_estimateTime + + False - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 108, 108 - - $this + + System.Windows.Forms.ProgressBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 1 + + label_exit_check - - 87, 186 + + 2 - - 100, 12 + + $this - - 13 + + 3 - - TopCenter + + 65, 12 - - label_currentTime + + Form_Recording - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Terminating $this - - 0 + + 195, 12 - + True - - - 6, 12 - - - 284, 261 - - - CenterParent - - - DTX2WAV [録音中...] + + $this - - Form_Recording + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 8 + + True + + + ja-JP + \ No newline at end of file diff --git a/DTX2WAV/Program.cs b/DTX2WAV/Program.cs index 5c559b5b..c6c17604 100644 --- a/DTX2WAV/Program.cs +++ b/DTX2WAV/Program.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using System.Windows.Forms; using System.Diagnostics; using System.Runtime.InteropServices; +using System.Threading; +using System.Globalization; using System.IO; namespace DTX2WAV @@ -17,6 +19,11 @@ namespace DTX2WAV [STAThread] static void Main() { +#if DEBUG +#if USE_ENGLISHRESOURCE + Thread.CurrentThread.CurrentUICulture = new CultureInfo( "en-GB", false ); // yyagi; For testing English resources +#endif +#endif // 以下、DOBON.NETを参照した。mutexを使って二重起動を抑制。 //Mutex名を決める(必ずアプリケーション固有の文字列に変更すること!) string mutexName = "DTX2WAV"; @@ -84,8 +91,6 @@ namespace DTX2WAV } mutex.Close(); } - - } // .NET TIPSより diff --git a/DTX2WAV/Properties/AssemblyInfo.cs b/DTX2WAV/Properties/AssemblyInfo.cs index 2783dfce..b1cb75bd 100644 --- a/DTX2WAV/Properties/AssemblyInfo.cs +++ b/DTX2WAV/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます // 既定値にすることができます: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("7.0.0.0")] -[assembly: AssemblyFileVersion("7.0.0.0")] +[assembly: AssemblyVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.0.0.0")] diff --git a/DTX2WAV/Properties/Resources.Designer.cs b/DTX2WAV/Properties/Resources.Designer.cs index 9300dfa3..e1daa84a 100644 --- a/DTX2WAV/Properties/Resources.Designer.cs +++ b/DTX2WAV/Properties/Resources.Designer.cs @@ -4,68 +4,195 @@ // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 -// コードが再生成されるときに損失したりします +// コードが再生成されるときに損失したりします。 // //------------------------------------------------------------------------------ -namespace DTX2WAV.Properties -{ - - - /// - /// ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。 - /// - // このクラスは StronglyTypedResourceBuilder クラスが ResGen - // または Visual Studio のようなツールを使用して自動生成されました。 - // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に - // ResGen を実行し直すか、または VS プロジェクトをリビルドします。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - - /// - /// このクラスで使用されるキャッシュされた ResourceManager インスタンスを返します。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DTX2WAV.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 厳密に型指定されたこのリソース クラスを使用して、すべての検索リソースに対し、 - /// 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } +namespace DTX2WAV.Properties { + using System; + + + /// + /// ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。 + /// + // このクラスは StronglyTypedResourceBuilder クラスが ResGen + // または Visual Studio のようなツールを使用して自動生成されました。 + // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に + // ResGen を実行し直すか、または VS プロジェクトをビルドし直します。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DTX2WAV.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 厳密に型指定されたこのリソース クラスを使用して、すべての検索リソースに対し、 + /// 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Failed launching DTXMania に類似しているローカライズされた文字列を検索します。 + /// + public static string errFailedLaunchingDTXManiaCaption { + get { + return ResourceManager.GetString("errFailedLaunchingDTXManiaCaption", resourceCulture); + } + } + + /// + /// Failed launching DTXMania. Can't record DTX sound. に類似しているローカライズされた文字列を検索します。 + /// + public static string errFailedLaunchingDTXManiaText { + get { + return ResourceManager.GetString("errFailedLaunchingDTXManiaText", resourceCulture); + } + } + + /// + /// Error: Unexpected output file に類似しているローカライズされた文字列を検索します。 + /// + public static string errIllegalExtentionCaption { + get { + return ResourceManager.GetString("errIllegalExtentionCaption", resourceCulture); + } + } + + /// + /// DTX/GDA/G2D file is specified as output file. に類似しているローカライズされた文字列を検索します。 + /// + public static string errIllegalExtentionText { + get { + return ResourceManager.GetString("errIllegalExtentionText", resourceCulture); + } + } + + /// + /// Error: No DTX file に類似しているローカライズされた文字列を検索します。 + /// + public static string errNoDTXFileCaption { + get { + return ResourceManager.GetString("errNoDTXFileCaption", resourceCulture); + } + } + + /// + /// Failed to load input file. に類似しているローカライズされた文字列を検索します。 + /// + public static string errNoDTXFileText { + get { + return ResourceManager.GetString("errNoDTXFileText", resourceCulture); + } + } + + /// + /// Error: File is not found に類似しているローカライズされた文字列を検索します。 + /// + public static string errNoOutFileCaption { + get { + return ResourceManager.GetString("errNoOutFileCaption", resourceCulture); + } + } + + /// + /// No output file specified. に類似しているローカライズされた文字列を検索します。 + /// + public static string errNoOutFileText { + get { + return ResourceManager.GetString("errNoOutFileText", resourceCulture); + } + } + + /// + /// DTX file(*.dtx)|*.dtx|GDA file(*.gda;*.g2d)|*.gda;*.g2d)|All files(*.*)|*.* に類似しているローカライズされた文字列を検索します。 + /// + public static string ofdFilter { + get { + return ResourceManager.GetString("ofdFilter", resourceCulture); + } + } + + /// + /// Select DTX file に類似しているローカライズされた文字列を検索します。 + /// + public static string ofdTitle { + get { + return ResourceManager.GetString("ofdTitle", resourceCulture); + } + } + + /// + /// All files(*.*)|*.* に類似しているローカライズされた文字列を検索します。 + /// + public static string sfdFilterALL { + get { + return ResourceManager.GetString("sfdFilterALL", resourceCulture); + } + } + + /// + /// MP3 file(*.mp3)|*.mp3|All files(*.*)|*.* に類似しているローカライズされた文字列を検索します。 + /// + public static string sfdFilterMP3 { + get { + return ResourceManager.GetString("sfdFilterMP3", resourceCulture); + } + } + + /// + /// OGG file(*.ogg)|*.ogg|All files(*.*)|*.* に類似しているローカライズされた文字列を検索します。 + /// + public static string sfdFilterOGG { + get { + return ResourceManager.GetString("sfdFilterOGG", resourceCulture); + } + } + + /// + /// WAV file(*.wav)|*.wav|All files(*.*)|*.* に類似しているローカライズされた文字列を検索します。 + /// + public static string sfdFilterWAV { + get { + return ResourceManager.GetString("sfdFilterWAV", resourceCulture); + } + } + + /// + /// Set ouput file に類似しているローカライズされた文字列を検索します。 + /// + public static string sfdTitle { + get { + return ResourceManager.GetString("sfdTitle", resourceCulture); + } + } + } } diff --git a/DTX2WAV/Properties/Resources.resx b/DTX2WAV/Properties/Resources.resx index af7dbebb..c22a7033 100644 --- a/DTX2WAV/Properties/Resources.resx +++ b/DTX2WAV/Properties/Resources.resx @@ -46,7 +46,7 @@ mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with - : System.Serialization.Formatters.Binary.BinaryFormatter + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 @@ -60,6 +60,7 @@ : and then encoded with base64 encoding. --> + @@ -68,9 +69,10 @@ - + + @@ -85,9 +87,10 @@ - + + @@ -109,9 +112,54 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Failed launching DTXMania + + + Failed launching DTXMania. Can't record DTX sound. + + + Error: Unexpected output file + + + DTX/GDA/G2D file is specified as output file. + + + Error: No DTX file + + + Failed to load input file. + + + Error: File is not found + + + No output file specified. + + + DTX file(*.dtx)|*.dtx|GDA file(*.gda;*.g2d)|*.gda;*.g2d)|All files(*.*)|*.* + + + Select DTX file + + + All files(*.*)|*.* + + + MP3 file(*.mp3)|*.mp3|All files(*.*)|*.* + + + OGG file(*.ogg)|*.ogg|All files(*.*)|*.* + + + WAV file(*.wav)|*.wav|All files(*.*)|*.* + + + Set ouput file + \ No newline at end of file