• R/O
  • HTTP
  • SSH
  • HTTPS

handbrake-jp: Commit

handbrake-jp project\'s main repository.


Commit MetaInfo

Revisão9d29ab7c5b06b84bc532c98e346dc611ba3e1b66 (tree)
Hora2011-01-04 22:28:10
Autorunknown <hylom@.(no...>
Commiterhylom

Mensagem de Log

translation Controls and EncodeQueue

Mudança Sumário

Diff

--- a/win/C#/Controls/AudioPanel.cs
+++ b/win/C#/Controls/AudioPanel.cs
@@ -653,11 +653,12 @@ namespace Handbrake.Controls
653653 private void SetMixDown()
654654 {
655655 drp_audioMix.Items.Clear();
656- drp_audioMix.Items.Add("Mono");
657- drp_audioMix.Items.Add("Stereo");
656+<<<<<<< HEAD
657+ drp_audioMix.Items.Add("モノラル");
658+ drp_audioMix.Items.Add("ステレオ");
658659 drp_audioMix.Items.Add("Dolby Surround");
659660 drp_audioMix.Items.Add("Dolby Pro Logic II");
660- drp_audioMix.Items.Add("6 Channel Discrete");
661+ drp_audioMix.Items.Add("5.1chサラウンド");
661662 drp_audioMix.Items.Add(AC3Passthru);
662663 drp_audioMix.Items.Add(DTSPassthru);
663664
@@ -670,7 +671,7 @@ namespace Handbrake.Controls
670671 drp_audioMix.Items.Remove(DTSPassthru);
671672 break;
672673 case "MP3 (lame)":
673- drp_audioMix.Items.Remove("6 Channel Discrete");
674+ drp_audioMix.Items.Remove("5.1chサラウンド");
674675 drp_audioMix.Items.Remove(AC3Passthru);
675676 drp_audioMix.Items.Remove(DTSPassthru);
676677 break;
--- a/win/C#/Controls/Filters.cs
+++ b/win/C#/Controls/Filters.cs
@@ -45,10 +45,10 @@ namespace Handbrake.Controls
4545 case "Off":
4646 query += string.Empty;
4747 break;
48- case "Default":
48+ case "デフォルト":
4949 query += " --detelecine";
5050 break;
51- case "Custom":
51+ case "カスタム":
5252 query += " --detelecine=\"" + text_customDT.Text + "\"";
5353 break;
5454 default:
@@ -61,10 +61,10 @@ namespace Handbrake.Controls
6161 case "Off":
6262 query += string.Empty;
6363 break;
64- case "Default":
64+ case "デフォルト":
6565 query += " --decomb";
6666 break;
67- case "Custom":
67+ case "カスタム":
6868 query += " --decomb=\"" + text_customDC.Text + "\"";
6969 break;
7070 default:
@@ -77,16 +77,16 @@ namespace Handbrake.Controls
7777 case "None":
7878 query += string.Empty;
7979 break;
80- case "Fast":
80+ case "高速":
8181 query += " --deinterlace=\"fast\"";
8282 break;
83- case "Slow":
83+ case "低速":
8484 query += " --deinterlace=\"slow\"";
8585 break;
86- case "Slower":
86+ case "最低":
8787 query += " --deinterlace=\"slower\"";
8888 break;
89- case "Custom":
89+ case "カスタム":
9090 query += " --deinterlace=\"" + text_customDI.Text + "\"";
9191 break;
9292 default:
@@ -99,16 +99,16 @@ namespace Handbrake.Controls
9999 case "None":
100100 query += string.Empty;
101101 break;
102- case "Weak":
102+ case "弱":
103103 query += " --denoise=\"weak\"";
104104 break;
105- case "Medium":
105+ case "中":
106106 query += " --denoise=\"medium\"";
107107 break;
108- case "Strong":
108+ case "強":
109109 query += " --denoise=\"strong\"";
110110 break;
111- case "Custom":
111+ case "カスタム":
112112 query += " --denoise=\"" + text_customDN.Text + "\"";
113113 break;
114114 default:
@@ -139,7 +139,7 @@ namespace Handbrake.Controls
139139 case "Off":
140140 drop_detelecine.SelectedIndex = 0;
141141 break;
142- case "Default":
142+ case "デフォルト":
143143 drop_detelecine.SelectedIndex = 2;
144144 break;
145145 default:
@@ -163,13 +163,13 @@ namespace Handbrake.Controls
163163 case "Off":
164164 drop_denoise.SelectedIndex = 0;
165165 break;
166- case "Weak":
166+ case "弱":
167167 drop_denoise.SelectedIndex = 2;
168168 break;
169- case "Medium":
169+ case "中":
170170 drop_denoise.SelectedIndex = 3;
171171 break;
172- case "Strong":
172+ case "強":
173173 drop_denoise.SelectedIndex = 4;
174174 break;
175175 default:
@@ -193,13 +193,13 @@ namespace Handbrake.Controls
193193 case "Off":
194194 drop_deinterlace.SelectedIndex = 0;
195195 break;
196- case "Fast":
196+ case "高速":
197197 drop_deinterlace.SelectedIndex = 2;
198198 break;
199- case "Slow":
199+ case "低速":
200200 drop_deinterlace.SelectedIndex = 3;
201201 break;
202- case "Slower":
202+ case "最低":
203203 drop_deinterlace.SelectedIndex = 4;
204204
205205 break;
@@ -224,7 +224,7 @@ namespace Handbrake.Controls
224224 case "Off":
225225 drop_decomb.SelectedIndex = 0;
226226 break;
227- case "Default":
227+ case "デフォルト":
228228 drop_decomb.SelectedIndex = 2;
229229 break;
230230 default:
--- a/win/C#/Controls/Subtitles.cs
+++ b/win/C#/Controls/Subtitles.cs
@@ -363,7 +363,7 @@ namespace Handbrake.Controls
363363 srt_offset.Value = track.SrtOffset;
364364 srt_charcode.SelectedItem = track.SrtCharCode;
365365 check_default.CheckState = track.Default ? CheckState.Checked : CheckState.Unchecked;
366- SubGroupBox.Text = "Selected Track: " + track.Track;
366+ SubGroupBox.Text = "選択中のトラック: " + track.Track;
367367 }
368368 else // We have Bitmap/CC
369369 {
@@ -376,12 +376,12 @@ namespace Handbrake.Controls
376376 check_forced.CheckState = track.Forced ? CheckState.Checked : CheckState.Unchecked;
377377 check_burned.CheckState = track.Burned ? CheckState.Checked : CheckState.Unchecked;
378378 check_default.CheckState = track.Default ? CheckState.Checked : CheckState.Unchecked;
379- SubGroupBox.Text = "Selected Track: " +
379+ SubGroupBox.Text = "選択中のトラック: " +
380380 lv_subList.Items[lv_subList.SelectedIndices[0]].SubItems[0].Text;
381381 }
382382 }
383383 else
384- SubGroupBox.Text = "Selected Track: None (Click \"Add\" to add another track to the list)";
384+ SubGroupBox.Text = "選択中のトラック: なし";
385385 }
386386
387387 #endregion
--- a/win/C#/EncodeQueue/EncodeAndQueueHandler.cs
+++ b/win/C#/EncodeQueue/EncodeAndQueueHandler.cs
@@ -189,11 +189,11 @@ namespace Handbrake.EncodeQueue
189189 line.WriteLine(strCmdLine);
190190 }
191191
192- MessageBox.Show("Your batch script has been sucessfully saved.", "Status", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
192+ MessageBox.Show("バッチスクリプトを保存しました。", "Status", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
193193 }
194194 catch (Exception)
195195 {
196- MessageBox.Show("Unable to write to the file. Please make sure that the location has the correct permissions for file writing.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
196+ MessageBox.Show("ファイルを保存できませんでした。書き込み可能なフォルダを指定しているか過帰任してください。", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
197197 }
198198
199199 }
@@ -328,7 +328,7 @@ namespace Handbrake.EncodeQueue
328328
329329 //Growl
330330 if (Properties.Settings.Default.growlEncode)
331- GrowlCommunicator.Notify("Encode Completed", "Put down that cocktail...\nyour Handbrake encode is done.");
331+ GrowlCommunicator.Notify("変換完了", "Handbrakeの変換作業が完了しました。");
332332
333333 if (CurrentJobCompleted != null)
334334 CurrentJobCompleted(this, new EventArgs());
@@ -416,7 +416,7 @@ namespace Handbrake.EncodeQueue
416416 }
417417 catch (Exception exc)
418418 {
419- MessageBox.Show("It would appear that HandBrakeCLI has not started correctly. You should take a look at the Activity log as it may indicate the reason why.\n\n Detailed Error Information: error occured in runCli()\n\n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
419+ MessageBox.Show("HandBrakeCLI.exeの起動に失敗しました。詳細については履歴ログを確認してください。\n\n Detailed Error Information: error occured in runCli()\n\n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
420420 }
421421 }
422422
@@ -439,7 +439,7 @@ namespace Handbrake.EncodeQueue
439439
440440 //Growl
441441 if (Properties.Settings.Default.growlQueue)
442- GrowlCommunicator.Notify("Queue Completed", "Put down that cocktail...\nyour Handbrake queue is done.");
442+ GrowlCommunicator.Notify("変換キューの完了", "Handbrake変換キュー内の変換作業がすべて完了しました。");
443443
444444 // Do something whent he encode ends.
445445 switch (Properties.Settings.Default.CompletionOption)
@@ -524,7 +524,7 @@ namespace Handbrake.EncodeQueue
524524 }
525525 catch (Exception exc)
526526 {
527- MessageBox.Show("Something went a bit wrong trying to copy your log file.\nError Information:\n\n" + exc, "Error",
527+ MessageBox.Show("ログファイルのコピー中に問題が発生しました。\nError Information:\n\n" + exc, "Error",
528528 MessageBoxButtons.OK, MessageBoxIcon.Error);
529529 }
530530 }
--- a/win/C#/frmOptions.Designer.cs
+++ b/win/C#/frmOptions.Designer.cs
@@ -169,13 +169,13 @@ namespace Handbrake
169169 this.drp_completeOption.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
170170 this.drp_completeOption.FormattingEnabled = true;
171171 this.drp_completeOption.Items.AddRange(new object[] {
172- "Do nothing",
173- "Shutdown",
174- "Suspend",
175- "Hibernate",
176- "Lock system",
177- "Log off",
178- "Quit HandBrake"});
172+ "何もしない",
173+ "PCの電源を切る",
174+ "PCをサスペンド",
175+ "PCをハイバネーション",
176+ "PCをロック",
177+ "ログオフ",
178+ "HandBrakeを終了"});
179179 this.drp_completeOption.Location = new System.Drawing.Point(108, 95);
180180 this.drp_completeOption.Name = "drp_completeOption";
181181 this.drp_completeOption.Size = new System.Drawing.Size(166, 21);
@@ -331,9 +331,9 @@ namespace Handbrake
331331 this.drop_updateCheckDays.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
332332 this.drop_updateCheckDays.FormattingEnabled = true;
333333 this.drop_updateCheckDays.Items.AddRange(new object[] {
334- "Daily",
335- "Weekly",
336- "Monthly"});
334+ "毎日",
335+ "週1回",
336+ "月1回"});
337337 this.drop_updateCheckDays.Location = new System.Drawing.Point(127, 35);
338338 this.drop_updateCheckDays.Name = "drop_updateCheckDays";
339339 this.drop_updateCheckDays.Size = new System.Drawing.Size(97, 21);
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -64,7 +64,26 @@ namespace Handbrake
6464 }
6565
6666 // On Encode Completeion Action
67- drp_completeOption.Text = Properties.Settings.Default.CompletionOption;
67+ // drp_completeOption.Text = Properties.Settings.Default.CompletionOption;
68+ switch (Properties.Settings.Default.CompletionOption)
69+ {
70+ case "Do nothing":
71+ drp_completeOption.Text = "何もしない";
72+ case "Shutdown":
73+ drp_completeOption.Text = "PCの電源を切る";
74+ case "Suspend":
75+ drp_completeOption.Text = "PCをサスペンド";
76+ case "Hibernate":
77+ drp_completeOption.Text = "PCをハイバネーション";
78+ case "Lock system":
79+ drp_completeOption.Text = "PCをロック";
80+ case "Log off":
81+ drp_completeOption.Text = "ログオフ";
82+ case "Quit HandBrake":
83+ drp_completeOption.Text = "HandBrakeを終了";
84+ default:
85+ drp_completeOption.Text = "何もしない";
86+ }
6887
6988 // Growl.
7089 if (Properties.Settings.Default.growlEncode)
@@ -106,7 +125,10 @@ namespace Handbrake
106125 // Audio and Subtitles Tab
107126 // #############################
108127
109- drop_preferredLang.SelectedItem = Properties.Settings.Default.NativeLanguage;
128+ if (Properties.Settings.Default.NativeLanguage == "Japanese")
129+ drop_preferredLang.SelectedItem = "日本語";
130+ else
131+ drop_preferredLang.SelectedItem = Properties.Settings.Default.NativeLanguage;
110132
111133 switch (Settings.Default.DubMode)
112134 {
@@ -128,7 +150,22 @@ namespace Handbrake
128150 // #############################
129151
130152 // Priority level for encodes
131- drp_Priority.Text = Properties.Settings.Default.processPriority;
153+ // drp_Priority.Text = Properties.Settings.Default.processPriority;
154+ switch (Properties.Settings.Default.processPriority) {
155+ case "Realtime":
156+ drp_Priority.Text = "最高";
157+ case "High":
158+ drp_Priority.Text = "高";
159+ case "Above Normal":
160+ drp_Priority.Text = "高め";
161+ case "Normal":
162+ drp_Priority.Text = "普通";
163+ case "Below Normal":
164+ drp_Priority.Text = "低め";
165+ case "Low":
166+ drp_Priority.Text = "低";
167+ default:
168+ drp_Priority.Text = "普通";
132169
133170 check_preventSleep.Checked = Properties.Settings.Default.preventSleep;
134171
@@ -233,7 +270,33 @@ namespace Handbrake
233270
234271 private void drp_completeOption_SelectedIndexChanged(object sender, EventArgs e)
235272 {
236- Properties.Settings.Default.CompletionOption = drp_completeOption.Text;
273+ // Properties.Settings.Default.CompletionOption = drp_completeOption.Text;
274+ switch (drp_completeOption.Text)
275+ {
276+ case "何もしない":
277+ Properties.Settings.Default.CompletionOption = "Do nothing";
278+
279+ case "PCの電源を切る":
280+ Properties.Settings.Default.CompletionOption = "Shutdown";
281+
282+ case "PCをサスペンド":
283+ Properties.Settings.Default.CompletionOption = "Suspend";
284+
285+ case "PCをハイバネーション":
286+ Properties.Settings.Default.CompletionOption = "Hibernate";
287+
288+ case "PCをロック":
289+ Properties.Settings.Default.CompletionOption = "Lock system";
290+
291+ case "ログオフ":
292+ Properties.Settings.Default.CompletionOption = "Log off";
293+
294+ case "HandBrakeを終了":
295+ Properties.Settings.Default.CompletionOption = "Quit HandBrake";
296+
297+ default:
298+ Properties.Settings.Default.CompletionOption = "Do nothing";
299+ }
237300 }
238301
239302 private void check_GrowlQueue_CheckedChanged(object sender, EventArgs e)
@@ -322,7 +385,10 @@ namespace Handbrake
322385
323386 private void drop_preferredLang_SelectedIndexChanged(object sender, EventArgs e)
324387 {
325- Properties.Settings.Default.NativeLanguage = drop_preferredLang.SelectedItem.ToString();
388+ if (drop_preferredLang.SelectedItem.ToString() == "日本語")
389+ Properties.Settings.Default.NativeLanguage = "Japanese";
390+ else
391+ Properties.Settings.Default.NativeLanguage = drop_preferredLang.SelectedItem.ToString();
326392 }
327393
328394 private void radio_dub_CheckedChanged(object sender, EventArgs e)
@@ -354,7 +420,29 @@ namespace Handbrake
354420
355421 private void drp_Priority_SelectedIndexChanged(object sender, EventArgs e)
356422 {
357- Properties.Settings.Default.processPriority = drp_Priority.Text;
423+ // Properties.Settings.Default.processPriority = drp_Priority.Text;
424+ switch (drp_Priority.Text) {
425+ case "最高":
426+ Properties.Settings.Default.processPriority = "Realtime";
427+
428+ case "高":
429+ Properties.Settings.Default.processPriority = "High";
430+
431+ case "高め":
432+ Properties.Settings.Default.processPriority = "Above Normal";
433+
434+ case "普通":
435+ Properties.Settings.Default.processPriority = "Normal";
436+
437+ case "低め":
438+ Properties.Settings.Default.processPriority = "Below Normal";
439+
440+ case "低":
441+ Properties.Settings.Default.processPriority = "Low";
442+
443+ default:
444+ Properties.Settings.Default.processPriority = "Normal";
445+ }
358446 }
359447
360448 private void check_preventSleep_CheckedChanged(object sender, EventArgs e)
@@ -402,12 +490,12 @@ namespace Handbrake
402490
403491 private void btn_clearLogs_Click(object sender, EventArgs e)
404492 {
405- DialogResult result = MessageBox.Show("Are you sure you wish to clear the log file directory?", "Clear Logs",
493+ DialogResult result = MessageBox.Show("HandBrakeのログフォルダを空にしますか?", "Clear Logs",
406494 MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
407495 if (result == DialogResult.Yes)
408496 {
409497 Main.ClearLogs();
410- MessageBox.Show(this, "HandBrake's Log file directory has been cleared!", "Notice", MessageBoxButtons.OK,
498+ MessageBox.Show(this, "ログフォルダを空にしました!", "Notice", MessageBoxButtons.OK,
411499 MessageBoxIcon.Information);
412500 }
413501 }
--- a/win/C#/frmPreview.cs
+++ b/win/C#/frmPreview.cs
@@ -234,8 +234,7 @@ namespace Handbrake
234234 }
235235 catch (Exception)
236236 {
237- MessageBox.Show(this, "Unable to delete previous preview file. You may need to restart the application.",
238- "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
237+ MessageBox.Show(this, "存在するプレビュー用ファイルを削除できません。アプリケーションを再起動すると解決するかもしれません。", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
239238 }
240239
241240 btn_playQT.Enabled = false;
@@ -263,14 +262,14 @@ namespace Handbrake
263262 if (this.noQt)
264263 {
265264 MessageBox.Show(this,
266- "It would appear QuickTime 7 is not installed or not accessible. Please (re)install QuickTime.",
265+ "QuickTime 7がインストールされていないか、利用できない状態です。QuickTimeをインストールもしくは再インストールしてください。",
267266 "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
268267 return;
269268 }
270269 if (this.mainWindow.text_destination.Text.Contains(".mkv"))
271270 {
272271 MessageBox.Show(this,
273- "The QuickTime Control does not support MKV files, It is recommended you use the VLC option instead.",
272+ "QuickTimeはMKVファイルをサポートしていません。VLCを利用してください。",
274273 "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
275274 }
276275 else
@@ -286,9 +285,7 @@ namespace Handbrake
286285 }
287286 catch (Exception)
288287 {
289- MessageBox.Show(this,
290- "Unable to delete previous preview file. You may need to restart the application.",
291- "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
288+ MessageBox.Show(this, "以前作成したプレビュー用ファイルを削除できません。アプリケーションを再起動すると解決するかもしれません。", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
292289 }
293290
294291 btn_playQT.Enabled = false;
@@ -385,9 +382,7 @@ namespace Handbrake
385382 }
386383 }
387384 else
388- MessageBox.Show(this,
389- "Unable to find the preview file. Either the file was deleted or the encode failed. Check the activity log for details.",
390- "VLC", MessageBoxButtons.OK, MessageBoxIcon.Warning);
385+ MessageBox.Show(this, "VLCを見つけられませんでした。VLCがインストールされているか、またオプションで正しいパスを指定しているかどうかを確認してください。\nこの設定は、「ツール」メニューの「オプション」を選択→「画像」タブで変更できます。", "VLC", MessageBoxButtons.OK, MessageBoxIcon.Warning);
391386 }
392387 }
393388
@@ -415,11 +410,11 @@ namespace Handbrake
415410 catch (COMException ex)
416411 {
417412 QTUtils qtu = new QTUtils();
418- Main.ShowExceptiowWindow("Unable to open movie.", ex + Environment.NewLine + qtu.QTErrorFromErrorCode(ex.ErrorCode));
413+ Main.ShowExceptiowWindow("動画ファイルを開けませんでした。", ex + Environment.NewLine + qtu.QTErrorFromErrorCode(ex.ErrorCode));
419414 }
420415 catch (Exception ex)
421416 {
422- Main.ShowExceptiowWindow("Unable to open movie.", ex.ToString());
417+ Main.ShowExceptiowWindow("動画ファイルを開けませんでした。", ex.ToString());
423418 }
424419 }
425420
Show on old repository browser