[Ttssh2-commit] [3762] i18n対応

svnno****@sourc***** svnno****@sourc*****
2010年 2月 1日 (月) 21:35:20 JST


Revision: 3762
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3762
Author:   doda
Date:     2010-02-01 21:35:20 +0900 (Mon, 01 Feb 2010)

Log Message:
-----------
i18n対応

Modified Paths:
--------------
    trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c
    trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.vcproj
    trunk/installer/release/lang/English.lng
    trunk/installer/release/lang/German.lng
    trunk/installer/release/lang/Japanese.lng


-------------- next part --------------
Modified: trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c
===================================================================
--- trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c	2010-02-01 12:24:12 UTC (rev 3761)
+++ trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c	2010-02-01 12:35:20 UTC (rev 3762)
@@ -6,6 +6,7 @@
 #include "ttlib.h"
 #include "tt_res.h"
 #include "resource.h"
+#include "i18n.h"
 
 #include "compat_w95.h"
 
@@ -395,13 +396,18 @@
 	pvar->SetupMenu = GetSetupMenu(menu);
 	pvar->ControlMenu = GetControlMenu(menu);
 
-	InsertMenu(pvar->SetupMenu, ID_SETUP_ADDITIONALSETTINGS, flag, ID_MENU_SETUP, "Rec&urring command");
+	GetI18nStr(SECTION, "MENU_SETUP_RECURRING", pvar->ts->UIMsg, sizeof(pvar->ts->UIMsg),
+		"Rec&urring command", pvar->ts->UILanguageFile);
+	InsertMenu(pvar->SetupMenu, ID_SETUP_ADDITIONALSETTINGS, flag, ID_MENU_SETUP, pvar->ts->UIMsg);
 
 	if (pvar->enable) {
 		flag |= MF_CHECKED;
 	}
 
-	InsertMenu(pvar->ControlMenu, ID_CONTROL_MACRO, flag, ID_MENU_CONTROL, "Rec&urring command");
+
+	GetI18nStr(SECTION, "MENU_CONTROL_RECURRING", pvar->ts->UIMsg, sizeof(pvar->ts->UIMsg),
+		"Rec&urring command", pvar->ts->UILanguageFile);
+	InsertMenu(pvar->ControlMenu, ID_CONTROL_MACRO, flag, ID_MENU_CONTROL, pvar->ts->UIMsg);
 	InsertMenu(pvar->ControlMenu, ID_CONTROL_MACRO, MF_BYCOMMAND | MF_SEPARATOR, 0, NULL);
 }
 

Modified: trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.vcproj
===================================================================
--- trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.vcproj	2010-02-01 12:24:12 UTC (rev 3761)
+++ trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.vcproj	2010-02-01 12:35:20 UTC (rev 3762)
@@ -61,6 +61,7 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
+				AdditionalDependencies="..\..\teraterm\debug\ttpcmn.lib"
 				LinkIncremental="2"
 				GenerateDebugInformation="true"
 				SubSystem="2"
@@ -135,6 +136,7 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
+				AdditionalDependencies="..\..\teraterm\debug\ttpcmn.lib"
 				LinkIncremental="1"
 				GenerateDebugInformation="true"
 				SubSystem="2"

Modified: trunk/installer/release/lang/English.lng
===================================================================
--- trunk/installer/release/lang/English.lng	2010-02-01 12:24:12 UTC (rev 3761)
+++ trunk/installer/release/lang/English.lng	2010-02-01 12:35:20 UTC (rev 3762)
@@ -928,3 +928,8 @@
 
 [TTXAlwaysOnTop]
 MENU_ALWAYSONTOP=&Always on top
+
+
+[TTXRecurringCommand]
+MENU_SETUP_RECURRING=Rec&urring command
+MENU_CONTROL_RECURRING=Rec&urring command

Modified: trunk/installer/release/lang/German.lng
===================================================================
--- trunk/installer/release/lang/German.lng	2010-02-01 12:24:12 UTC (rev 3761)
+++ trunk/installer/release/lang/German.lng	2010-02-01 12:35:20 UTC (rev 3762)
@@ -924,3 +924,8 @@
 
 [TTXAlwaysOnTop]
 MENU_ALWAYSONTOP=&Always on top
+
+
+[TTXRecurringCommand]
+MENU_SETUP_RECURRING=Rec&urring command
+MENU_CONTROL_RECURRING=Rec&urring command

Modified: trunk/installer/release/lang/Japanese.lng
===================================================================
--- trunk/installer/release/lang/Japanese.lng	2010-02-01 12:24:12 UTC (rev 3761)
+++ trunk/installer/release/lang/Japanese.lng	2010-02-01 12:35:20 UTC (rev 3762)
@@ -928,3 +928,8 @@
 
 [TTXAlwaysOnTop]
 MENU_ALWAYSONTOP=í‚ɍőO–Ê‚É•\Ž¦(&A)
+
+
+[TTXRecurringCommand]
+MENU_SETUP_RECURRING=ŒJ‚è•Ô‚µƒRƒ}ƒ“ƒh(&U)
+MENU_CONTROL_RECURRING=ŒJ‚è•Ô‚µƒRƒ}ƒ“ƒh(&U)



Ttssh2-commit メーリングリストの案内