OSDN Git Service

translate PresetLoader, QueryGenerator
authorunknown <hirom@.(none)>
Thu, 17 Dec 2009 07:11:59 +0000 (16:11 +0900)
committerunknown <hirom@.(none)>
Thu, 17 Dec 2009 07:11:59 +0000 (16:11 +0900)
win/C#/Functions/PresetLoader.cs
win/C#/Functions/QueryGenerator.cs
win/C#/frmMain.cs
win/C#/frmOptions.cs

index 3018b91..6b7f3df 100644 (file)
@@ -218,12 +218,12 @@ namespace Handbrake.Functions
                 {\r
                     ListViewItem newTrack = new ListViewItem(mainWindow.AudioSettings.GetNewID().ToString());\r
 \r
-                    newTrack.SubItems.Add("Automatic");\r
+                    newTrack.SubItems.Add("自動");\r
                     newTrack.SubItems.Add(track.Encoder);\r
                     newTrack.SubItems.Add(track.MixDown);\r
                     newTrack.SubItems.Add(track.SampleRate);\r
                     if (track.Encoder.Contains("AC3"))\r
-                        newTrack.SubItems.Add("Auto");\r
+                        newTrack.SubItems.Add("自動");\r
                     else\r
                         newTrack.SubItems.Add(track.Bitrate);\r
                     newTrack.SubItems.Add(track.DRC);\r
@@ -235,7 +235,7 @@ namespace Handbrake.Functions
             mainWindow.x264Panel.x264Query = presetQuery.H264Query;\r
 \r
             // Set the preset name\r
-            mainWindow.labelPreset.Text = "Output Settings (Preset: " + name + ")";\r
+            mainWindow.labelPreset.Text = "出力設定(プリセット: " + name + ")";\r
             #endregion\r
         }\r
     }\r
index 5f46485..8940a91 100644 (file)
@@ -225,7 +225,7 @@ namespace Handbrake.Functions
             if (mainWindow.check_turbo.Checked)\r
                 query += " -T ";\r
 \r
-            if (mainWindow.drp_videoFramerate.Text != "Same as source")\r
+            if (mainWindow.drp_videoFramerate.Text != "変換元と同じ")\r
                 query += " -r " + mainWindow.drp_videoFramerate.Text;\r
             #endregion\r
 \r
@@ -247,9 +247,9 @@ namespace Handbrake.Functions
             foreach (ListViewItem row in audioTracks.Items)\r
             {\r
                 // Audio Track (-a)\r
-                if (row.SubItems[1].Text == "Automatic")\r
+                if (row.SubItems[1].Text == "自動")\r
                     tracks.Add("1");\r
-                else if (row.Text != "None")\r
+                else if (row.Text != "自動")\r
                 {\r
                     string[] tempSub = row.SubItems[1].Text.Split(' ');\r
                     tracks.Add(tempSub[0]);\r
@@ -265,11 +265,11 @@ namespace Handbrake.Functions
 \r
                 // Sample Rate (-R)\r
                 if (row.SubItems[4].Text != String.Empty)\r
-                    samplerates.Add(row.SubItems[4].Text.Replace("Auto", "Auto"));\r
+                    samplerates.Add(row.SubItems[4].Text.Replace("自動", "Auto"));\r
 \r
                 // Audio Bitrate (-B)\r
                 if (row.SubItems[5].Text != String.Empty)\r
-                    bitrates.Add(row.SubItems[5].Text.Replace("Auto", "auto"));\r
+                    bitrates.Add(row.SubItems[5].Text.Replace("自動", "auto"));\r
 \r
                 // DRC (-D)\r
                 if (row.SubItems[6].Text != String.Empty)\r
@@ -494,7 +494,7 @@ namespace Handbrake.Functions
             {\r
                 if (dest_name.Trim() != String.Empty)\r
                 {\r
-                    string path = source_title != "Automatic"\r
+                    string path = source_title != "自動"\r
                                       ? Path.Combine(Path.GetTempPath(), dest_name + "-" + source_title + "-chapters.csv")\r
                                       : Path.Combine(Path.GetTempPath(), dest_name + "-chapters.csv");\r
 \r
@@ -515,7 +515,7 @@ namespace Handbrake.Functions
 \r
             #region Processors / Other\r
             string processors = Properties.Settings.Default.Processors;\r
-            if (processors != "Automatic")\r
+            if (processors != "自動")\r
                 query += " -C " + processors + " ";\r
 \r
             query += " -v " + Properties.Settings.Default.verboseLevel;\r
index f5369ab..bfcb8dd 100644 (file)
@@ -995,7 +995,7 @@ namespace Handbrake
         }\r
         private void drp_dvdtitle_Click(object sender, EventArgs e)\r
         {\r
-            if ((drp_dvdtitle.Items.Count == 1) && (drp_dvdtitle.Items[0].ToString() == "Automatic"))\r
+            if ((drp_dvdtitle.Items.Count == 1) && (drp_dvdtitle.Items[0].ToString() == "\8e©\93®"))\r
                 MessageBox.Show("\83^\83C\83g\83\8b\82ª\91I\91ð\82³\82ê\82Ä\82¢\82Ü\82¹\82ñ\81B\81u\95Ï\8a·\8c³\81v\82ð\83N\83\8a\83b\83N\82µ\82Ä\95Ï\8a·\8c³\82ð\91I\91ð\82µ\82Ä\82­\82¾\82³\82¢", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);\r
         }\r
         private void drp_dvdtitle_SelectedIndexChanged(object sender, EventArgs e)\r
index 0d736ed..4c08709 100644 (file)
@@ -46,20 +46,28 @@ namespace Handbrake
             {\r
                 case "Do nothing":\r
                     drp_completeOption.Text = "\89½\82à\82µ\82È\82¢";\r
+                    break;\r
                 case "Shutdown":\r
                     drp_completeOption.Text = "PC\82Ì\93d\8c¹\82ð\90Ø\82é";\r
+                    break;\r
                 case "Suspend":\r
                     drp_completeOption.Text = "PC\82ð\83T\83X\83y\83\93\83h";\r
+                    break;\r
                 case "Hibernate":\r
                     drp_completeOption.Text = "PC\82ð\83n\83C\83o\83l\81[\83V\83\87\83\93";\r
+                    break;\r
                 case "Lock system":\r
                     drp_completeOption.Text = "PC\82ð\83\8d\83b\83N";\r
+                    break;\r
                 case "Log off":\r
                     drp_completeOption.Text = "\83\8d\83O\83I\83t";\r
+                    break;\r
                 case "Quit HandBrake":\r
                     drp_completeOption.Text = "HandBrake\82ð\8fI\97¹";\r
+                    break;\r
                 default:\r
                     drp_completeOption.Text = "\89½\82à\82µ\82È\82¢";\r
+                    break;\r
             }\r
 \r
             // Growl.\r
@@ -123,21 +131,30 @@ namespace Handbrake
 \r
             // Priority level for encodes\r
             // drp_Priority.Text = Properties.Settings.Default.processPriority;\r
-            switch (Properties.Settings.Default.processPriority) {\r
+            switch (Properties.Settings.Default.processPriority)\r
+            {\r
                 case "Realtime":\r
                     drp_Priority.Text = "\8dÅ\8d\82";\r
+                    break;\r
                 case "High":\r
                     drp_Priority.Text = "\8d\82";\r
+                    break;\r
                 case "Above Normal":\r
                     drp_Priority.Text = "\8d\82\82ß";\r
+                    break;\r
                 case "Normal":\r
                     drp_Priority.Text = "\95\81\92Ê";\r
+                    break;\r
                 case "Below Normal":\r
                     drp_Priority.Text = "\92á\82ß";\r
+                    break;\r
                 case "Low":\r
                     drp_Priority.Text = "\92á";\r
+                    break;\r
                 default:\r
                     drp_Priority.Text = "\95\81\92Ê";\r
+                    break;\r
+            }\r
 \r
             // Log Verbosity Level\r
             cb_logVerboseLvl.SelectedIndex = Properties.Settings.Default.verboseLevel;\r
@@ -243,27 +260,35 @@ namespace Handbrake
             {\r
                 case "\89½\82à\82µ\82È\82¢":\r
                     Properties.Settings.Default.CompletionOption = "Do nothing";\r
+                    break;\r
 \r
                 case "PC\82Ì\93d\8c¹\82ð\90Ø\82é":\r
                     Properties.Settings.Default.CompletionOption = "Shutdown";\r
+                    break;\r
                 \r
                 case "PC\82ð\83T\83X\83y\83\93\83h":\r
                     Properties.Settings.Default.CompletionOption = "Suspend";\r
+                    break;\r
                 \r
                 case "PC\82ð\83n\83C\83o\83l\81[\83V\83\87\83\93":\r
                     Properties.Settings.Default.CompletionOption = "Hibernate";\r
+                    break;\r
 \r
                 case "PC\82ð\83\8d\83b\83N":\r
                     Properties.Settings.Default.CompletionOption = "Lock system";\r
+                    break;\r
 \r
                 case "\83\8d\83O\83I\83t":\r
                     Properties.Settings.Default.CompletionOption = "Log off";\r
+                    break;\r
 \r
                 case "HandBrake\82ð\8fI\97¹":\r
                     Properties.Settings.Default.CompletionOption = "Quit HandBrake";\r
+                    break;\r
 \r
                 default:\r
                     Properties.Settings.Default.CompletionOption = "Do nothing";\r
+                    break;\r
             }\r
         }\r
 \r
@@ -363,24 +388,31 @@ namespace Handbrake
             switch (drp_Priority.Text) {\r
                 case "\8dÅ\8d\82":\r
                     Properties.Settings.Default.processPriority = "Realtime";\r
+                    break;\r
 \r
                 case "\8d\82":\r
                     Properties.Settings.Default.processPriority = "High";\r
+                    break;\r
 \r
                 case "\8d\82\82ß":\r
                     Properties.Settings.Default.processPriority = "Above Normal";\r
+                    break;\r
 \r
                 case "\95\81\92Ê":\r
                     Properties.Settings.Default.processPriority = "Normal";\r
+                    break;\r
 \r
                 case "\92á\82ß":\r
                     Properties.Settings.Default.processPriority = "Below Normal";\r
+                    break;\r
 \r
                 case "\92á":\r
                     Properties.Settings.Default.processPriority = "Low";\r
+                    break;\r
 \r
                 default:\r
                     Properties.Settings.Default.processPriority = "Normal";\r
+                    break;\r
             }\r
         }\r
 \r