X-Git-Url: http://git.osdn.net/view?p=handbrake-jp%2Fhandbrake-jp.git;a=blobdiff_plain;f=win%2FC%23%2FfrmPreview.cs;h=a4cf59c192630bd87cd52104de83aea6e3a45c03;hp=59e6c2520a3fc574164f9fb10034ef1494032eae;hb=c997534a2f7c2f22d064acf19ed69cd89db19346;hpb=a2a826d0f31dc98ac4e76e03e4f904c4fa887ea0 diff --git a/win/C#/frmPreview.cs b/win/C#/frmPreview.cs index 59e6c25..a4cf59c 100644 --- a/win/C#/frmPreview.cs +++ b/win/C#/frmPreview.cs @@ -30,7 +30,7 @@ namespace Handbrake } catch (Exception exc) { - 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); + MessageBox.Show(mw, "QuickTimeでのプレビューにはQuickTime 7が必要です。QuickTime 7をインストールしてください。\n\n Debug Info:\n" + exc, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); btn_playQT.Enabled = false; noQT = true; } @@ -51,12 +51,12 @@ namespace Handbrake } catch (Exception) { - MessageBox.Show(this, "Unable to delete previous preview file. You may need to restart the application.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(this, "存在するプレビュー用ファイルを削除できません。アプリケーションを再起動すると解決するかもしれません。", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } btn_playQT.Enabled = false; btn_playVLC.Enabled = false; - lbl_status.Text = "Encoding Sample for (VLC) ..."; + lbl_status.Text = "サンプル表示用ファイル(VLC用)を作成中..."; int duration; int.TryParse(cb_duration.Text, out duration); String query = hb_common_func.GenerateCLIQuery(mainWindow, duration, cb_preview.Text); @@ -67,7 +67,7 @@ namespace Handbrake if (mainWindow.text_destination.Text.Contains(".mkv")) { MessageBox.Show(this, - "The QuickTime Control does not support MKV files, It is recommended you use VLC option instead.", + "QuickTimeはMKVファイルをサポートしていません。VLCを利用してください。", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); } else @@ -81,12 +81,12 @@ namespace Handbrake } catch (Exception) { - MessageBox.Show(this, "Unable to delete previous preview file. You may need to restart the application.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(this, "以前作成したプレビュー用ファイルを削除できません。アプリケーションを再起動すると解決するかもしれません。", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } btn_playQT.Enabled = false; btn_playVLC.Enabled = false; - lbl_status.Text = "Encoding Sample for (QT) ..."; + lbl_status.Text = "サンプル表示用ファイル(QuickTime用)を作成中..."; int duration; int.TryParse(cb_duration.Text, out duration); String query = hb_common_func.GenerateCLIQuery(mainWindow, duration, cb_preview.Text); @@ -98,7 +98,7 @@ namespace Handbrake { // Make sure we are not already encoding and if we are then display an error. if (process.hbProcess != null) - MessageBox.Show(this, "Handbrake is already encoding a video!", "Status", MessageBoxButtons.OK, MessageBoxIcon.Warning); + MessageBox.Show(this, "すでに動画の変換作業は完了しています!", "Status", MessageBoxButtons.OK, MessageBoxIcon.Warning); else { process.RunCli((string)state); @@ -126,7 +126,7 @@ namespace Handbrake // Decide which player to use. String playerSelection = lbl_status.Text.Contains("QT") ? "QT" : "VLC"; - lbl_status.Text = "Loading Clip ..."; + lbl_status.Text = "ロード中..."; // Get the sample filename if (mainWindow.text_destination.Text != "") @@ -174,13 +174,13 @@ namespace Handbrake String args = "\"" + currently_playing + "\""; ProcessStartInfo vlc = new ProcessStartInfo(Properties.Settings.Default.VLC_Path, args); Process.Start(vlc); - lbl_status.Text = "VLC will now launch."; + lbl_status.Text = "VLCを起動します。"; } else - 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); + MessageBox.Show(this, "VLCを見つけられませんでした。VLCがインストールされているか、またオプションで正しいパスを指定しているかどうかを確認してください。\nこの設定は、「ツール」メニューの「オプション」を選択→「画像」タブで変更できます。", "VLC", MessageBoxButtons.OK, MessageBoxIcon.Warning); } else - 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); + MessageBox.Show(this, "プレビュー用のファイルを見つけられませんでした。プレビュー用ファイルが削除されたか、作成に失敗した可能性があります。詳しくは履歴ログを確認してください。", "VLC", MessageBoxButtons.OK, MessageBoxIcon.Warning); } lbl_status.Visible = false; } @@ -209,11 +209,11 @@ namespace Handbrake catch (COMException ex) { QTUtils qtu = new QTUtils(); - 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); + MessageBox.Show(this, "動画ファイルを開けませんでした。\n\nError Code: " + ex.ErrorCode.ToString("X") + "\nQT Error code : " + qtu.QTErrorFromErrorCode(ex.ErrorCode), "QT", MessageBoxButtons.OK, MessageBoxIcon.Warning); } catch (Exception ex) { - MessageBox.Show(this, "Unable to open movie:\n\n" + ex, "QT", MessageBoxButtons.OK, MessageBoxIcon.Warning); + MessageBox.Show(this, "動画ファイルを開けませんでした。\n\n" + ex, "QT", MessageBoxButtons.OK, MessageBoxIcon.Warning); } } #endregion