• R/O
  • HTTP
  • SSH
  • HTTPS

handbrake-jp: Commit

handbrake-jp project\'s main repository.


Commit MetaInfo

Revisióndab684d63a6ee6ca1d354b319481569a5999e848 (tree)
Tiempo2011-01-04 22:32:02
Autorunknown <hirom@.(no...>
Commiterhylom

Log Message

translate PresetLoader, QueryGenerator

Cambiar Resumen

Diferencia

--- a/win/C#/Functions/PresetLoader.cs
+++ b/win/C#/Functions/PresetLoader.cs
@@ -206,8 +206,7 @@ namespace Handbrake.Functions
206206 mainWindow.x264Panel.X264Query = presetQuery.H264Query;
207207
208208 // Set the preset name
209- mainWindow.labelPreset.Text = "Output Settings (Preset: " + name + ")";
210-
209+ mainWindow.labelPreset.Text = "出力設定(プリセット: " + name + ")";
211210 #endregion
212211 }
213212
--- a/win/C#/Functions/QueryGenerator.cs
+++ b/win/C#/Functions/QueryGenerator.cs
@@ -332,7 +332,7 @@ namespace Handbrake.Functions
332332 if (mainWindow.check_turbo.Checked)
333333 query += " -T ";
334334
335- if (mainWindow.drp_videoFramerate.Text != "Same as source")
335+ if (mainWindow.drp_videoFramerate.Text != "変換元と同じ")
336336 query += " -r " + mainWindow.drp_videoFramerate.Text;
337337
338338 if (mainWindow.checkMaximumFramerate.Checked)
@@ -361,7 +361,7 @@ namespace Handbrake.Functions
361361 foreach (DataGridViewRow row in audioTracks.Rows)
362362 {
363363 // Audio Track (-a)
364- if (row.Cells[1].Value.ToString() == "Automatic")
364+ if (row.Cells[1].Value.ToString() == "自動")
365365 tracks.Add("1");
366366 else if (row.Cells[1].Value.ToString() != "None")
367367 {
@@ -383,7 +383,7 @@ namespace Handbrake.Functions
383383
384384 // Audio Bitrate (-B)
385385 if (row.Cells[5].Value.ToString() != String.Empty)
386- bitrates.Add(row.Cells[5].Value.ToString().Replace("Auto", "auto"));
386+ bitrates.Add(row.Cells[5].Value.ToString().Replace("自動", "auto"));
387387
388388 // DRC (-D)
389389 if (row.Cells[6].Value.ToString() != String.Empty)
@@ -510,7 +510,7 @@ namespace Handbrake.Functions
510510 {
511511 if (destName.Trim() != String.Empty)
512512 {
513- string path = sourceTitle != "Automatic"
513+ string path = sourceTitle != "自動"
514514 ? Path.Combine(Path.GetTempPath(), destName + "-" + sourceTitle + "-chapters.csv")
515515 : Path.Combine(Path.GetTempPath(), destName + "-chapters.csv");
516516
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -1479,10 +1479,8 @@ namespace Handbrake
14791479
14801480 private void drp_dvdtitle_Click(object sender, EventArgs e)
14811481 {
1482- if ((drp_dvdtitle.Items.Count == 1) && (drp_dvdtitle.Items[0].ToString() == "Automatic"))
1483- MessageBox.Show(
1484- "There are no titles to select. Please load a source file by clicking the 'Source' button above before trying to select a title.",
1485- "Alert", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
1482+ if ((drp_dvdtitle.Items.Count == 1) && (drp_dvdtitle.Items[0].ToString() == "自動"))
1483+ MessageBox.Show("タイトルが選択されていません。「変換元」をクリックして変換元を選択してください", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
14861484 }
14871485
14881486 private void drp_dvdtitle_SelectedIndexChanged(object sender, EventArgs e)
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -69,20 +69,28 @@ namespace Handbrake
6969 {
7070 case "Do nothing":
7171 drp_completeOption.Text = "何もしない";
72+ break;
7273 case "Shutdown":
7374 drp_completeOption.Text = "PCの電源を切る";
75+ break;
7476 case "Suspend":
7577 drp_completeOption.Text = "PCをサスペンド";
78+ break;
7679 case "Hibernate":
7780 drp_completeOption.Text = "PCをハイバネーション";
81+ break;
7882 case "Lock system":
7983 drp_completeOption.Text = "PCをロック";
84+ break;
8085 case "Log off":
8186 drp_completeOption.Text = "ログオフ";
87+ break;
8288 case "Quit HandBrake":
8389 drp_completeOption.Text = "HandBrakeを終了";
90+ break;
8491 default:
8592 drp_completeOption.Text = "何もしない";
93+ break;
8694 }
8795
8896 // Growl.
@@ -151,21 +159,30 @@ namespace Handbrake
151159
152160 // Priority level for encodes
153161 // drp_Priority.Text = Properties.Settings.Default.processPriority;
154- switch (Properties.Settings.Default.processPriority) {
162+ switch (Properties.Settings.Default.processPriority)
163+ {
155164 case "Realtime":
156165 drp_Priority.Text = "最高";
166+ break;
157167 case "High":
158168 drp_Priority.Text = "高";
169+ break;
159170 case "Above Normal":
160171 drp_Priority.Text = "高め";
172+ break;
161173 case "Normal":
162174 drp_Priority.Text = "普通";
175+ break;
163176 case "Below Normal":
164177 drp_Priority.Text = "低め";
178+ break;
165179 case "Low":
166180 drp_Priority.Text = "低";
181+ break;
167182 default:
168183 drp_Priority.Text = "普通";
184+ break;
185+ }
169186
170187 check_preventSleep.Checked = Properties.Settings.Default.preventSleep;
171188
@@ -275,27 +292,35 @@ namespace Handbrake
275292 {
276293 case "何もしない":
277294 Properties.Settings.Default.CompletionOption = "Do nothing";
295+ break;
278296
279297 case "PCの電源を切る":
280298 Properties.Settings.Default.CompletionOption = "Shutdown";
299+ break;
281300
282301 case "PCをサスペンド":
283302 Properties.Settings.Default.CompletionOption = "Suspend";
303+ break;
284304
285305 case "PCをハイバネーション":
286306 Properties.Settings.Default.CompletionOption = "Hibernate";
307+ break;
287308
288309 case "PCをロック":
289310 Properties.Settings.Default.CompletionOption = "Lock system";
311+ break;
290312
291313 case "ログオフ":
292314 Properties.Settings.Default.CompletionOption = "Log off";
315+ break;
293316
294317 case "HandBrakeを終了":
295318 Properties.Settings.Default.CompletionOption = "Quit HandBrake";
319+ break;
296320
297321 default:
298322 Properties.Settings.Default.CompletionOption = "Do nothing";
323+ break;
299324 }
300325 }
301326
@@ -424,24 +449,31 @@ namespace Handbrake
424449 switch (drp_Priority.Text) {
425450 case "最高":
426451 Properties.Settings.Default.processPriority = "Realtime";
452+ break;
427453
428454 case "高":
429455 Properties.Settings.Default.processPriority = "High";
456+ break;
430457
431458 case "高め":
432459 Properties.Settings.Default.processPriority = "Above Normal";
460+ break;
433461
434462 case "普通":
435463 Properties.Settings.Default.processPriority = "Normal";
464+ break;
436465
437466 case "低め":
438467 Properties.Settings.Default.processPriority = "Below Normal";
468+ break;
439469
440470 case "低":
441471 Properties.Settings.Default.processPriority = "Low";
472+ break;
442473
443474 default:
444475 Properties.Settings.Default.processPriority = "Normal";
476+ break;
445477 }
446478 }
447479
Show on old repository browser