}\r
catch (Exception exc)\r
{\r
- MessageBox.Show(mw, "It would appear QuickTime 7 is not installed or not accessible. QuickTime preview functionality will be disabled! \n\n Debug Info:\n" + exc, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
+ MessageBox.Show(mw, "QuickTimeでのプレビューにはQuickTime 7が必要です。QuickTime 7をインストールしてください。\n\n Debug Info:\n" + exc, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
btn_playQT.Enabled = false;\r
noQT = true;\r
}\r
}\r
catch (Exception)\r
{\r
- MessageBox.Show(this, "Unable to delete previous preview file. You may need to restart the application.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
+ MessageBox.Show(this, "存在するプレビュー用ファイルを削除できません。アプリケーションを再起動すると解決するかもしれません。", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
}\r
\r
btn_playQT.Enabled = false;\r
btn_playVLC.Enabled = false;\r
- lbl_status.Text = "Encoding Sample for (VLC) ...";\r
+ lbl_status.Text = "サンプル表示用ファイル(VLC用)を作成中...";\r
int duration;\r
int.TryParse(cb_duration.Text, out duration);\r
String query = hb_common_func.GenerateCLIQuery(mainWindow, duration, cb_preview.Text);\r
if (mainWindow.text_destination.Text.Contains(".mkv"))\r
{\r
MessageBox.Show(this,\r
- "The QuickTime Control does not support MKV files, It is recommended you use VLC option instead.",\r
+ "QuickTimeはMKVファイルをサポートしていません。VLCを利用してください。",\r
"Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
}\r
else\r
}\r
catch (Exception)\r
{\r
- MessageBox.Show(this, "Unable to delete previous preview file. You may need to restart the application.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
+ MessageBox.Show(this, "以前作成したプレビュー用ファイルを削除できません。アプリケーションを再起動すると解決するかもしれません。", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
}\r
\r
btn_playQT.Enabled = false;\r
btn_playVLC.Enabled = false;\r
- lbl_status.Text = "Encoding Sample for (QT) ...";\r
+ lbl_status.Text = "サンプル表示用ファイル(QuickTime用)を作成中...";\r
int duration;\r
int.TryParse(cb_duration.Text, out duration);\r
String query = hb_common_func.GenerateCLIQuery(mainWindow, duration, cb_preview.Text);\r
{\r
// Make sure we are not already encoding and if we are then display an error.\r
if (process.hbProcess != null)\r
- MessageBox.Show(this, "Handbrake is already encoding a video!", "Status", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
+ MessageBox.Show(this, "すでに動画の変換作業は完了しています!", "Status", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
else\r
{\r
process.RunCli((string)state);\r
// Decide which player to use.\r
String playerSelection = lbl_status.Text.Contains("QT") ? "QT" : "VLC";\r
\r
- lbl_status.Text = "Loading Clip ...";\r
+ lbl_status.Text = "ロード中...";\r
\r
// Get the sample filename\r
if (mainWindow.text_destination.Text != "")\r
String args = "\"" + currently_playing + "\"";\r
ProcessStartInfo vlc = new ProcessStartInfo(Properties.Settings.Default.VLC_Path, args);\r
Process.Start(vlc);\r
- lbl_status.Text = "VLC will now launch.";\r
+ lbl_status.Text = "VLCを起動します。";\r
}\r
else\r
- MessageBox.Show(this, "Unable to detect VLC Player. \nPlease make sure VLC is installed and the directory specified in HandBrake's options is correct. (See: \"Tools Menu > Options > Picture Tab\") ", "VLC", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
+ MessageBox.Show(this, "VLCを見つけられませんでした。VLCがインストールされているか、またオプションで正しいパスを指定しているかどうかを確認してください。\nこの設定は、「ツール」メニューの「オプション」を選択→「画像」タブで変更できます。", "VLC", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
}\r
else\r
- MessageBox.Show(this, "Unable to find the preview file. Either the file was deleted or the encode failed. Check the activity log for details.", "VLC", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
+ MessageBox.Show(this, "プレビュー用のファイルを見つけられませんでした。プレビュー用ファイルが削除されたか、作成に失敗した可能性があります。詳しくは履歴ログを確認してください。", "VLC", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
}\r
lbl_status.Visible = false;\r
}\r
catch (COMException ex)\r
{\r
QTUtils qtu = new QTUtils();\r
- MessageBox.Show(this, "Unable to open movie:\n\nError Code: " + ex.ErrorCode.ToString("X") + "\nQT Error code : " + qtu.QTErrorFromErrorCode(ex.ErrorCode), "QT", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
+ MessageBox.Show(this, "動画ファイルを開けませんでした。\n\nError Code: " + ex.ErrorCode.ToString("X") + "\nQT Error code : " + qtu.QTErrorFromErrorCode(ex.ErrorCode), "QT", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
}\r
catch (Exception ex)\r
{\r
- MessageBox.Show(this, "Unable to open movie:\n\n" + ex, "QT", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
+ MessageBox.Show(this, "動画ファイルを開けませんでした。\n\n" + ex, "QT", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
}\r
}\r
#endregion\r