[Ttssh2-commit] [5172] ログ・ローテート設定の I18N 化。

svnno****@sourc***** svnno****@sourc*****
2013年 3月 24日 (日) 20:13:15 JST


Revision: 5172
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5172
Author:   yutakapon
Date:     2013-03-24 20:13:14 +0900 (Sun, 24 Mar 2013)
Log Message:
-----------
ログ・ローテート設定の I18N 化。
ただし、英語と日本語のみ。

Modified Paths:
--------------
    trunk/installer/release/lang/English.lng
    trunk/installer/release/lang/Japanese.lng
    trunk/teraterm/teraterm/addsetting.cpp
    trunk/teraterm/teraterm/ttermpro.rc

-------------- next part --------------
Modified: trunk/installer/release/lang/English.lng
===================================================================
--- trunk/installer/release/lang/English.lng	2013-03-24 10:55:37 UTC (rev 5171)
+++ trunk/installer/release/lang/English.lng	2013-03-24 11:13:14 UTC (rev 5172)
@@ -223,7 +223,11 @@
 DLG_TAB_LOG_FILENAME=Default log &file name(strftime format)
 DLG_TAB_LOG_FILEPATH=Default log &save folder
 DLG_TAB_LOG_AUTOSTART=A&uto start logging
+DLG_TAB_LOG_ROTATE=&Log Rotate
+DLG_TAB_LOG_ROTATE_SIZE_TEXT=S&ize
+IDC_ROTATE_STEP_TEXT=&Rotate
 
+
 DLG_TAB_CYGWIN_PATH=Cygwin install &path
 
 DLG_COMMENT_TITLE=Comment to Log

Modified: trunk/installer/release/lang/Japanese.lng
===================================================================
--- trunk/installer/release/lang/Japanese.lng	2013-03-24 10:55:37 UTC (rev 5171)
+++ trunk/installer/release/lang/Japanese.lng	2013-03-24 11:13:14 UTC (rev 5172)
@@ -223,6 +223,9 @@
 DLG_TAB_LOG_FILENAME=\x95W\x8F\x80\x83\x8D\x83O\x83t\x83@\x83C\x83\x8B\x96\xBC(strftime\x83t\x83H\x81[\x83}\x83b\x83g\x89\xC2) (&F)
 DLG_TAB_LOG_FILEPATH=\x95W\x8F\x80\x82̃\x8D\x83O\x95ۑ\xB6\x90\xE6\x83t\x83H\x83\x8B\x83_(&S)
 DLG_TAB_LOG_AUTOSTART=\x8E\xA9\x93\xAE\x93I\x82Ƀ\x8D\x83O\x8D̎\xE6\x82\xF0\x8AJ\x8En\x82\xB7\x82\xE9(&U)
+DLG_TAB_LOG_ROTATE=\x83\x8D\x83O\x82̃\x8D\x81[\x83e\x81[\x83g(&L)
+DLG_TAB_LOG_ROTATE_SIZE_TEXT=\x83T\x83C\x83Y(&i)
+IDC_ROTATE_STEP_TEXT=\x90\xA2\x91\xE3(&R)
 
 DLG_TAB_CYGWIN_PATH=Cygwin\x83C\x83\x93\x83X\x83g\x81[\x83\x8B\x90\xE6\x82̃p\x83X(&P)
 

Modified: trunk/teraterm/teraterm/addsetting.cpp
===================================================================
--- trunk/teraterm/teraterm/addsetting.cpp	2013-03-24 10:55:37 UTC (rev 5171)
+++ trunk/teraterm/teraterm/addsetting.cpp	2013-03-24 11:13:14 UTC (rev 5172)
@@ -1268,15 +1268,16 @@
 	GetDlgItemText(IDC_AUTOSTART, uimsg, sizeof(uimsg));
 	get_lang_msg("DLG_TAB_LOG_AUTOSTART", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
 	SetDlgItemText(IDC_AUTOSTART, ts.UIMsg);
-	// TODO: Log rotate
-#if 0
+	// Log rotate
+	GetDlgItemText(IDC_LOG_ROTATE, uimsg, sizeof(uimsg));
 	get_lang_msg("DLG_TAB_LOG_ROTATE", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
 	SetDlgItemText(IDC_LOG_ROTATE, ts.UIMsg);
+	GetDlgItemText(IDC_ROTATE_SIZE_TEXT, uimsg, sizeof(uimsg));
 	get_lang_msg("DLG_TAB_LOG_ROTATE_SIZE_TEXT", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
 	SetDlgItemText(IDC_ROTATE_SIZE_TEXT, ts.UIMsg);
+	GetDlgItemText(IDC_ROTATE_STEP_TEXT, uimsg, sizeof(uimsg));
 	get_lang_msg("IDC_ROTATE_STEP_TEXT", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
 	SetDlgItemText(IDC_ROTATE_STEP_TEXT, ts.UIMsg);
-#endif
 
 
 	// Viewlog Editor path (2005.1.29 yutaka)

Modified: trunk/teraterm/teraterm/ttermpro.rc
===================================================================
--- trunk/teraterm/teraterm/ttermpro.rc	2013-03-24 10:55:37 UTC (rev 5171)
+++ trunk/teraterm/teraterm/ttermpro.rc	2013-03-24 11:13:14 UTC (rev 5172)
@@ -157,12 +157,12 @@
     EDITTEXT        IDC_DEFAULTPATH_EDITOR,11,83,120,12,ES_AUTOHSCROLL
     PUSHBUTTON      "...",IDC_DEFAULTPATH_PUSH,135,84,13,10
     CONTROL         "A&uto start logging",IDC_AUTOSTART,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,102,124,10
-    CONTROL         "Log Rotate",IDC_LOG_ROTATE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,26,120,51,10
+    CONTROL         "Log Rotate",IDC_LOG_ROTATE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,26,120,127,10
     EDITTEXT        IDC_ROTATE_SIZE,61,134,46,14,ES_AUTOHSCROLL
     COMBOBOX        IDC_ROTATE_SIZE_TYPE,112,135,31,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
     EDITTEXT        IDC_ROTATE_STEP,195,134,30,14,ES_AUTOHSCROLL
-    LTEXT           "Rotate",IDC_ROTATE_STEP_TEXT,166,137,23,8
-    LTEXT           "Size",IDC_ROTATE_SIZE_TEXT,41,137,14,8
+    LTEXT           "Rotate",IDC_ROTATE_STEP_TEXT,165,138,27,8
+    LTEXT           "Size",IDC_ROTATE_SIZE_TEXT,27,137,28,8
     GROUPBOX        "",IDC_ROTATE_GROUP,19,112,214,39
 END
 



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