handbrake-jp project\'s main repository.
Revision | dab684d63a6ee6ca1d354b319481569a5999e848 (tree) |
---|---|
Time | 2011-01-04 22:32:02 |
Author | unknown <hirom@.(no...> |
Commiter | hylom |
translate PresetLoader, QueryGenerator
@@ -206,8 +206,7 @@ namespace Handbrake.Functions | ||
206 | 206 | mainWindow.x264Panel.X264Query = presetQuery.H264Query; |
207 | 207 | |
208 | 208 | // Set the preset name |
209 | - mainWindow.labelPreset.Text = "Output Settings (Preset: " + name + ")"; | |
210 | - | |
209 | + mainWindow.labelPreset.Text = "出力設定(プリセット: " + name + ")"; | |
211 | 210 | #endregion |
212 | 211 | } |
213 | 212 |
@@ -332,7 +332,7 @@ namespace Handbrake.Functions | ||
332 | 332 | if (mainWindow.check_turbo.Checked) |
333 | 333 | query += " -T "; |
334 | 334 | |
335 | - if (mainWindow.drp_videoFramerate.Text != "Same as source") | |
335 | + if (mainWindow.drp_videoFramerate.Text != "変換元と同じ") | |
336 | 336 | query += " -r " + mainWindow.drp_videoFramerate.Text; |
337 | 337 | |
338 | 338 | if (mainWindow.checkMaximumFramerate.Checked) |
@@ -361,7 +361,7 @@ namespace Handbrake.Functions | ||
361 | 361 | foreach (DataGridViewRow row in audioTracks.Rows) |
362 | 362 | { |
363 | 363 | // Audio Track (-a) |
364 | - if (row.Cells[1].Value.ToString() == "Automatic") | |
364 | + if (row.Cells[1].Value.ToString() == "自動") | |
365 | 365 | tracks.Add("1"); |
366 | 366 | else if (row.Cells[1].Value.ToString() != "None") |
367 | 367 | { |
@@ -383,7 +383,7 @@ namespace Handbrake.Functions | ||
383 | 383 | |
384 | 384 | // Audio Bitrate (-B) |
385 | 385 | 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")); | |
387 | 387 | |
388 | 388 | // DRC (-D) |
389 | 389 | if (row.Cells[6].Value.ToString() != String.Empty) |
@@ -510,7 +510,7 @@ namespace Handbrake.Functions | ||
510 | 510 | { |
511 | 511 | if (destName.Trim() != String.Empty) |
512 | 512 | { |
513 | - string path = sourceTitle != "Automatic" | |
513 | + string path = sourceTitle != "自動" | |
514 | 514 | ? Path.Combine(Path.GetTempPath(), destName + "-" + sourceTitle + "-chapters.csv") |
515 | 515 | : Path.Combine(Path.GetTempPath(), destName + "-chapters.csv"); |
516 | 516 |
@@ -1479,10 +1479,8 @@ namespace Handbrake | ||
1479 | 1479 | |
1480 | 1480 | private void drp_dvdtitle_Click(object sender, EventArgs e) |
1481 | 1481 | { |
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); | |
1486 | 1484 | } |
1487 | 1485 | |
1488 | 1486 | private void drp_dvdtitle_SelectedIndexChanged(object sender, EventArgs e) |
@@ -69,20 +69,28 @@ namespace Handbrake | ||
69 | 69 | { |
70 | 70 | case "Do nothing": |
71 | 71 | drp_completeOption.Text = "何もしない"; |
72 | + break; | |
72 | 73 | case "Shutdown": |
73 | 74 | drp_completeOption.Text = "PCの電源を切る"; |
75 | + break; | |
74 | 76 | case "Suspend": |
75 | 77 | drp_completeOption.Text = "PCをサスペンド"; |
78 | + break; | |
76 | 79 | case "Hibernate": |
77 | 80 | drp_completeOption.Text = "PCをハイバネーション"; |
81 | + break; | |
78 | 82 | case "Lock system": |
79 | 83 | drp_completeOption.Text = "PCをロック"; |
84 | + break; | |
80 | 85 | case "Log off": |
81 | 86 | drp_completeOption.Text = "ログオフ"; |
87 | + break; | |
82 | 88 | case "Quit HandBrake": |
83 | 89 | drp_completeOption.Text = "HandBrakeを終了"; |
90 | + break; | |
84 | 91 | default: |
85 | 92 | drp_completeOption.Text = "何もしない"; |
93 | + break; | |
86 | 94 | } |
87 | 95 | |
88 | 96 | // Growl. |
@@ -151,21 +159,30 @@ namespace Handbrake | ||
151 | 159 | |
152 | 160 | // Priority level for encodes |
153 | 161 | // drp_Priority.Text = Properties.Settings.Default.processPriority; |
154 | - switch (Properties.Settings.Default.processPriority) { | |
162 | + switch (Properties.Settings.Default.processPriority) | |
163 | + { | |
155 | 164 | case "Realtime": |
156 | 165 | drp_Priority.Text = "最高"; |
166 | + break; | |
157 | 167 | case "High": |
158 | 168 | drp_Priority.Text = "高"; |
169 | + break; | |
159 | 170 | case "Above Normal": |
160 | 171 | drp_Priority.Text = "高め"; |
172 | + break; | |
161 | 173 | case "Normal": |
162 | 174 | drp_Priority.Text = "普通"; |
175 | + break; | |
163 | 176 | case "Below Normal": |
164 | 177 | drp_Priority.Text = "低め"; |
178 | + break; | |
165 | 179 | case "Low": |
166 | 180 | drp_Priority.Text = "低"; |
181 | + break; | |
167 | 182 | default: |
168 | 183 | drp_Priority.Text = "普通"; |
184 | + break; | |
185 | + } | |
169 | 186 | |
170 | 187 | check_preventSleep.Checked = Properties.Settings.Default.preventSleep; |
171 | 188 |
@@ -275,27 +292,35 @@ namespace Handbrake | ||
275 | 292 | { |
276 | 293 | case "何もしない": |
277 | 294 | Properties.Settings.Default.CompletionOption = "Do nothing"; |
295 | + break; | |
278 | 296 | |
279 | 297 | case "PCの電源を切る": |
280 | 298 | Properties.Settings.Default.CompletionOption = "Shutdown"; |
299 | + break; | |
281 | 300 | |
282 | 301 | case "PCをサスペンド": |
283 | 302 | Properties.Settings.Default.CompletionOption = "Suspend"; |
303 | + break; | |
284 | 304 | |
285 | 305 | case "PCをハイバネーション": |
286 | 306 | Properties.Settings.Default.CompletionOption = "Hibernate"; |
307 | + break; | |
287 | 308 | |
288 | 309 | case "PCをロック": |
289 | 310 | Properties.Settings.Default.CompletionOption = "Lock system"; |
311 | + break; | |
290 | 312 | |
291 | 313 | case "ログオフ": |
292 | 314 | Properties.Settings.Default.CompletionOption = "Log off"; |
315 | + break; | |
293 | 316 | |
294 | 317 | case "HandBrakeを終了": |
295 | 318 | Properties.Settings.Default.CompletionOption = "Quit HandBrake"; |
319 | + break; | |
296 | 320 | |
297 | 321 | default: |
298 | 322 | Properties.Settings.Default.CompletionOption = "Do nothing"; |
323 | + break; | |
299 | 324 | } |
300 | 325 | } |
301 | 326 |
@@ -424,24 +449,31 @@ namespace Handbrake | ||
424 | 449 | switch (drp_Priority.Text) { |
425 | 450 | case "最高": |
426 | 451 | Properties.Settings.Default.processPriority = "Realtime"; |
452 | + break; | |
427 | 453 | |
428 | 454 | case "高": |
429 | 455 | Properties.Settings.Default.processPriority = "High"; |
456 | + break; | |
430 | 457 | |
431 | 458 | case "高め": |
432 | 459 | Properties.Settings.Default.processPriority = "Above Normal"; |
460 | + break; | |
433 | 461 | |
434 | 462 | case "普通": |
435 | 463 | Properties.Settings.Default.processPriority = "Normal"; |
464 | + break; | |
436 | 465 | |
437 | 466 | case "低め": |
438 | 467 | Properties.Settings.Default.processPriority = "Below Normal"; |
468 | + break; | |
439 | 469 | |
440 | 470 | case "低": |
441 | 471 | Properties.Settings.Default.processPriority = "Low"; |
472 | + break; | |
442 | 473 | |
443 | 474 | default: |
444 | 475 | Properties.Settings.Default.processPriority = "Normal"; |
476 | + break; | |
445 | 477 | } |
446 | 478 | } |
447 | 479 |