[Ttssh2-commit] [7131] UI から TitleFormat を変更可能にした。 #35766

scmno****@osdn***** scmno****@osdn*****
2018年 6月 14日 (木) 17:43:42 JST


Revision: 7131
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7131
Author:   doda
Date:     2018-06-14 17:43:41 +0900 (Thu, 14 Jun 2018)
Log Message:
-----------
UI から TitleFormat を変更可能にした。 #35766

アクセスキーの選び方が微妙。改善案募集中。

Ticket Links:
------------
    http://sourceforge.jp/projects/ttssh2/tracker/detail/35766

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/en/html/menu/setup-additional.html
    trunk/doc/ja/html/about/history.html
    trunk/doc/ja/html/menu/setup-additional.html
    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/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/doc/en/html/about/history.html	2018-06-14 08:43:41 UTC (rev 7131)
@@ -33,6 +33,12 @@
 
 <h3><a name="teraterm_4.100">2018.08.xx (Ver 4.100)</a></h3>
 <ul class="history">
+  <li>Changes
+    <ul>
+      <li>added the <a href="../setup/teraterm-win.html#title">Title format configuration</a> on the General tab of the <a href="../menu/setup-additional.html#TitleFormat">Additional settings dialog</a>.</li>
+    </ul>
+  </li>
+
   <li>Misc
     <ul>
       <li>upgraded TTSSH to <a href="#ttssh_2.86">2.86</a>.</li>

Modified: trunk/doc/en/html/menu/setup-additional.html
===================================================================
--- trunk/doc/en/html/menu/setup-additional.html	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/doc/en/html/menu/setup-additional.html	2018-06-14 08:43:41 UTC (rev 7131)
@@ -56,6 +56,28 @@
 	When this setting is enabled, whole fonts can be selected on the <a href="setup-font.html">Font setting dialog</a>.
       </dd>
 
+      <dt id="TitleFormat">Title format</dt>
+      <dd>Configures the window title format.
+        <dl>
+          <dt>Display host/port name</dt>
+          <dd>Displays hostname or serial port name</dd>
+
+          <dt>Display session number</dt>
+          <dd>Displays session number</dt>
+
+          <dt>Display VT/TEK</dt>
+          <dd>Displays VT or TEK</dt>
+
+          <dt>Swap hostname and title position</dt>
+          <dd>Swaps the hostname and <a href="setup-window.html#Title">title text</a>, displays hostname first.</dd>
+
+          <dt>Display tcp port number</dt>
+          <dd>Displays tcp port number (TCP/IP connection only)</dd>
+
+          <dt>Display serial port speed</dt>
+          <dd>Displays speed of serial port (serial connection only)</dd>
+        </dl>
+      </dd>
     </dl>
 
 

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/doc/ja/html/about/history.html	2018-06-14 08:43:41 UTC (rev 7131)
@@ -31,8 +31,14 @@
 
 <h2><a name="teraterm">Tera Term</a></h2>
 
-<h3><a name="teraterm_4.99">2018.05.31 (Ver 4.99)</a></h3>
+<h3><a name="teraterm_4.100">2018.08.xx (Ver 4.100)</a></h3>
 <ul class="history">
+  <li>\x95ύX
+    <ul>
+      <li><a href="../menu/setup-additional.html#TitleFormat">Additional settings\x83_\x83C\x83A\x83\x8D\x83O</a>\x82\xCC General \x83^\x83u\x82\xC9<a href="../setup/teraterm-win.html#title">\x83^\x83C\x83g\x83\x8B\x8C`\x8E\xAE\x82̐ݒ\xE8</a>\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li>
+    </ul>
+  </li>
+
   <li>\x82\xBB\x82̑\xBC
     <ul>
       <li><a href="#ttssh_2.86">TTSSH(2.86)</a>\x82֍\xB7\x82\xB5\x91ւ\xA6\x82\xBD\x81B</li>

Modified: trunk/doc/ja/html/menu/setup-additional.html
===================================================================
--- trunk/doc/ja/html/menu/setup-additional.html	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/doc/ja/html/menu/setup-additional.html	2018-06-14 08:43:41 UTC (rev 7131)
@@ -55,6 +55,28 @@
 	Windows 7\x88ȍ~\x82ɂ͊e\x83t\x83H\x83\x93\x83g\x82\xF0\x83t\x83H\x83\x93\x83g\x88ꗗ\x82ɕ\\x8E\xA6\x82\xB7\x82邩\x94\xF1\x95\\x8E\xA6\x82ɂ\xB7\x82邩\x82\xF0\x90ݒ肷\x82\xE9\x8B@\x94\\x82\xAA\x92lj\xC1\x82\xB3\x82\xEA\x82܂\xB5\x82\xBD\x81BTera Term \x82̂\xB1\x82̐ݒ\xE8\x82\xF0\x97L\x8C\xF8\x82ɂ\xB7\x82\xE9\x82ƁAOS\x91\xA4\x82Ŕ\xF1\x95\\x8E\xA6\x82ɐݒ肳\x82ꂽ\x83t\x83H\x83\x93\x83g\x82\xE0<a href="setup-font.html">\x83t\x83H\x83\x93\x83g\x90ݒ\xE8\x83_\x83C\x83A\x83\x8D\x83O</a>\x82őI\x91\xF0\x82ł\xAB\x82\xE9\x82悤\x82ɂȂ\xE8\x82܂\xB7\x81B
       </dd>
 
+      <dt id="TitleFormat">Title format</dt>
+      <dd>\x83E\x83B\x83\x93\x83h\x83E\x83^\x83C\x83g\x83\x8B\x82̌`\x8E\xAE\x82\xF0\x90ݒ肵\x82܂\xB7\x81B
+        <dl>
+          <dt>Display host/port name</dt>
+          <dd>\x83z\x83X\x83g\x96\xBC\x82܂\xBD\x82̓V\x83\x8A\x83A\x83\x8B\x83|\x81[\x83g\x96\xBC\x82\xF0\x95\\x8E\xA6\x82\xB5\x82܂\xB7</dd>
+
+          <dt>Display session number</dt>
+          <dd>\x83Z\x83b\x83V\x83\x87\x83\x93\x94ԍ\x86\x82\xF0\x95\\x8E\xA6\x82\xB5\x82܂\xB7</dd>
+
+          <dt>Display VT/TEK</dt>
+          <dd>VT\x82܂\xBD\x82\xCDTEK\x82\xF0\x95\\x8E\xA6\x82\xB5\x82܂\xB7</dd>
+
+          <dt>Swap hostname and title position</dt>
+          <dd>\x83z\x83X\x83g\x96\xBC\x82\xC6<a href="setup-window.html#Title">\x83^\x83C\x83g\x83\x8B\x83e\x83L\x83X\x83g</a>\x82̈ʒu\x82\xF0\x93\xFC\x82ꊷ\x82\xA6\x81A\x83z\x83X\x83g\x96\xBC\x82\xF0\x90\xE6\x82ɕ\\x8E\xA6\x82\xB5\x82܂\xB7</dd>
+
+          <dt>Display tcp port number</dt>
+          <dd>TCP \x83|\x81[\x83g\x94ԍ\x86\x82\xF0\x95\\x8E\xA6\x82\xB5\x82܂\xB7 (TCP/IP \x90ڑ\xB1\x8E\x9E\x82̂\xDD)</dd>
+
+          <dt>Display serial port speed</dt>
+          <dd>\x83V\x83\x8A\x83A\x83\x8B\x83|\x81[\x83g\x82̃X\x83s\x81[\x83h\x82\xF0\x95\\x8E\xA6\x82\xB5\x82܂\xB7 (\x83V\x83\x8A\x83A\x83\x8B\x90ڑ\xB1\x8E\x9E\x82̂\xDD)</dd>
+        </dl>
+      </dd>
     </dl>
 
 

Modified: trunk/installer/release/lang/English.lng
===================================================================
--- trunk/installer/release/lang/English.lng	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/installer/release/lang/English.lng	2018-06-14 08:43:41 UTC (rev 7131)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
 
 [Tera Term]
 DLG_SYSTEM_FONT=System,14,0
@@ -184,6 +184,13 @@
 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_GENERAL_TITLEFMT_GROUP=Title format
+DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME=&Display host/port name
+DLG_TAB_GENERAL_TITLEFMT_DISPSESSION=Display session &number
+DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK=Display &VT/TEK
+DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE=Swap hostname and &title position
+DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT=Display tcp &port number
+DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED=Display se&rial port speed
 
 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	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/installer/release/lang/French.lng	2018-06-14 08:43:41 UTC (rev 7131)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
 ; Last translated (French language) by Francois MOCQ (2010-07-21)
 
 [Tera Term]
@@ -185,6 +185,13 @@
 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_GENERAL_TITLEFMT_GROUP=Title format
+DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME=&Display host/port name
+DLG_TAB_GENERAL_TITLEFMT_DISPSESSION=Display session &number
+DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK=Display &VT/TEK
+DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE=Swap hostname and &title position
+DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT=Display tcp &port number
+DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED=Display se&rial port speed
 
 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	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/installer/release/lang/German.lng	2018-06-14 08:43:41 UTC (rev 7131)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
 ; Last translated (German language) by Frederik Schwarzer (2010-05-17)
 
 [Tera Term]
@@ -185,6 +185,13 @@
 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_GENERAL_TITLEFMT_GROUP=Title format
+DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME=&Display host/port name
+DLG_TAB_GENERAL_TITLEFMT_DISPSESSION=Display session &number
+DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK=Display &VT/TEK
+DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE=Swap hostname and &title position
+DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT=Display tcp &port number
+DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED=Display se&rial port speed
 
 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	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/installer/release/lang/Japanese.lng	2018-06-14 08:43:41 UTC (rev 7131)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
 
 [Tera Term]
 DLG_SYSTEM_FONT=\x82l\x82r \x82o\x83S\x83V\x83b\x83N,12,128
@@ -184,6 +184,13 @@
 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=OS\x82Ŕ\xF1\x95\\x8E\xA6\x82̃t\x83H\x83\x93\x83g\x82\xE0\x83t\x83H\x83\x93\x83g\x83_\x83C\x83A\x83\x8D\x83O\x82̈ꗗ\x82ɕ\\x8E\xA6\x82\xB7\x82\xE9(&H)
+DLG_TAB_GENERAL_TITLEFMT_GROUP=\x83^\x83C\x83g\x83\x8B\x8C`\x8E\xAE
+DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME=\x83z\x83X\x83g/\x83|\x81[\x83g\x96\xBC\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9(&D)
+DLG_TAB_GENERAL_TITLEFMT_DISPSESSION=\x83Z\x83b\x83V\x83\x87\x83\x93\x94ԍ\x86\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9(&N)
+DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK=&VT/TEK \x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9
+DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE=\x83^\x83C\x83g\x83\x8B\x82ƃz\x83X\x83g\x96\xBC\x82̏ꏊ\x82\xF0\x93\xFC\x82ꊷ\x82\xA6\x82\xE9(&T)
+DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT=TCP \x83|\x81[\x83g\x94ԍ\x86\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9(&P)
+DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED=\x83V\x83\x8A\x83A\x83\x8B\x83|\x81[\x83g\x82̃X\x83s\x81[\x83h\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9(&R)
 
 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	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/installer/release/lang/Korean.lng	2018-06-14 08:43:41 UTC (rev 7131)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
 ; Last translated (Korean language) by Daehong Kim (2013-07-25)
 
 [Tera Term]
@@ -185,6 +185,13 @@
 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_GENERAL_TITLEFMT_GROUP=Title format
+DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME=&Display host/port name
+DLG_TAB_GENERAL_TITLEFMT_DISPSESSION=Display session &number
+DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK=Display &VT/TEK
+DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE=Swap hostname and &title position
+DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT=Display tcp &port number
+DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED=Display se&rial port speed
 
 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	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/installer/release/lang/Russian.lng	2018-06-14 08:43:41 UTC (rev 7131)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
 ; Last translated (Russian language) by Ryumik Sergey (2017-07-19)
 
 [Tera Term]
@@ -185,6 +185,13 @@
 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_GENERAL_TITLEFMT_GROUP=Title format
+DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME=&Display host/port name
+DLG_TAB_GENERAL_TITLEFMT_DISPSESSION=Display session &number
+DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK=Display &VT/TEK
+DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE=Swap hostname and &title position
+DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT=Display tcp &port number
+DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED=Display se&rial port speed
 
 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	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/installer/release/lang/Simplified Chinese.lng	2018-06-14 08:43:41 UTC (rev 7131)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
 ; Last translated (Simplified Chinese language) by LiShaohui (2017-04-11)
 
 [Tera Term]
@@ -185,6 +185,13 @@
 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_GENERAL_TITLEFMT_GROUP=Title format
+DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME=&Display host/port name
+DLG_TAB_GENERAL_TITLEFMT_DISPSESSION=Display session &number
+DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK=Display &VT/TEK
+DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE=Swap hostname and &title position
+DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT=Display tcp &port number
+DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED=Display se&rial port speed
 
 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	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/installer/release/lang/Traditional Chinese.lng	2018-06-14 08:43:41 UTC (rev 7131)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-13)
 ; Last translated (Traditional Chinese language) by kikiqqp (2014-09-20)
 
 [Tera Term]
@@ -185,6 +185,13 @@
 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_GENERAL_TITLEFMT_GROUP=Title format
+DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME=&Display host/port name
+DLG_TAB_GENERAL_TITLEFMT_DISPSESSION=Display session &number
+DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK=Display &VT/TEK
+DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE=Swap hostname and &title position
+DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT=Display tcp &port number
+DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED=Display se&rial port speed
 
 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	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/teraterm/common/tt_res.h	2018-06-14 08:43:41 UTC (rev 7131)
@@ -218,6 +218,13 @@
 #define IDC_NORMALIZE_LINEBREAK         2565
 #define IDC_CLIPBOARD_NOTIFY            2566
 #define IDC_LIST_HIDDEN_FONTS           2567
+#define IDC_TITLEFMT_GROUP              2568
+#define IDC_TITLEFMT_DISPHOSTNAME       2569
+#define IDC_TITLEFMT_DISPSESSION        2570
+#define IDC_TITLEFMT_DISPVTTEK          2571
+#define IDC_TITLEFMT_SWAPHOSTTITLE      2572
+#define IDC_TITLEFMT_DISPTCPPORT        2573
+#define IDC_TITLEFMT_DISPSERIALSPEED    2574
 
 #define ID_ACC_SENDBREAK                50001
 #define ID_ACC_COPY                     50002
@@ -316,7 +323,7 @@
 #define _APS_NO_MFC                     1
 #define _APS_NEXT_RESOURCE_VALUE        126
 #define _APS_NEXT_COMMAND_VALUE         52031
-#define _APS_NEXT_CONTROL_VALUE         2568
+#define _APS_NEXT_CONTROL_VALUE         2575
 #define _APS_NEXT_SYMED_VALUE           101
 #endif
 #endif

Modified: trunk/teraterm/teraterm/addsetting.cpp
===================================================================
--- trunk/teraterm/teraterm/addsetting.cpp	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/teraterm/teraterm/addsetting.cpp	2018-06-14 08:43:41 UTC (rev 7131)
@@ -120,6 +120,13 @@
 		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));
+		SendDlgItemMessage(IDC_TITLEFMT_GROUP, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+		SendDlgItemMessage(IDC_TITLEFMT_DISPHOSTNAME, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+		SendDlgItemMessage(IDC_TITLEFMT_DISPSESSION, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+		SendDlgItemMessage(IDC_TITLEFMT_DISPVTTEK, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+		SendDlgItemMessage(IDC_TITLEFMT_SWAPHOSTTITLE, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+		SendDlgItemMessage(IDC_TITLEFMT_DISPTCPPORT, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+		SendDlgItemMessage(IDC_TITLEFMT_DISPSERIALSPEED, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
 	}
 	else {
 		DlgGeneralFont = NULL;
@@ -150,6 +157,28 @@
 	get_lang_msg("DLG_TAB_GENERAL_LIST_HIDDEN_FONTS", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
 	SetDlgItemText(IDC_LIST_HIDDEN_FONTS, ts.UIMsg);
 
+	GetDlgItemText(IDC_TITLEFMT_GROUP, uimsg, sizeof(uimsg));
+	get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_GROUP", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+	SetDlgItemText(IDC_TITLEFMT_GROUP, ts.UIMsg);
+	GetDlgItemText(IDC_TITLEFMT_DISPHOSTNAME, uimsg, sizeof(uimsg));
+	get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+	SetDlgItemText(IDC_TITLEFMT_DISPHOSTNAME, ts.UIMsg);
+	GetDlgItemText(IDC_TITLEFMT_DISPSESSION, uimsg, sizeof(uimsg));
+	get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_DISPSESSION", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+	SetDlgItemText(IDC_TITLEFMT_DISPSESSION, ts.UIMsg);
+	GetDlgItemText(IDC_TITLEFMT_DISPVTTEK, uimsg, sizeof(uimsg));
+	get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+	SetDlgItemText(IDC_TITLEFMT_DISPVTTEK, ts.UIMsg);
+	GetDlgItemText(IDC_TITLEFMT_SWAPHOSTTITLE, uimsg, sizeof(uimsg));
+	get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+	SetDlgItemText(IDC_TITLEFMT_SWAPHOSTTITLE, ts.UIMsg);
+	GetDlgItemText(IDC_TITLEFMT_DISPTCPPORT, uimsg, sizeof(uimsg));
+	get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+	SetDlgItemText(IDC_TITLEFMT_DISPTCPPORT, ts.UIMsg);
+	GetDlgItemText(IDC_TITLEFMT_DISPSERIALSPEED, uimsg, sizeof(uimsg));
+	get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+	SetDlgItemText(IDC_TITLEFMT_DISPSERIALSPEED, ts.UIMsg);
+
 	// (1)DisableAcceleratorSendBreak
 	btn = (CButton *)GetDlgItem(IDC_DISABLE_SENDBREAK);
 	btn->SetCheck(ts.DisableAcceleratorSendBreak);
@@ -182,6 +211,25 @@
 	btn = (CButton *)GetDlgItem(IDC_LIST_HIDDEN_FONTS);
 	btn->SetCheck(ts.ListHiddenFonts);
 
+	// (9) Title Format
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPHOSTNAME);
+	btn->SetCheck((ts.TitleFormat & 1) != 0);
+
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPSESSION);
+	btn->SetCheck((ts.TitleFormat & (1<<1)) != 0);
+
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPVTTEK);
+	btn->SetCheck((ts.TitleFormat & (1<<2)) != 0);
+
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_SWAPHOSTTITLE);
+	btn->SetCheck((ts.TitleFormat & (1<<3)) != 0);
+
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPTCPPORT);
+	btn->SetCheck((ts.TitleFormat & (1<<4)) != 0);
+
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPSERIALSPEED);
+	btn->SetCheck((ts.TitleFormat & (1<<5)) != 0);
+
 	// \x83_\x83C\x83A\x83\x8D\x83O\x82Ƀt\x83H\x81[\x83J\x83X\x82𓖂Ă\xE9 (2004.12.7 yutaka)
 	::SetFocus(::GetDlgItem(GetSafeHwnd(), IDC_CLICKABLE_URL));
 
@@ -231,6 +279,20 @@
 	// (8)IDC_LIST_HIDDEN_FONTS
 	btn = (CButton *)GetDlgItem(IDC_LIST_HIDDEN_FONTS);
 	ts.ListHiddenFonts = btn->GetCheck();
+
+	// (9) Title Format
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPHOSTNAME);
+	ts.TitleFormat = (btn->GetCheck() == BST_CHECKED);
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPSESSION);
+	ts.TitleFormat |= ((btn->GetCheck() == BST_CHECKED) << 1);
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPVTTEK);
+	ts.TitleFormat |= ((btn->GetCheck() == BST_CHECKED) << 2);
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_SWAPHOSTTITLE);
+	ts.TitleFormat |= ((btn->GetCheck() == BST_CHECKED) << 3);
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPTCPPORT);
+	ts.TitleFormat |= ((btn->GetCheck() == BST_CHECKED) << 4);
+	btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPSERIALSPEED);
+	ts.TitleFormat |= ((btn->GetCheck() == BST_CHECKED) << 5);
 }
 
 

Modified: trunk/teraterm/teraterm/ttermpro.rc
===================================================================
--- trunk/teraterm/teraterm/ttermpro.rc	2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/teraterm/teraterm/ttermpro.rc	2018-06-14 08:43:41 UTC (rev 7131)
@@ -66,6 +66,19 @@
                     "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
+    GROUPBOX        "Title format",IDC_TITLEFMT_GROUP,5,130,250,55
+    CONTROL         "&Display host/port name",IDC_TITLEFMT_DISPHOSTNAME,
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,140,110,10
+    CONTROL         "Display session &number",IDC_TITLEFMT_DISPSESSION,
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,155,110,10
+    CONTROL         "Display &VT/TEK",IDC_TITLEFMT_DISPVTTEK,
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,170,110,10
+    CONTROL         "Swap hostname and &title position",IDC_TITLEFMT_SWAPHOSTTITLE,
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,120,140,130,10
+    CONTROL         "Display tcp &port number",IDC_TITLEFMT_DISPTCPPORT,
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,120,155,130,10
+    CONTROL         "Display se&rial port speed",IDC_TITLEFMT_DISPSERIALSPEED,
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,120,170,130,10
 END
 
 IDD_TABSHEET_SEQUENCE DIALOGEX 0, 0, 258, 188



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