[Ttssh2-commit] [6857] ListHiddenFonts を Additional Setting Dialog で変更可能にした。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2017年 7月 12日 (水) 18:25:51 JST


Revision: 6857
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6857
Author:   doda
Date:     2017-07-12 18:25:51 +0900 (Wed, 12 Jul 2017)
Log Message:
-----------
ListHiddenFonts を Additional Setting Dialog で変更可能にした。

説明が判りづらい気がする……変更案募集中

ja: 非表示のフォントをフォントダイアログの一覧に含める(&H)
en: List &hidden fonts in font dialog

Modified Paths:
--------------
    trunk/installer/release/lang/English.lng
    trunk/installer/release/lang/French.lng
    trunk/installer/release/lang/German.lng
    trunk/installer/release/lang/Japanese.lng
    trunk/installer/release/lang/Korean.lng
    trunk/installer/release/lang/Russian.lng
    trunk/installer/release/lang/Simplified Chinese.lng
    trunk/installer/release/lang/Traditional Chinese.lng
    trunk/teraterm/common/tt_res.h
    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	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/installer/release/lang/English.lng	2017-07-12 09:25:51 UTC (rev 6857)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-06-06)
+; Updated by TeraTerm Project (2017-07-11)
 
 [Tera Term]
 DLG_SYSTEM_FONT=System,14,0
@@ -183,6 +183,7 @@
 DLG_TAB_GENERAL_AUTOSCROLL_ONLY_IN_BOTTOM_LINE=A&uto scroll only in bottom line
 DLG_TAB_GENERAL_CLEAR_ON_RESIZE=&Clear display when window resized
 DLG_TAB_GENERAL_CURSOR_CHANGE_IME=Change cursor shape with &IME state
+DLG_TAB_GENERAL_LIST_HIDDEN_FONTS=List &hidden fonts in font dialog
 
 DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=Accept &mouse event tracking request
 DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=&Disable mouse event tracking when Control is pressed

Modified: trunk/installer/release/lang/French.lng
===================================================================
--- trunk/installer/release/lang/French.lng	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/installer/release/lang/French.lng	2017-07-12 09:25:51 UTC (rev 6857)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-07)
+; Updated by TeraTerm Project (2017-07-11)
 ; Last translated (French language) by Francois MOCQ (2010-07-21)
 
 [Tera Term]
@@ -184,6 +184,7 @@
 DLG_TAB_GENERAL_AUTOSCROLL_ONLY_IN_BOTTOM_LINE=D\xE9filement auto seulement sur la derni\xE8re ligne
 DLG_TAB_GENERAL_CLEAR_ON_RESIZE=Effacer l'\xE9cran quand la fen\xEAtre est redimensionn\xE9e
 DLG_TAB_GENERAL_CURSOR_CHANGE_IME=Change cursor shape with &IME state
+DLG_TAB_GENERAL_LIST_HIDDEN_FONTS=List &hidden fonts in font dialog
 
 DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=Accepter les \xE9v\xE9nement souris
 DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=Accepter les \xE9v\xE9nement souris quand CTRL est appuy\xE9

Modified: trunk/installer/release/lang/German.lng
===================================================================
--- trunk/installer/release/lang/German.lng	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/installer/release/lang/German.lng	2017-07-12 09:25:51 UTC (rev 6857)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-07)
+; Updated by TeraTerm Project (2017-07-11)
 ; Last translated (German language) by Frederik Schwarzer (2010-05-17)
 
 [Tera Term]
@@ -184,6 +184,7 @@
 DLG_TAB_GENERAL_AUTOSCROLL_ONLY_IN_BOTTOM_LINE=&Automatischer Bildlauf nur in unterster Zeile
 DLG_TAB_GENERAL_CLEAR_ON_RESIZE=&Clear display when window resized
 DLG_TAB_GENERAL_CURSOR_CHANGE_IME=Change cursor shape with &IME state
+DLG_TAB_GENERAL_LIST_HIDDEN_FONTS=List &hidden fonts in font dialog
 
 DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=Accept &mouse event tracking request
 DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=&Disable mouse event tracking when Control is pressed

Modified: trunk/installer/release/lang/Japanese.lng
===================================================================
--- trunk/installer/release/lang/Japanese.lng	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/installer/release/lang/Japanese.lng	2017-07-12 09:25:51 UTC (rev 6857)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-07)
+; Updated by TeraTerm Project (2017-07-11)
 
 [Tera Term]
 DLG_SYSTEM_FONT=\x82l\x82r \x82o\x83S\x83V\x83b\x83N,12,128
@@ -183,6 +183,7 @@
 DLG_TAB_GENERAL_AUTOSCROLL_ONLY_IN_BOTTOM_LINE=\x8Dʼn\xBA\x8Ds\x82ł\xBE\x82\xAF\x8E\xA9\x93\xAE\x83X\x83N\x83\x8D\x81[\x83\x8B\x82\xB7\x82\xE9(&U)
 DLG_TAB_GENERAL_CLEAR_ON_RESIZE=\x83E\x83B\x83\x93\x83h\x83E\x83T\x83C\x83Y\x95ύX\x8E\x9E\x82ɕ\\x8E\xA6\x93\xE0\x97e\x82\xF0\x83N\x83\x8A\x83A\x82\xB7\x82\xE9(&C)
 DLG_TAB_GENERAL_CURSOR_CHANGE_IME=&IME\x82̏\xF3\x91Ԃɂ\xE6\x82\xC1\x82ăJ\x81[\x83\\x83\x8B\x8C`\x8F\xF3\x82\xF0\x95ύX\x82\xB7\x82\xE9
+DLG_TAB_GENERAL_LIST_HIDDEN_FONTS=\x94\xF1\x95\\x8E\xA6\x82̃t\x83H\x83\x93\x83g\x82\xF0\x83t\x83H\x83\x93\x83g\x83_\x83C\x83A\x83\x8D\x83O\x82̈ꗗ\x82Ɋ܂߂\xE9(&H)
 
 DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=\x83}\x83E\x83X\x83C\x83x\x83\x93\x83g\x92ʒm\x97v\x8B\x81\x82\xF0\x8E󂯓\xFC\x82\xEA\x82\xE9(&M)
 DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=Control\x83L\x81[\x82\xF0\x89\x9F\x82\xB5\x82Ă\xA2\x82\xE9\x8AԂ̓}\x83E\x83X\x83C\x83x\x83\x93\x83g\x82\xF0\x92ʒm\x82\xB5\x82Ȃ\xA2(&D)

Modified: trunk/installer/release/lang/Korean.lng
===================================================================
--- trunk/installer/release/lang/Korean.lng	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/installer/release/lang/Korean.lng	2017-07-12 09:25:51 UTC (rev 6857)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-07)
+; Updated by TeraTerm Project (2017-07-11)
 ; Last translated (Korean language) by Daehong Kim (2013-07-25)
 
 [Tera Term]
@@ -184,6 +184,7 @@
 DLG_TAB_GENERAL_AUTOSCROLL_ONLY_IN_BOTTOM_LINE=\xB8\xC7 \xB9\xD8\xC1ٿ\xA1\xBC\xAD \xC0ڵ\xBF \xBD\xBAũ\xB7\xD1(&U)
 DLG_TAB_GENERAL_CLEAR_ON_RESIZE=â ũ\xB1Ⱑ \xC0缳\xC1\xA4\xB5\xC9 \xB6\xA7 ȭ\xB8\xE9 \xBA\xF1\xBF\xEC\xB1\xE2(&C)
 DLG_TAB_GENERAL_CURSOR_CHANGE_IME=IME\xBB\xF3\xC5¿\xA1 \xB5\xFB\xB6\xF3 Ŀ\xBC\xAD \xB8\xF0\xBE\xE7 \xBA\xAF\xB0\xE6(&I)
+DLG_TAB_GENERAL_LIST_HIDDEN_FONTS=List &hidden fonts in font dialog
 
 DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=\xB8\xB6\xBF콺 \xC0̺\xA5Ʈ \xC3\xDFô \xBF\xE4û\xC0\xBB \xB9޽\xC0\xB4ϴ\xD9(&M)
 DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=\xC4\xC1Ʈ\xB7\xD1\xC0\xCC \xB4\xAD\xB7\xC8\xC0\xBB \xB6\xA7 \xB8\xB6\xBF콺 \xC0̺\xA5Ʈ \xC3\xDF\xC0\xFB \xBA\xF1Ȱ\xBC\xBAȭ(&D)

Modified: trunk/installer/release/lang/Russian.lng
===================================================================
--- trunk/installer/release/lang/Russian.lng	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/installer/release/lang/Russian.lng	2017-07-12 09:25:51 UTC (rev 6857)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-07)
+; Updated by TeraTerm Project (2017-07-11)
 ; Last translated (Russian language) by Ryumik Sergey (2015-03-14)
 
 [Tera Term]
@@ -184,6 +184,7 @@
 DLG_TAB_GENERAL_AUTOSCROLL_ONLY_IN_BOTTOM_LINE=&\xC0\xE2\xF2\xEE\xEF\xE5\xF0\xE5\xE2\xEE\xE4 \xF1\xF2\xF0\xEE\xEA\xE8 \xF2\xEE\xEB\xFC\xEA\xEE \xED\xE0 \xED\xE8\xE6\xED\xFE\xFE \xEB\xE8\xED\xE8\xFE
 DLG_TAB_GENERAL_CLEAR_ON_RESIZE=&\xCE\xF7\xE8\xF1\xF2\xE8\xF2\xFC \xFD\xEA\xF0\xE0\xED \xEF\xF0\xE8 \xE8\xE7\xEC\xE5\xED\xE5\xED\xE8\xE8 \xF0\xE0\xE7\xEC\xE5\xF0\xE0 \xEE\xEA\xED\xE0
 DLG_TAB_GENERAL_CURSOR_CHANGE_IME=&\xC8\xE7\xEC\xE5\xED\xE8\xF2\xFC \xE2\xE8\xE4 \xEA\xF3\xF0\xF1\xEE\xF0\xE0 \xE2 \xF1\xEE\xEE\xF2\xE2\xE5\xF2\xF1\xF2\xE2\xE8\xE8 \xF1 \xF0\xE5\xE6\xE8\xEC\xEE\xEC IME
+DLG_TAB_GENERAL_LIST_HIDDEN_FONTS=List &hidden fonts in font dialog
 
 DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=\xCF\xF0\xE8\xED\xFF\xF2\xFC \xE7\xE0\xEF\xF0\xEE\xF1 \xED\xE0 \xEE\xF2\xF1\xEB\xE5\xE6\xE8\xE2\xE0\xED\xE8\xE5 \xF1\xEE\xE1\xFB\xF2\xE8\xE9 \xEC\xFB\xF8\xE8
 DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=&\xCE\xF2\xEA\xEB\xFE\xF7\xE8\xF2\xFC \xEE\xF2\xF1\xEB\xE5\xE6\xE8\xE2\xE0\xED\xE8\xE5 \xF1\xEE\xE1\xFB\xF2\xE8\xE9 \xEC\xFB\xF8\xE8

Modified: trunk/installer/release/lang/Simplified Chinese.lng
===================================================================
--- trunk/installer/release/lang/Simplified Chinese.lng	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/installer/release/lang/Simplified Chinese.lng	2017-07-12 09:25:51 UTC (rev 6857)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-07)
+; Updated by TeraTerm Project (2017-07-11)
 ; Last translated (Simplified Chinese language) by LiShaohui (2017-04-11)
 
 [Tera Term]
@@ -184,6 +184,7 @@
 DLG_TAB_GENERAL_AUTOSCROLL_ONLY_IN_BOTTOM_LINE=\xB5ײ\xBF\xB9\xF6\xB6\xAF\xCC\xF5\xD7\xD4\xCA\xCAӦ\xB3\xA4\xB6\xC8(&U)
 DLG_TAB_GENERAL_CLEAR_ON_RESIZE=\xB8ı䴰\xBFڴ\xF3Сʱ\xC7\xE5\xBF\xD5\xC6\xC1Ļ(&C)
 DLG_TAB_GENERAL_CURSOR_CHANGE_IME=\xB8\xF9\xBE\xDD\xCA\xE4\xC8뷨״̬\xB8ı\xE4\xB9\xE2\xB1\xEA\xD0\xCE״(&I)
+DLG_TAB_GENERAL_LIST_HIDDEN_FONTS=List &hidden fonts in font dialog
 
 DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=\xBD\xD3\xCA\xDC\xCA\xF3\xB1\xEA\xCA¼\xFE\xB8\xFA\xD7\xD9\xC7\xEB\xC7\xF3(&M)
 DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=\xB0\xB4\xCF\xC2 Ctrl \xBC\xFCʱ\xA3\xAC\xBD\xFB\xD3\xC3\xCA\xF3\xB1\xEA\xCA¼\xFE\xB8\xFA\xD7\xD9(&D)

Modified: trunk/installer/release/lang/Traditional Chinese.lng
===================================================================
--- trunk/installer/release/lang/Traditional Chinese.lng	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/installer/release/lang/Traditional Chinese.lng	2017-07-12 09:25:51 UTC (rev 6857)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-07)
+; Updated by TeraTerm Project (2017-07-11)
 ; Last translated (Traditional Chinese language) by kikiqqp (2014-09-20)
 
 [Tera Term]
@@ -184,6 +184,7 @@
 DLG_TAB_GENERAL_AUTOSCROLL_ONLY_IN_BOTTOM_LINE=\xA9\xB3\xB3\xA1\xB1\xB2\xB6b\xA6۰ʽվ\xE3\xAA\xF8\xAB\xD7(&U)
 DLG_TAB_GENERAL_CLEAR_ON_RESIZE=\xA7\xEF\xC5ܵ\xF8\xB5\xA1\xA4j\xA4p\xAEɲM\xAAſù\xF5(&C)
 DLG_TAB_GENERAL_CURSOR_CHANGE_IME=\xAEھڿ\xE9\xA4J\xAAk\xAA\xAC\xBAA\xA7\xEF\xC5ܴ\xE5\xBCЧΪ\xAC(&I)
+DLG_TAB_GENERAL_LIST_HIDDEN_FONTS=List &hidden fonts in font dialog
 
 DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=\xB1\xB5\xA8\xFC\xB7ƹ\xAB\xA8ƥ\xF3\xB8\xF2\xC2ܽШD(&M)
 DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=\xAB\xF6\xA4U Ctrl \xC1\xE4\xAEɡA\xB8T\xA5ηƹ\xAB\xA8ƥ\xF3\xB8\xF2\xC2\xDC(&D)

Modified: trunk/teraterm/common/tt_res.h
===================================================================
--- trunk/teraterm/common/tt_res.h	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/teraterm/common/tt_res.h	2017-07-12 09:25:51 UTC (rev 6857)
@@ -216,6 +216,7 @@
 #define IDC_TRIMNLCHAR                  2564
 #define IDC_NORMALIZE_LINEBREAK         2565
 #define IDC_CLIPBOARD_NOTIFY            2566
+#define IDC_LIST_HIDDEN_FONTS           2567
 
 #define ID_ACC_SENDBREAK                50001
 #define ID_ACC_COPY                     50002
@@ -314,7 +315,7 @@
 #define _APS_NO_MFC                     1
 #define _APS_NEXT_RESOURCE_VALUE        126
 #define _APS_NEXT_COMMAND_VALUE         52031
-#define _APS_NEXT_CONTROL_VALUE         2567
+#define _APS_NEXT_CONTROL_VALUE         2568
 #define _APS_NEXT_SYMED_VALUE           101
 #endif
 #endif

Modified: trunk/teraterm/teraterm/addsetting.cpp
===================================================================
--- trunk/teraterm/teraterm/addsetting.cpp	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/teraterm/teraterm/addsetting.cpp	2017-07-12 09:25:51 UTC (rev 6857)
@@ -119,6 +119,7 @@
 		SendDlgItemMessage(IDC_AUTOSCROLL_ONLY_IN_BOTTOM_LINE, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
 		SendDlgItemMessage(IDC_CLEAR_ON_RESIZE, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
 		SendDlgItemMessage(IDC_CURSOR_CHANGE_IME, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+		SendDlgItemMessage(IDC_LIST_HIDDEN_FONTS, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
 	}
 	else {
 		DlgGeneralFont = NULL;
@@ -145,6 +146,9 @@
 	GetDlgItemText(IDC_CURSOR_CHANGE_IME, uimsg, sizeof(uimsg));
 	get_lang_msg("DLG_TAB_GENERAL_CURSOR_CHANGE_IME", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
 	SetDlgItemText(IDC_CURSOR_CHANGE_IME, ts.UIMsg);
+	GetDlgItemText(IDC_LIST_HIDDEN_FONTS, uimsg, sizeof(uimsg));
+	get_lang_msg("DLG_TAB_GENERAL_LIST_HIDDEN_FONTS", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+	SetDlgItemText(IDC_LIST_HIDDEN_FONTS, ts.UIMsg);
 
 	// (1)DisableAcceleratorSendBreak
 	btn = (CButton *)GetDlgItem(IDC_DISABLE_SENDBREAK);
@@ -174,6 +178,10 @@
 	btn = (CButton *)GetDlgItem(IDC_CURSOR_CHANGE_IME);
 	btn->SetCheck((ts.WindowFlag & WF_IMECURSORCHANGE) != 0);
 
+	// (8)IDC_LIST_HIDDEN_FONTS
+	btn = (CButton *)GetDlgItem(IDC_LIST_HIDDEN_FONTS);
+	btn->SetCheck(ts.ListHiddenFonts);
+
 	// \x83_\x83C\x83A\x83\x8D\x83O\x82Ƀt\x83H\x81[\x83J\x83X\x82𓖂Ă\xE9 (2004.12.7 yutaka)
 	::SetFocus(::GetDlgItem(GetSafeHwnd(), IDC_CLICKABLE_URL));
 
@@ -219,6 +227,10 @@
 	if (((ts.WindowFlag & WF_IMECURSORCHANGE) != 0) != btn->GetCheck()) {
 		ts.WindowFlag ^= WF_IMECURSORCHANGE;
 	}
+
+	// (8)IDC_LIST_HIDDEN_FONTS
+	btn = (CButton *)GetDlgItem(IDC_LIST_HIDDEN_FONTS);
+	ts.ListHiddenFonts = btn->GetCheck();
 }
 
 

Modified: trunk/teraterm/teraterm/ttermpro.rc
===================================================================
--- trunk/teraterm/teraterm/ttermpro.rc	2017-07-12 09:25:47 UTC (rev 6856)
+++ trunk/teraterm/teraterm/ttermpro.rc	2017-07-12 09:25:51 UTC (rev 6857)
@@ -64,6 +64,8 @@
                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,85,220,10
     CONTROL         "Change cursor shape with &IME state",IDC_CURSOR_CHANGE_IME,
                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,100,220,10
+    CONTROL         "List &hidden fonts in font dialog",IDC_LIST_HIDDEN_FONTS,
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,115,220,10
 END
 
 IDD_TABSHEET_SEQUENCE DIALOGEX 0, 0, 258, 188



Ttssh2-commit メーリングリストの案内
Back to archive index