OSDN Git Service

translate some words in frmMain.cs
[handbrake-jp/handbrake-jp.git] / win / C# / Functions / Main.cs
index ff7de82..5d807ce 100644 (file)
@@ -64,14 +64,14 @@ namespace Handbrake.Functions
         {\r
             int i = 0, finish = 0;\r
 \r
-            if (chapterEnd != "Auto")\r
+            if (chapterEnd != "\8e©\93®")\r
                 int.TryParse(chapterEnd, out finish);\r
 \r
             while (i < finish)\r
             {\r
                 int n = dataChpt.Rows.Add();\r
                 dataChpt.Rows[n].Cells[0].Value = (i + 1);\r
-                dataChpt.Rows[n].Cells[1].Value = "Chapter " + (i + 1);\r
+                dataChpt.Rows[n].Cells[1].Value = "\83`\83\83\83v\83^\81[ " + (i + 1);\r
                 dataChpt.Rows[n].Cells[0].ValueType = typeof(int);\r
                 dataChpt.Rows[n].Cells[1].ValueType = typeof(string);\r
                 i++;\r
@@ -135,18 +135,18 @@ namespace Handbrake.Functions
         public static string autoName(frmMain mainWindow) //ComboBox drpDvdtitle, string chapter_start, string chatper_end, string source, string dest, int format, Boolean chapters)\r
         {\r
             string AutoNamePath = string.Empty;\r
-            if (mainWindow.drp_dvdtitle.Text != "Automatic")\r
+            if (mainWindow.drp_dvdtitle.Text != "\8e©\93®")\r
             {\r
                 // Get the Source Name \r
                 string sourceName = mainWindow.SourceName;\r
 \r
                 // Get the Selected Title Number\r
                 string[] titlesplit = mainWindow.drp_dvdtitle.Text.Split(' ');\r
-                string dvdTitle = titlesplit[0].Replace("Automatic", "");\r
+                string dvdTitle = titlesplit[0].Replace("\8e©\93®", "");\r
 \r
                 // Get the Chapter Start and Chapter End Numbers\r
-                string chapterStart = mainWindow.drop_chapterStart.Text.Replace("Auto", "");\r
-                string chapterFinish = mainWindow.drop_chapterFinish.Text.Replace("Auto", "");\r
+                string chapterStart = mainWindow.drop_chapterStart.Text.Replace("\8e©\93®", "");\r
+                string chapterFinish = mainWindow.drop_chapterFinish.Text.Replace("\8e©\93®", "");\r
                 string combinedChapterTag = chapterStart;\r
                 if (chapterFinish != chapterStart && chapterFinish != "")\r
                     combinedChapterTag = chapterStart + "-" + chapterFinish;\r
@@ -266,11 +266,7 @@ namespace Handbrake.Functions
             }\r
             catch (Exception e)\r
             {\r
-/*\r
-                if (debug == true)\r
-                    MessageBox.Show("\83A\83b\83v\83f\81[\83g\82Ì\8am\94F\82ª\82Å\82«\82Ü\82¹\82ñ\82Å\82µ\82½\81B\n" + exc.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
-*/\r
-                MessageBox.Show("Unable to retrieve version information from the CLI. \nError:\n" + e);\r
+                MessageBox.Show("CLI\82Ì\83o\81[\83W\83\87\83\93\82ð\8eæ\93¾\82Å\82«\82Ü\82¹\82ñ\82Å\82µ\82½\81B\nError:\n" + e);\r
             }\r
         }\r
 \r
@@ -547,7 +543,7 @@ namespace Handbrake.Functions
                                                               {"Inupiaq", "ipk"},\r
                                                               {"Italiano", "ita"},\r
                                                               {"Javanese", "jav"},\r
-                                                              {"Japanese", "jpn"},\r
+                                                              {"\93ú\96{\8cê", "jpn"},\r
                                                               {"Kalaallisut", "kal"},\r
                                                               {"Kannada", "kan"},\r
                                                               {"Kashmiri", "kas"},\r
@@ -647,7 +643,7 @@ namespace Handbrake.Functions
                                                               {"Uzbek", "uzb"},\r
                                                               {"Venda", "ven"},\r
                                                               {"Vietnamese", "vie"},\r
-                                                              {"Volapük", "vol"},\r
+                                                              {"Volap\81E", "vol"},\r
                                                               {"Welsh", "cym"},\r
                                                               {"Walloon", "wln"},\r
                                                               {"Wolof", "wol"},\r