[ttssh2-commit] [10581] SCP 関連のメッセージを国際化した

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2023年 2月 6日 (月) 08:28:18 JST


Revision: 10581
          https://osdn.net/projects/ttssh2/scm/svn/commits/10581
Author:   nmaya
Date:     2023-02-06 08:28:17 +0900 (Mon, 06 Feb 2023)
Log Message:
-----------
SCP 関連のメッセージを国際化した

ticket: #44168

Ticket Links:
------------
    https://osdn.net/projects/ttssh2/tracker/detail/44168

Modified Paths:
--------------
    branches/4-stable/installer/release/lang/English.lng
    branches/4-stable/installer/release/lang/French.lng
    branches/4-stable/installer/release/lang/German.lng
    branches/4-stable/installer/release/lang/Japanese.lng
    branches/4-stable/installer/release/lang/Korean.lng
    branches/4-stable/installer/release/lang/Russian.lng
    branches/4-stable/installer/release/lang/Simplified Chinese.lng
    branches/4-stable/installer/release/lang/Traditional Chinese.lng
    branches/4-stable/ttssh2/ttxssh/resource.h
    branches/4-stable/ttssh2/ttxssh/ssh.c
    branches/4-stable/ttssh2/ttxssh/ttxssh.c
    branches/4-stable/ttssh2/ttxssh/ttxssh.rc

-------------- next part --------------
Modified: branches/4-stable/installer/release/lang/English.lng
===================================================================
--- branches/4-stable/installer/release/lang/English.lng	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/installer/release/lang/English.lng	2023-02-05 23:28:17 UTC (rev 10581)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-11-27)
+; Updated by TeraTerm Project (2023-02-06)
 
 [Tera Term]
 DLG_SYSTEM_FONT=System,14,0
@@ -830,6 +830,26 @@
 DLG_HOSTKEY_ROTATION_ADD=%u new key(s):
 DLG_HOSTKEY_ROTATION_REMOVE=%u obsolete key(s):
 
+; dlg SCP
+DLG_SCP_TITLE=TTSSH: Secure Copy Protocol (SCP)
+DLG_SCP_SENDFILE_FROM=&From:
+DLG_SCP_SENDFILE_TO=To:
+DLG_SCP_SENDFILE_DRAG=You can drag the file to this window.
+DLG_SCP_SENDFILE_SEND=&Send
+DLG_SCP_SENDFILE_CANCEL=&Cancel
+DLG_SCP_RECEIVEFILE_FROM=Fr&om:
+DLG_SCP_RECEIVEFILE_TO=To:
+DLG_SCP_RECEIVEFILE_RECEIVE=&Receive
+DLG_SCP_SELECT_FILE_TITLE=Choose a sending file with SCP
+DLG_SCP_SELECT_DEST_TITLE=Choose destination directory
+
+; dlg SCP progress
+DLG_SCP_PROGRESS_TITLE_SENDFILE=TTSSH: SCP sending file
+DLG_SCP_PROGRESS_TITLE_RECEIVEFILE=TTSSH: SCP receiving file
+DLG_SCP_PROGRESS_FILENAME_LABEL=Filename:
+DLG_SCP_PROGRESS_BYTES_LABEL=Bytes transfered:
+DLG_SCP_PROGRESS_TIME_LABEL=Time elapsed:
+
 ; crypt.c
 MSG_ENCRYPT_ERROR1=%s encrypt error(1): bytes %d (%d)
 MSG_ENCRYPT_ERROR2=%s encrypt error(2)
@@ -925,6 +945,14 @@
 MSG_SSH_SUBSYSTEM_REQUEST_ERROR=subsystem request failed. (%s)
 MSG_SSH_AGENTERROR_TITLE=Bad agent request
 MSG_SSH_AGENTERROR_TOOLARGE=Agent request size is too large, ignore it.
+MSG_SSH_SCP_FILEOPEN_ERROR_TITLE=TTSSH: file open error
+MSG_SSH_SCP_FILEOPEN_READ_ERROR=Can't open file for reading:
+MSG_SSH_SCP_FILEOPEN_READONLY_ERROR=`%s' file is read only.
+MSG_SSH_SCP_FILEOPEN_OVERWRITE_CONFIRM=`%s' file exists.\noverwrite it?
+MSG_SSH_SCP_FILEOPEN_WRITE_ERROR=Can't open file for writing:
+MSG_SSH_SCP_CONFIRM_TITLE=TTSSH: confirm
+MSG_SSH_SCP_ERROR_TITLE=TTSSH: SCP error
+MSG_SSH_SCP_ERROR_INIT_TITLE=TTSSH: SCP error (SCP_INIT)
 
 ; ttxssh.c
 MSG_UNKNOWN_OPTION_ERROR=Unrecognized command-line option: %s

Modified: branches/4-stable/installer/release/lang/French.lng
===================================================================
--- branches/4-stable/installer/release/lang/French.lng	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/installer/release/lang/French.lng	2023-02-05 23:28:17 UTC (rev 10581)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-11-27)
+; Updated by TeraTerm Project (2023-02-06)
 ; Last translated (French language) by Francois MOCQ (2010-07-21)
 
 [Tera Term]
@@ -834,6 +834,26 @@
 DLG_HOSTKEY_ROTATION_ADD=%u new key(s):
 DLG_HOSTKEY_ROTATION_REMOVE=%u obsolete key(s):
 
+; dlg SCP
+DLG_SCP_TITLE=TTSSH: Secure Copy Protocol (SCP)
+DLG_SCP_SENDFILE_FROM=&From:
+DLG_SCP_SENDFILE_TO=To:
+DLG_SCP_SENDFILE_DRAG=You can drag the file to this window.
+DLG_SCP_SENDFILE_SEND=&Send
+DLG_SCP_SENDFILE_CANCEL=&Cancel
+DLG_SCP_RECEIVEFILE_FROM=Fr&om:
+DLG_SCP_RECEIVEFILE_TO=To:
+DLG_SCP_RECEIVEFILE_RECEIVE=&Receive
+DLG_SCP_SELECT_FILE_TITLE=Choose a sending file with SCP
+DLG_SCP_SELECT_DEST_TITLE=Choose destination directory
+
+; dlg SCP progress
+DLG_SCP_PROGRESS_TITLE_SENDFILE=TTSSH: SCP sending file
+DLG_SCP_PROGRESS_TITLE_RECEIVEFILE=TTSSH: SCP receiving file
+DLG_SCP_PROGRESS_FILENAME_LABEL=Filename:
+DLG_SCP_PROGRESS_BYTES_LABEL=Bytes transfered:
+DLG_SCP_PROGRESS_TIME_LABEL=Time elapsed:
+
 ; crypt.c
 MSG_ENCRYPT_ERROR1=%s erreur cryptage(1): octets %d (%d)
 MSG_ENCRYPT_ERROR2=%s erreur cryptage(2)
@@ -929,6 +949,14 @@
 MSG_SSH_SUBSYSTEM_REQUEST_ERROR=subsystem request failed. (%s)
 MSG_SSH_AGENTERROR_TITLE=Bad agent request
 MSG_SSH_AGENTERROR_TOOLARGE=Agent request size is too large, ignore it.
+MSG_SSH_SCP_FILEOPEN_ERROR_TITLE=TTSSH: file open error
+MSG_SSH_SCP_FILEOPEN_READ_ERROR=Can't open file for reading:
+MSG_SSH_SCP_FILEOPEN_READONLY_ERROR=`%s' file is read only.
+MSG_SSH_SCP_FILEOPEN_OVERWRITE_CONFIRM=`%s' file exists.\noverwrite it?
+MSG_SSH_SCP_FILEOPEN_WRITE_ERROR=Can't open file for writing:
+MSG_SSH_SCP_CONFIRM_TITLE=TTSSH: confirm
+MSG_SSH_SCP_ERROR_TITLE=TTSSH: SCP error
+MSG_SSH_SCP_ERROR_INIT_TITLE=TTSSH: SCP error (SCP_INIT)
 
 ; ttxssh.c
 MSG_UNKNOWN_OPTION_ERROR=Option inconnue sur la ligne de commande: %s

Modified: branches/4-stable/installer/release/lang/German.lng
===================================================================
--- branches/4-stable/installer/release/lang/German.lng	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/installer/release/lang/German.lng	2023-02-05 23:28:17 UTC (rev 10581)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-11-27)
+; Updated by TeraTerm Project (2023-02-06)
 ; Last translated (German language) by Frederik Schwarzer (2010-05-17)
 
 [Tera Term]
@@ -834,6 +834,26 @@
 DLG_HOSTKEY_ROTATION_ADD=%u new key(s):
 DLG_HOSTKEY_ROTATION_REMOVE=%u obsolete key(s):
 
+; dlg SCP
+DLG_SCP_TITLE=TTSSH: Secure Copy Protocol (SCP)
+DLG_SCP_SENDFILE_FROM=&From:
+DLG_SCP_SENDFILE_TO=To:
+DLG_SCP_SENDFILE_DRAG=You can drag the file to this window.
+DLG_SCP_SENDFILE_SEND=&Send
+DLG_SCP_SENDFILE_CANCEL=&Cancel
+DLG_SCP_RECEIVEFILE_FROM=Fr&om:
+DLG_SCP_RECEIVEFILE_TO=To:
+DLG_SCP_RECEIVEFILE_RECEIVE=&Receive
+DLG_SCP_SELECT_FILE_TITLE=Choose a sending file with SCP
+DLG_SCP_SELECT_DEST_TITLE=Choose destination directory
+
+; dlg SCP progress
+DLG_SCP_PROGRESS_TITLE_SENDFILE=TTSSH: SCP sending file
+DLG_SCP_PROGRESS_TITLE_RECEIVEFILE=TTSSH: SCP receiving file
+DLG_SCP_PROGRESS_FILENAME_LABEL=Filename:
+DLG_SCP_PROGRESS_BYTES_LABEL=Bytes transfered:
+DLG_SCP_PROGRESS_TIME_LABEL=Time elapsed:
+
 ; crypt.c
 MSG_ENCRYPT_ERROR1=%s encrypt error(1): bytes %d (%d)
 MSG_ENCRYPT_ERROR2=%s encrypt error(2)
@@ -929,6 +949,14 @@
 MSG_SSH_SUBSYSTEM_REQUEST_ERROR=subsystem request failed. (%s)
 MSG_SSH_AGENTERROR_TITLE=Bad agent request
 MSG_SSH_AGENTERROR_TOOLARGE=Agent request size is too large, ignore it.
+MSG_SSH_SCP_FILEOPEN_ERROR_TITLE=TTSSH: file open error
+MSG_SSH_SCP_FILEOPEN_READ_ERROR=Can't open file for reading:
+MSG_SSH_SCP_FILEOPEN_READONLY_ERROR=`%s' file is read only.
+MSG_SSH_SCP_FILEOPEN_OVERWRITE_CONFIRM=`%s' file exists.\noverwrite it?
+MSG_SSH_SCP_FILEOPEN_WRITE_ERROR=Can't open file for writing:
+MSG_SSH_SCP_CONFIRM_TITLE=TTSSH: confirm
+MSG_SSH_SCP_ERROR_TITLE=TTSSH: SCP error
+MSG_SSH_SCP_ERROR_INIT_TITLE=TTSSH: SCP error (SCP_INIT)
 
 ; ttxssh.c
 MSG_UNKNOWN_OPTION_ERROR=Unbekannte Befehlszeilen-Option: %s

Modified: branches/4-stable/installer/release/lang/Japanese.lng
===================================================================
--- branches/4-stable/installer/release/lang/Japanese.lng	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/installer/release/lang/Japanese.lng	2023-02-05 23:28:17 UTC (rev 10581)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-11-27)
+; Updated by TeraTerm Project (2023-02-06)
 
 [Tera Term]
 DLG_SYSTEM_FONT=\x82l\x82r \x82o\x83S\x83V\x83b\x83N,12,128
@@ -830,6 +830,26 @@
 DLG_HOSTKEY_ROTATION_ADD=%u\x8C‚̐V\x82\xB5\x82\xA2\x83z\x83X\x83g\x8C\xAE:
 DLG_HOSTKEY_ROTATION_REMOVE=%u\x8C‚̔p\x8E~\x82\xB3\x82ꂽ\x83z\x83X\x83g\x8C\xAE:
 
+; dlg SCP
+DLG_SCP_TITLE=TTSSH: Secure Copy Protocol (SCP)
+DLG_SCP_SENDFILE_FROM=&From:
+DLG_SCP_SENDFILE_TO=To:
+DLG_SCP_SENDFILE_DRAG=\x82\xB1\x82̃E\x83B\x83\x93\x83h\x83E\x82Ƀt\x83@\x83C\x83\x8B\x82\xF0\x83h\x83\x89\x83b\x83O\x82ł\xAB\x82܂\xB7
+DLG_SCP_SENDFILE_SEND=\x91\x97\x90M(&S)
+DLG_SCP_SENDFILE_CANCEL=\x83L\x83\x83\x83\x93\x83Z\x83\x8B(&C)
+DLG_SCP_RECEIVEFILE_FROM=Fr&om:
+DLG_SCP_RECEIVEFILE_TO=To:
+DLG_SCP_RECEIVEFILE_RECEIVE=\x8E\xF3\x90M(&R)
+DLG_SCP_SELECT_FILE_TITLE=SCP\x82ő\x97\x90M\x82\xB7\x82\xE9\x83t\x83@\x83C\x83\x8B\x82\xF0\x91I\x91\xF0
+DLG_SCP_SELECT_DEST_TITLE=\x95ۑ\xB6\x90\xE6\x83f\x83B\x83\x8C\x83N\x83g\x83\x8A\x82\xF0\x91I\x91\xF0
+
+; dlg SCP progress
+DLG_SCP_PROGRESS_TITLE_SENDFILE=TTSSH: SCP \x83t\x83@\x83C\x83\x8B\x91\x97\x90M\x92\x86
+DLG_SCP_PROGRESS_TITLE_RECEIVEFILE=TTSSH: SCP \x83t\x83@\x83C\x83\x8B\x8E\xF3\x90M\x92\x86
+DLG_SCP_PROGRESS_FILENAME_LABEL=\x83t\x83@\x83C\x83\x8B\x96\xBC:
+DLG_SCP_PROGRESS_BYTES_LABEL=\x93]\x91\x97\x8Dς\xDD:
+DLG_SCP_PROGRESS_TIME_LABEL=\x8Co\x89ߎ\x9E\x8A\xD4:
+
 ; crypt.c
 MSG_ENCRYPT_ERROR1=%s\x88Í\x86\x89\xBB\x83G\x83\x89\x81[(1): bytes %d (%d)
 MSG_ENCRYPT_ERROR2=%s\x88Í\x86\x89\xBB\x83G\x83\x89\x81[(2)
@@ -925,6 +945,14 @@
 MSG_SSH_SUBSYSTEM_REQUEST_ERROR=\x83T\x83u\x83V\x83X\x83e\x83\x80\x82̗v\x8B\x81\x82\xAA\x8E\xB8\x94s\x82\xB5\x82܂\xB5\x82\xBD. (%s)
 MSG_SSH_AGENTERROR_TITLE=\x95s\x90\xB3\x82ȃG\x81[\x83W\x83F\x83\x93\x83g\x97v\x8B\x81
 MSG_SSH_AGENTERROR_TOOLARGE=\x83G\x81[\x83W\x83F\x83\x93\x83g\x97v\x8B\x81\x82̃\x81\x83b\x83Z\x81[\x83W\x82\xAA\x91傫\x82\xB7\x82\xAC\x82\xE9\x82̂Ŗ\xB3\x8E\x8B\x82\xB5\x82܂\xB7.
+MSG_SSH_SCP_FILEOPEN_ERROR_TITLE=TTSSH: \x83t\x83@\x83C\x83\x8B\x83I\x81[\x83v\x83\x93\x83G\x83\x89\x81[
+MSG_SSH_SCP_FILEOPEN_READ_ERROR=\x93ǂݎ\xE6\x82\xE8\x97p\x82Ƀt\x83@\x83C\x83\x8B\x82\xF0\x8AJ\x82\xAF\x82܂\xB9\x82\xF1:
+MSG_SSH_SCP_FILEOPEN_READONLY_ERROR=\x83t\x83@\x83C\x83\x8B `%s' \x82͓ǂݎ\xE6\x82\xE8\x90\xEA\x97p\x82ł\xB7.
+MSG_SSH_SCP_FILEOPEN_OVERWRITE_CONFIRM=\x83t\x83@\x83C\x83\x8B `%s' \x82\xAA\x91\xB6\x8D݂\xB5\x82܂\xB7.\n\x8F㏑\x82\xAB\x82\xB5\x82܂\xB7\x82\xA9\x81H
+MSG_SSH_SCP_FILEOPEN_WRITE_ERROR=\x8F\x91\x82\xAB\x8D\x9E\x82ݗp\x82Ƀt\x83@\x83C\x83\x8B\x82\xF0\x8AJ\x82\xAF\x82܂\xB9\x82\xF1:
+MSG_SSH_SCP_CONFIRM_TITLE=TTSSH: \x8Am\x94F
+MSG_SSH_SCP_ERROR_TITLE=TTSSH: SCP \x83G\x83\x89\x81[
+MSG_SSH_SCP_ERROR_INIT_TITLE=TTSSH: SCP \x83G\x83\x89\x81[ (SCP_INIT)
 
 ; ttxssh.c
 MSG_UNKNOWN_OPTION_ERROR=\x96\xB3\x8C\xF8\x82ȃR\x83}\x83\x93\x83h\x83\x89\x83C\x83\x93\x83I\x83v\x83V\x83\x87\x83\x93: %s

Modified: branches/4-stable/installer/release/lang/Korean.lng
===================================================================
--- branches/4-stable/installer/release/lang/Korean.lng	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/installer/release/lang/Korean.lng	2023-02-05 23:28:17 UTC (rev 10581)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-11-27)
+; Updated by TeraTerm Project (2023-02-06)
 ; Last translated (Korean language) by Daehong Kim (2013-07-25)
 
 [Tera Term]
@@ -834,6 +834,26 @@
 DLG_HOSTKEY_ROTATION_ADD=%u new key(s):
 DLG_HOSTKEY_ROTATION_REMOVE=%u obsolete key(s):
 
+; dlg SCP
+DLG_SCP_TITLE=TTSSH: Secure Copy Protocol (SCP)
+DLG_SCP_SENDFILE_FROM=&From:
+DLG_SCP_SENDFILE_TO=To:
+DLG_SCP_SENDFILE_DRAG=You can drag the file to this window.
+DLG_SCP_SENDFILE_SEND=&Send
+DLG_SCP_SENDFILE_CANCEL=&Cancel
+DLG_SCP_RECEIVEFILE_FROM=Fr&om:
+DLG_SCP_RECEIVEFILE_TO=To:
+DLG_SCP_RECEIVEFILE_RECEIVE=&Receive
+DLG_SCP_SELECT_FILE_TITLE=Choose a sending file with SCP
+DLG_SCP_SELECT_DEST_TITLE=Choose destination directory
+
+; dlg SCP progress
+DLG_SCP_PROGRESS_TITLE_SENDFILE=TTSSH: SCP sending file
+DLG_SCP_PROGRESS_TITLE_RECEIVEFILE=TTSSH: SCP receiving file
+DLG_SCP_PROGRESS_FILENAME_LABEL=Filename:
+DLG_SCP_PROGRESS_BYTES_LABEL=Bytes transfered:
+DLG_SCP_PROGRESS_TIME_LABEL=Time elapsed:
+
 ; crypt.c
 MSG_ENCRYPT_ERROR1=%s \xBE\xCFȣ \xBF\xC0\xB7\xF9(1): \xB9\xD9\xC0\xCCƮ %d (%d)
 MSG_ENCRYPT_ERROR2=%s \xBE\xCFȣ \xBF\xC0\xB7\xF9(2)
@@ -929,6 +949,14 @@
 MSG_SSH_SUBSYSTEM_REQUEST_ERROR=subsystem request failed. (%s)
 MSG_SSH_AGENTERROR_TITLE=Bad agent request
 MSG_SSH_AGENTERROR_TOOLARGE=Agent request size is too large, ignore it.
+MSG_SSH_SCP_FILEOPEN_ERROR_TITLE=TTSSH: file open error
+MSG_SSH_SCP_FILEOPEN_READ_ERROR=Can't open file for reading:
+MSG_SSH_SCP_FILEOPEN_READONLY_ERROR=`%s' file is read only.
+MSG_SSH_SCP_FILEOPEN_OVERWRITE_CONFIRM=`%s' file exists.\noverwrite it?
+MSG_SSH_SCP_FILEOPEN_WRITE_ERROR=Can't open file for writing:
+MSG_SSH_SCP_CONFIRM_TITLE=TTSSH: confirm
+MSG_SSH_SCP_ERROR_TITLE=TTSSH: SCP error
+MSG_SSH_SCP_ERROR_INIT_TITLE=TTSSH: SCP error (SCP_INIT)
 
 ; ttxssh.c
 MSG_UNKNOWN_OPTION_ERROR=\xC0νĵ\xC7\xC1\xF6 \xBEʴ\xC2 \xB8\xED\xB7\xC9\xC7\xE0 \xBFɼ\xC7: %s

Modified: branches/4-stable/installer/release/lang/Russian.lng
===================================================================
--- branches/4-stable/installer/release/lang/Russian.lng	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/installer/release/lang/Russian.lng	2023-02-05 23:28:17 UTC (rev 10581)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-11-27)
+; Updated by TeraTerm Project (2023-02-06)
 ; Last translated (Russian language) by Ryumik Sergey (2017-07-19)
 
 [Tera Term]
@@ -834,6 +834,26 @@
 DLG_HOSTKEY_ROTATION_ADD=%u \xED\xEE\xE2\xFB\xE9 \xEA\xEB\xFE\xF7(\xE8):
 DLG_HOSTKEY_ROTATION_REMOVE=%u \xF1\xF2\xE0\xF0\xFB\xE9 \xEA\xEB\xFE\xF7(\xE8):
 
+; dlg SCP
+DLG_SCP_TITLE=TTSSH: Secure Copy Protocol (SCP)
+DLG_SCP_SENDFILE_FROM=&From:
+DLG_SCP_SENDFILE_TO=To:
+DLG_SCP_SENDFILE_DRAG=You can drag the file to this window.
+DLG_SCP_SENDFILE_SEND=&Send
+DLG_SCP_SENDFILE_CANCEL=&Cancel
+DLG_SCP_RECEIVEFILE_FROM=Fr&om:
+DLG_SCP_RECEIVEFILE_TO=To:
+DLG_SCP_RECEIVEFILE_RECEIVE=&Receive
+DLG_SCP_SELECT_FILE_TITLE=Choose a sending file with SCP
+DLG_SCP_SELECT_DEST_TITLE=Choose destination directory
+
+; dlg SCP progress
+DLG_SCP_PROGRESS_TITLE_SENDFILE=TTSSH: SCP sending file
+DLG_SCP_PROGRESS_TITLE_RECEIVEFILE=TTSSH: SCP receiving file
+DLG_SCP_PROGRESS_FILENAME_LABEL=Filename:
+DLG_SCP_PROGRESS_BYTES_LABEL=Bytes transfered:
+DLG_SCP_PROGRESS_TIME_LABEL=Time elapsed:
+
 ; crypt.c
 MSG_ENCRYPT_ERROR1=%s \xEE\xF8\xE8\xE1\xEA\xE0 \xF8\xE8\xF4\xF0\xEE\xE2\xE0\xED\xE8\xFF(1): \xE1\xE0\xE9\xF2\xFB %d (%d)
 MSG_ENCRYPT_ERROR2=%s \xEE\xF8\xE8\xE1\xEA\xE0 \xF8\xE8\xF4\xF0\xEE\xE2\xE0\xED\xE8\xFF(2)
@@ -929,6 +949,14 @@
 MSG_SSH_SUBSYSTEM_REQUEST_ERROR=\xC7\xE0\xEF\xF0\xEE\xF1 \xEF\xEE\xE4\xF1\xE8\xF1\xF2\xE5\xEC\xFB \xE7\xE0\xE2\xE5\xF0\xF8\xE8\xEB\xF1\xFF \xED\xE5\xF3\xE4\xE0\xF7\xED\xEE. (%s)
 MSG_SSH_AGENTERROR_TITLE=\xCD\xE5\xE2\xE5\xF0\xED\xFB\xE9 \xE7\xE0\xEF\xF0\xEE\xF1 \xE0\xE3\xE5\xED\xF2\xE0
 MSG_SSH_AGENTERROR_TOOLARGE=\xC7\xE0\xEF\xF0\xEE\xF1 \xE0\xE3\xE5\xED\xF2\xE0 \xF1\xEB\xE8\xF8\xEA\xEE\xEC \xE2\xE5\xEB\xE8\xEA, \xE8\xE3\xED\xEE\xF0\xE8\xF0\xF3\xE9\xF2\xE5 \xE5\xE3\xEE.
+MSG_SSH_SCP_FILEOPEN_ERROR_TITLE=TTSSH: file open error
+MSG_SSH_SCP_FILEOPEN_READ_ERROR=Can't open file for reading:
+MSG_SSH_SCP_FILEOPEN_READONLY_ERROR=`%s' file is read only.
+MSG_SSH_SCP_FILEOPEN_OVERWRITE_CONFIRM=`%s' file exists.\noverwrite it?
+MSG_SSH_SCP_FILEOPEN_WRITE_ERROR=Can't open file for writing:
+MSG_SSH_SCP_CONFIRM_TITLE=TTSSH: confirm
+MSG_SSH_SCP_ERROR_TITLE=TTSSH: SCP error
+MSG_SSH_SCP_ERROR_INIT_TITLE=TTSSH: SCP error (SCP_INIT)
 
 ; ttxssh.c
 MSG_UNKNOWN_OPTION_ERROR=\xCD\xE5\xE2\xE5\xF0\xED\xFB\xE9 \xEF\xE0\xF0\xE0\xEC\xE5\xF2\xF0 \xE2 \xEA\xEE\xEC\xE0\xED\xE4\xED\xEE\xE9 \xF1\xF2\xF0\xEE\xEA\xE5: %s

Modified: branches/4-stable/installer/release/lang/Simplified Chinese.lng
===================================================================
--- branches/4-stable/installer/release/lang/Simplified Chinese.lng	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/installer/release/lang/Simplified Chinese.lng	2023-02-05 23:28:17 UTC (rev 10581)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-11-27)
+; Updated by TeraTerm Project (2023-02-06)
 ; Last translated (Simplified Chinese language) by LiShaohui (2017-04-11)
 
 [Tera Term]
@@ -834,6 +834,26 @@
 DLG_HOSTKEY_ROTATION_ADD=%u \xD0\xC2\xC3\xDCԿ\xA3\xBA
 DLG_HOSTKEY_ROTATION_REMOVE=%u \xB7\xCF\xC6\xFA\xC3\xDCԿ\xA3\xBA
 
+; dlg SCP
+DLG_SCP_TITLE=TTSSH: Secure Copy Protocol (SCP)
+DLG_SCP_SENDFILE_FROM=&From:
+DLG_SCP_SENDFILE_TO=To:
+DLG_SCP_SENDFILE_DRAG=You can drag the file to this window.
+DLG_SCP_SENDFILE_SEND=&Send
+DLG_SCP_SENDFILE_CANCEL=&Cancel
+DLG_SCP_RECEIVEFILE_FROM=Fr&om:
+DLG_SCP_RECEIVEFILE_TO=To:
+DLG_SCP_RECEIVEFILE_RECEIVE=&Receive
+DLG_SCP_SELECT_FILE_TITLE=Choose a sending file with SCP
+DLG_SCP_SELECT_DEST_TITLE=Choose destination directory
+
+; dlg SCP progress
+DLG_SCP_PROGRESS_TITLE_SENDFILE=TTSSH: SCP sending file
+DLG_SCP_PROGRESS_TITLE_RECEIVEFILE=TTSSH: SCP receiving file
+DLG_SCP_PROGRESS_FILENAME_LABEL=Filename:
+DLG_SCP_PROGRESS_BYTES_LABEL=Bytes transfered:
+DLG_SCP_PROGRESS_TIME_LABEL=Time elapsed:
+
 ; crypt.c
 MSG_ENCRYPT_ERROR1=%s\xBC\xD3\xC3ܴ\xED\xCE\xF3(1)\xA3\xBAbytes %d (%d)
 MSG_ENCRYPT_ERROR2=%s\xBC\xD3\xC3ܴ\xED\xCE\xF3(2)
@@ -929,6 +949,14 @@
 MSG_SSH_SUBSYSTEM_REQUEST_ERROR=subsystem request failed. (%s)
 MSG_SSH_AGENTERROR_TITLE=Bad agent request
 MSG_SSH_AGENTERROR_TOOLARGE=Agent request size is too large, ignore it.
+MSG_SSH_SCP_FILEOPEN_ERROR_TITLE=TTSSH: file open error
+MSG_SSH_SCP_FILEOPEN_READ_ERROR=Can't open file for reading:
+MSG_SSH_SCP_FILEOPEN_READONLY_ERROR=`%s' file is read only.
+MSG_SSH_SCP_FILEOPEN_OVERWRITE_CONFIRM=`%s' file exists.\noverwrite it?
+MSG_SSH_SCP_FILEOPEN_WRITE_ERROR=Can't open file for writing:
+MSG_SSH_SCP_CONFIRM_TITLE=TTSSH: confirm
+MSG_SSH_SCP_ERROR_TITLE=TTSSH: SCP error
+MSG_SSH_SCP_ERROR_INIT_TITLE=TTSSH: SCP error (SCP_INIT)
 
 ; ttxssh.c
 MSG_UNKNOWN_OPTION_ERROR=\xCE\xDEЧ\xB5\xC4\xC3\xFC\xC1\xEE\xD0\xD0ѡ\xCF%s

Modified: branches/4-stable/installer/release/lang/Traditional Chinese.lng
===================================================================
--- branches/4-stable/installer/release/lang/Traditional Chinese.lng	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/installer/release/lang/Traditional Chinese.lng	2023-02-05 23:28:17 UTC (rev 10581)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-11-27)
+; Updated by TeraTerm Project (2023-02-06)
 ; Last translated (Traditional Chinese language) by kikiqqp (2014-09-20)
 
 [Tera Term]
@@ -831,6 +831,26 @@
 DLG_HOSTKEY_ROTATION_ADD=%u new key(s):
 DLG_HOSTKEY_ROTATION_REMOVE=%u obsolete key(s):
 
+; dlg SCP
+DLG_SCP_TITLE=TTSSH: Secure Copy Protocol (SCP)
+DLG_SCP_SENDFILE_FROM=&From:
+DLG_SCP_SENDFILE_TO=To:
+DLG_SCP_SENDFILE_DRAG=You can drag the file to this window.
+DLG_SCP_SENDFILE_SEND=&Send
+DLG_SCP_SENDFILE_CANCEL=&Cancel
+DLG_SCP_RECEIVEFILE_FROM=Fr&om:
+DLG_SCP_RECEIVEFILE_TO=To:
+DLG_SCP_RECEIVEFILE_RECEIVE=&Receive
+DLG_SCP_SELECT_FILE_TITLE=Choose a sending file with SCP
+DLG_SCP_SELECT_DEST_TITLE=Choose destination directory
+
+; dlg SCP progress
+DLG_SCP_PROGRESS_TITLE_SENDFILE=TTSSH: SCP sending file
+DLG_SCP_PROGRESS_TITLE_RECEIVEFILE=TTSSH: SCP receiving file
+DLG_SCP_PROGRESS_FILENAME_LABEL=Filename:
+DLG_SCP_PROGRESS_BYTES_LABEL=Bytes transfered:
+DLG_SCP_PROGRESS_TIME_LABEL=Time elapsed:
+
 ; crypt.c
 MSG_ENCRYPT_ERROR1=%s\xA5[\xB1K\xBF\xF9\xBB~(1): bytes %d (%d)
 MSG_ENCRYPT_ERROR2=%s\xA5[\xB1K\xBF\xF9\xBB~(2)
@@ -926,6 +946,14 @@
 MSG_SSH_SUBSYSTEM_REQUEST_ERROR=subsystem request failed. (%s)
 MSG_SSH_AGENTERROR_TITLE=Bad agent request
 MSG_SSH_AGENTERROR_TOOLARGE=Agent request size is too large, ignore it.
+MSG_SSH_SCP_FILEOPEN_ERROR_TITLE=TTSSH: file open error
+MSG_SSH_SCP_FILEOPEN_READ_ERROR=Can't open file for reading:
+MSG_SSH_SCP_FILEOPEN_READONLY_ERROR=`%s' file is read only.
+MSG_SSH_SCP_FILEOPEN_OVERWRITE_CONFIRM=`%s' file exists.\noverwrite it?
+MSG_SSH_SCP_FILEOPEN_WRITE_ERROR=Can't open file for writing:
+MSG_SSH_SCP_CONFIRM_TITLE=TTSSH: confirm
+MSG_SSH_SCP_ERROR_TITLE=TTSSH: SCP error
+MSG_SSH_SCP_ERROR_INIT_TITLE=TTSSH: SCP error (SCP_INIT)
 
 ; ttxssh.c
 MSG_UNKNOWN_OPTION_ERROR=\xB5L\xAEĪ\xBA\xA9R\xA5O\xA6\xE6\xBFﶵ\xA1G%s

Modified: branches/4-stable/ttssh2/ttxssh/resource.h
===================================================================
--- branches/4-stable/ttssh2/ttxssh/resource.h	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/ttssh2/ttxssh/resource.h	2023-02-05 23:28:17 UTC (rev 10581)
@@ -163,16 +163,17 @@
 #define IDC_SSHFWDLOCALTOREMOTE_CHECKIDENTITY 1089
 #define IDC_SENDFILE_SELECT             1090
 #define IDC_FILE_PROGRESS               1092
+#define IDC_SENDFILE_NOTE               1092
 #define IDC_FILENAME                    1093
 #define IDC_RECVDIR_SELECT              1093
 #define IDC_PROGRESS                    1094
-#define IDC_FN_STATIC                   1095
+#define IDC_SCP_PROGRESS_FILENAME_LABEL 1095
 #define IDC_RECVFILE                    1096
 #define IDC_RECV                        1097
 #define IDC_SFTP_TEST                   1098
 #define IDC_DUMMY_LINE                  1099
 #define IDC_LOCALUSERNAMELABEL          1100
-#define IDC_RECV_TO_DIRECTORY           1100
+#define IDC_RECVFILE_TO_LABEL           1100
 #define IDC_LOCALUSERNAME               1101
 #define IDC_RECVFILE_TO                 1101
 #define IDC_CHOOSEHOSTRSAFILE           1102
@@ -243,6 +244,11 @@
 #define IDC_SSHSETUP_HELP               1249
 #define IDC_SSHFWDSETUP_HELP            1250
 #define IDC_SSHAUTHSETUP_HELP           1251
+#define IDC_SENDFILE_FROM_LABEL         1252
+#define IDC_SENDFILE_TO_LABEL           1253
+#define IDC_RECEIVEFILE_FROM_LABEL      1254
+#define IDC_SCP_PROGRESS_BYTE_LABEL     1255
+#define IDC_SCP_PROGRESS_TIME_LABEL     1256
 
 // Next default values for new objects
 //
@@ -250,7 +256,7 @@
 #ifndef APSTUDIO_READONLY_SYMBOLS
 #define _APS_NEXT_RESOURCE_VALUE        118
 #define _APS_NEXT_COMMAND_VALUE         40001
-#define _APS_NEXT_CONTROL_VALUE         1252
+#define _APS_NEXT_CONTROL_VALUE         1257
 #define _APS_NEXT_SYMED_VALUE           101
 #endif
 #endif

Modified: branches/4-stable/ttssh2/ttxssh/ssh.c
===================================================================
--- branches/4-stable/ttssh2/ttxssh/ssh.c	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/ttssh2/ttxssh/ssh.c	2023-02-05 23:28:17 UTC (rev 10581)
@@ -4140,7 +4140,9 @@
 		if (fp == NULL) {
 			char buf[1024];
 			int len;
-			strcpy_s(buf, sizeof(buf), "Can't open file for reading: ");
+			UTIL_get_lang_msg("MSG_SSH_SCP_FILEOPEN_READ_ERROR", pvar,
+			                  "Can't open file for reading:");
+			_snprintf_s(buf, sizeof(buf), _TRUNCATE, "%s ", pvar->ts->UIMsg);
 			len = strlen(buf);
 			FormatMessage(
 			    FORMAT_MESSAGE_FROM_SYSTEM,
@@ -4150,7 +4152,9 @@
 			    buf+len,
 			    sizeof(buf)-len,
 			    NULL);
-			MessageBox(NULL, buf, "TTSSH: file open error", MB_OK | MB_ICONERROR);
+			UTIL_get_lang_msg("MSG_SSH_SCP_FILEOPEN_ERROR_TITLE", pvar,
+			                  "TTSSH: file open error");
+			MessageBox(NULL, buf, pvar->ts->UIMsg, MB_OK | MB_ICONERROR);
 			goto error;
 		}
 
@@ -4191,12 +4195,20 @@
 			char buf[512];
 			int dlgresult;
 			if (_access(c->scp.localfilefull, 0x02) == -1) { // 0x02 == writable
-				_snprintf_s(buf, sizeof(buf), _TRUNCATE, "`%s' file is read only.", c->scp.localfilefull);
-				MessageBox(NULL, buf, "TTSSH: file open error", MB_OK | MB_ICONERROR);
+				UTIL_get_lang_msg("MSG_SSH_SCP_FILEOPEN_READONLY_ERROR", pvar,
+				                  "`%s' file is read only.");
+				_snprintf_s(buf, sizeof(buf), _TRUNCATE, pvar->ts->UIMsg, c->scp.localfilefull);
+				UTIL_get_lang_msg("MSG_SSH_SCP_FILEOPEN_ERROR_TITLE", pvar,
+				                  "TTSSH: file open error");
+				MessageBox(NULL, buf, pvar->ts->UIMsg, MB_OK | MB_ICONERROR);
 				goto error;
 			}
-			_snprintf_s(buf, sizeof(buf), _TRUNCATE, "`%s' file exists.\noverwrite it?", c->scp.localfilefull);
-			dlgresult = MessageBox(NULL, buf, "TTSSH: confirm", MB_YESNO | MB_ICONQUESTION);
+			UTIL_get_lang_msg("MSG_SSH_SCP_FILEOPEN_OVERWRITE_CONFIRM", pvar,
+			                  "`%s' file exists.\noverwrite it?");
+			_snprintf_s(buf, sizeof(buf), _TRUNCATE, pvar->ts->UIMsg, c->scp.localfilefull);
+			UTIL_get_lang_msg("MSG_SSH_SCP_CONFIRM_TITLE", pvar,
+			                  "TTSSH: confirm");
+			dlgresult = MessageBox(NULL, buf, pvar->ts->UIMsg, MB_YESNO | MB_ICONQUESTION);
 			if (dlgresult == IDNO) {
 				goto error;
 			}
@@ -4206,7 +4218,9 @@
 		if (fp == NULL) {
 			char buf[1024];
 			int len;
-			strcpy_s(buf, sizeof(buf), "Can't open file for writing: ");
+			UTIL_get_lang_msg("MSG_SSH_SCP_FILEOPEN_WRITE_ERROR", pvar,
+			                  "Can't open file for writing:");
+			_snprintf_s(buf, sizeof(buf), _TRUNCATE, "%s ", pvar->ts->UIMsg);
 			len = strlen(buf);
 			FormatMessage(
 			    FORMAT_MESSAGE_FROM_SYSTEM,
@@ -4216,7 +4230,9 @@
 			    buf+len,
 			    sizeof(buf)-len,
 			    NULL);
-			MessageBox(NULL, buf, "TTSSH: file open error", MB_OK | MB_ICONERROR);
+			UTIL_get_lang_msg("MSG_SSH_SCP_FILEOPEN_ERROR_TITLE", pvar,
+			                  "TTSSH: file open error");
+			MessageBox(NULL, buf, pvar->ts->UIMsg, MB_OK | MB_ICONERROR);
 			goto error;
 		}
 
@@ -8211,8 +8227,16 @@
 		c->scp.pvar = pvar;
 
 		hDlgWnd = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SSHSCP_PROGRESS),
-				   pvar->cv->HWin, (DLGPROC)ssh_scp_dlg_proc);
+		                       pvar->cv->HWin, (DLGPROC)ssh_scp_dlg_proc);
 		if (hDlgWnd != NULL) {
+			const static DlgTextInfo text_info[] = {
+				{ 0, "DLG_SCP_PROGRESS_TITLE_SENDFILE" },
+				{ IDC_SCP_PROGRESS_FILENAME_LABEL, "DLG_SCP_PROGRESS_FILENAME_LABEL" },
+				{ IDC_SCP_PROGRESS_BYTE_LABEL, "DLG_SCP_PROGRESS_BYTES_LABEL" },
+				{ IDC_SCP_PROGRESS_TIME_LABEL, "DLG_SCP_PROGRESS_TIME_LABEL" },
+			};
+			SetI18DlgStrs("TTSSH", hDlgWnd, text_info, _countof(text_info), pvar->ts->UILanguageFile);
+
 			c->scp.progress_window = hDlgWnd;
 			ShowWindow(hDlgWnd, SW_SHOW);
 		}
@@ -8470,10 +8494,17 @@
 			// \x90i\x92\xBB\x83E\x83B\x83\x93\x83h\x83E
 			c->scp.pvar = pvar;
 			hDlgWnd = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SSHSCP_PROGRESS),
-					   pvar->cv->HWin, (DLGPROC)ssh_scp_dlg_proc);
+			                       pvar->cv->HWin, (DLGPROC)ssh_scp_dlg_proc);
 			if (hDlgWnd != NULL) {
+				const static DlgTextInfo text_info[] = {
+					{ 0, "DLG_SCP_PROGRESS_TITLE_RECEIVEFILE" },
+					{ IDC_SCP_PROGRESS_FILENAME_LABEL, "DLG_SCP_SENDFILE_FROM" },
+					{ IDC_SCP_PROGRESS_BYTE_LABEL, "DLG_SCP_PROGRESS_BYTES_LABEL" },
+					{ IDC_SCP_PROGRESS_TIME_LABEL, "DLG_SCP_PROGRESS_TIME_LABEL" },
+				};
+				SetI18DlgStrs("TTSSH", hDlgWnd, text_info, _countof(text_info), pvar->ts->UILanguageFile);
+
 				c->scp.progress_window = hDlgWnd;
-				SetWindowText(hDlgWnd, "TTSSH: SCP receiving file");
 				SendMessage(GetDlgItem(hDlgWnd, IDC_FILENAME), WM_SETTEXT, 0, (LPARAM)c->scp.localfilefull);
 				ShowWindow(hDlgWnd, SW_SHOW);
 			}
@@ -8495,8 +8526,10 @@
 			copylen = min(buflen, sizeof(msg));
 			memcpy(msg, data, copylen);
 			msg[copylen - 1] = 0;
-			MessageBox(NULL, msg, "TTSSH: SCP error(SCP_INIT)", MB_OK | MB_ICONEXCLAMATION);
 
+			UTIL_get_lang_msg("MSG_SSH_SCP_ERROR_INIT_TITLE", pvar,
+			                  "TTSSH: SCP error (SCP_INIT)");
+			MessageBox(NULL, msg, pvar->ts->UIMsg, MB_OK | MB_ICONEXCLAMATION);
 		}
 
 	} else if (c->scp.state == SCP_DATA) {  // payload\x82̎\xF3\x90M
@@ -8577,7 +8610,9 @@
 			//ssh2_channel_send_close(pvar, c);
 		}
 
-		MessageBox(NULL, msg, "TTSSH: SCP error", MB_OK | MB_ICONEXCLAMATION);
+		UTIL_get_lang_msg("MSG_SSH_SCP_ERROR_TITLE", pvar,
+		                  "TTSSH: SCP error");
+		MessageBox(NULL, msg, pvar->ts->UIMsg, MB_OK | MB_ICONEXCLAMATION);
 	}
 }
 

Modified: branches/4-stable/ttssh2/ttxssh/ttxssh.c
===================================================================
--- branches/4-stable/ttssh2/ttxssh/ttxssh.c	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/ttssh2/ttxssh/ttxssh.c	2023-02-05 23:28:17 UTC (rev 10581)
@@ -3414,6 +3414,21 @@
 
 	switch (msg) {
 	case WM_INITDIALOG:
+		{
+			const static DlgTextInfo text_info[] = {
+				{ 0, "DLG_SCP_TITLE" },
+				{ IDC_SENDFILE_FROM_LABEL, "DLG_SCP_SENDFILE_FROM" },
+				{ IDC_SENDFILE_TO_LABEL, "DLG_SCP_SENDFILE_TO" },
+				{ IDC_SENDFILE_NOTE, "DLG_SCP_SENDFILE_DRAG" },
+				{ IDOK, "DLG_SCP_SENDFILE_SEND" },
+				{ IDCANCEL, "DLG_SCP_SENDFILE_CANCEL" },
+				{ IDC_RECEIVEFILE_FROM_LABEL, "DLG_SCP_RECEIVEFILE_FROM" },
+				{ IDC_RECVFILE_TO_LABEL, "DLG_SCP_RECEIVEFILE_TO" },
+				{ IDC_RECV, "DLG_SCP_RECEIVEFILE_RECEIVE" },
+			};
+			SetI18DlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
+		}
+
 		DragAcceptFiles(dlg, TRUE);
 
 		// SCP\x83t\x83@\x83C\x83\x8B\x91\x97\x90M\x90\xE6\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9
@@ -3470,7 +3485,9 @@
 			get_lang_msg("FILEDLG_SELECT_LOGVIEW_APP_TITLE", uimsg, sizeof(uimsg),
 			             "Choose a executing file with launching logging file", ts.UILanguageFile);
 #endif
-			ofn.lpstrTitle = "Choose a sending file with SCP";
+			UTIL_get_lang_msg("DLG_SCP_SELECT_FILE_TITLE", pvar,
+			                  "Choose a sending file with SCP");
+			ofn.lpstrTitle = pvar->ts->UIMsg;
 
 			ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
 			ofn.Flags |= OFN_FORCESHOWHIDDEN;
@@ -3485,7 +3502,9 @@
 			char buf[MAX_PATH], buf2[MAX_PATH];
 			hWnd = GetDlgItem(dlg, IDC_RECVFILE_TO);
 			SendMessage(hWnd, WM_GETTEXT , sizeof(buf), (LPARAM)buf);
-			if (doSelectFolder(dlg, buf2, sizeof(buf2), buf, "Choose destination directory")) {
+			UTIL_get_lang_msg("DLG_SCP_SELECT_DEST_TITLE", pvar,
+			                  "Choose destination directory");
+			if (doSelectFolder(dlg, buf2, sizeof(buf2), buf, pvar->ts->UIMsg)) {
 				strncpy_s(recvdir, sizeof(recvdir), buf2, _TRUNCATE);
 				SendMessage(GetDlgItem(dlg, IDC_RECVFILE_TO), WM_SETTEXT, 0, (LPARAM)recvdir);
 			}

Modified: branches/4-stable/ttssh2/ttxssh/ttxssh.rc
===================================================================
--- branches/4-stable/ttssh2/ttxssh/ttxssh.rc	2023-02-05 15:34:47 UTC (rev 10580)
+++ branches/4-stable/ttssh2/ttxssh/ttxssh.rc	2023-02-05 23:28:17 UTC (rev 10581)
@@ -351,40 +351,40 @@
 
 IDD_SSHSCP DIALOGEX 0, 0, 279, 125
 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "TTSSH: Secure File Copy"
+CAPTION "TTSSH: Secure Copy Protocol (SCP)"
 FONT 8, "Tahoma", 0, 0, 0x0
 BEGIN
-    LTEXT           "&From:",IDC_STATIC,10,8,20,8
-    EDITTEXT        IDC_SENDFILE_EDIT,35,7,156,14,ES_AUTOHSCROLL
-    PUSHBUTTON      "...",IDC_SENDFILE_SELECT,196,7,14,14
-    LTEXT           "To:    remote host home directory",IDC_STATIC,18,25,16,8
-    EDITTEXT        IDC_SENDFILE_TO,35,24,156,14,ES_AUTOHSCROLL
-    LTEXT           "You can drag the file to this window.",IDC_FILE_PROGRESS,44,43,128,11,0,WS_EX_STATICEDGE
-    DEFPUSHBUTTON   "&Send",IDOK,222,7,50,14
-    PUSHBUTTON      "&Cancel",IDCANCEL,222,24,50,14
-    PUSHBUTTON      "SFTP Test",IDC_SFTP_TEST,222,45,50,14,NOT WS_VISIBLE
+    LTEXT           "&From:",IDC_SENDFILE_FROM_LABEL,10,8,30,8,0,WS_EX_RIGHT
+    EDITTEXT        IDC_SENDFILE_EDIT,45,7,150,14,ES_AUTOHSCROLL
+    PUSHBUTTON      "...",IDC_SENDFILE_SELECT,200,7,14,14
+    LTEXT           "To:",IDC_SENDFILE_TO_LABEL,10,25,30,8,0,WS_EX_RIGHT
+    EDITTEXT        IDC_SENDFILE_TO,45,24,150,14,ES_AUTOHSCROLL
+    LTEXT           "You can drag the file to this window.",IDC_SENDFILE_NOTE,45,43,170,11
+    DEFPUSHBUTTON   "&Send",IDOK,223,7,50,14
+    PUSHBUTTON      "&Cancel",IDCANCEL,223,24,50,14
+    PUSHBUTTON      "SFTP Test",IDC_SFTP_TEST,223,45,50,14,NOT WS_VISIBLE
     LTEXT           "-----------------------------------------------------------------------------------------------------------",IDC_DUMMY_LINE,7,63,265,8
-    LTEXT           "Fr&om:",IDC_STATIC,7,81,20,8
-    EDITTEXT        IDC_RECVFILE,37,78,154,14,ES_AUTOHSCROLL
-    LTEXT           "To: ",IDC_RECV_TO_DIRECTORY,15,100,16,8
-    EDITTEXT        IDC_RECVFILE_TO,37,97,154,14,ES_AUTOHSCROLL
-    PUSHBUTTON      "...",IDC_RECVDIR_SELECT,196,97,14,14
-    PUSHBUTTON      "&Receive",IDC_RECV,222,77,50,14
+    LTEXT           "Fr&om:",IDC_RECEIVEFILE_FROM_LABEL,10,81,30,8,0,WS_EX_RIGHT
+    EDITTEXT        IDC_RECVFILE,45,78,150,14,ES_AUTOHSCROLL
+    LTEXT           "To: ",IDC_RECVFILE_TO_LABEL,10,100,30,8,0,WS_EX_RIGHT
+    EDITTEXT        IDC_RECVFILE_TO,45,97,150,14,ES_AUTOHSCROLL
+    PUSHBUTTON      "...",IDC_RECVDIR_SELECT,200,97,14,14
+    PUSHBUTTON      "&Receive",IDC_RECV,223,77,50,14
 END
 
-IDD_SSHSCP_PROGRESS DIALOGEX 0, 0, 166, 100
-STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
+IDD_SSHSCP_PROGRESS DIALOGEX 0, 0, 200, 100
+STYLE DS_SETFONT | DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
 CAPTION "TTSSH: SCP sending file"
 FONT 8, "Tahoma", 0, 0, 0x0
 BEGIN
-    LTEXT           "Filename:",IDC_FN_STATIC,7,7,32,8
-    EDITTEXT        IDC_FILENAME,45,6,114,14,ES_AUTOHSCROLL | ES_READONLY
-    LTEXT           "Bytes:",IDC_STATIC,7,29,32,8
-    LTEXT           "0%",IDC_PROGRESS,40,29,141,8
-    LTEXT           "Time:",IDC_STATIC,7,39,32,8
-    LTEXT           "0:00",IDC_PROGTIME,40,39,141,8
-    CONTROL         "",IDC_PROGBAR,"msctls_progress32",WS_BORDER,7,52,152,14
-    DEFPUSHBUTTON   "Cancel",IDCANCEL,43,76,73,14
+    LTEXT           "Filename:",IDC_SCP_PROGRESS_FILENAME_LABEL,7,9,40,8
+    EDITTEXT        IDC_FILENAME,53,7,140,14,ES_AUTOHSCROLL | ES_READONLY
+    LTEXT           "Bytes transfered:",IDC_SCP_PROGRESS_BYTE_LABEL,7,30,60,8
+    LTEXT           "0%",IDC_PROGRESS,73,30,117,8
+    LTEXT           "Time elapsed:",IDC_SCP_PROGRESS_TIME_LABEL,7,42,60,8
+    LTEXT           "0:00",IDC_PROGTIME,73,42,117,8
+    CONTROL         "",IDC_PROGBAR,"msctls_progress32",WS_BORDER,7,54,186,14
+    DEFPUSHBUTTON   "Cancel",IDCANCEL,70,80,60,14
 END
 
 IDD_SSHPASSWD_INPUT DIALOGEX 0, 0, 240, 102
@@ -576,7 +576,7 @@
     IDD_SSHSCP_PROGRESS, DIALOG
     BEGIN
         LEFTMARGIN, 7
-        RIGHTMARGIN, 159
+        RIGHTMARGIN, 193
         TOPMARGIN, 7
         BOTTOMMARGIN, 93
     END
@@ -653,11 +653,16 @@
 // Icon with lowest ID value placed first to ensure application icon
 // remains consistent on all systems.
 IDI_SECURETT            ICON                    "ttsecure.ico"
+
 IDI_SECURETT_CLASSIC    ICON                    "ttsecure_classic.ico"
+
 IDI_SECURETT_YELLOW     ICON                    "ttsecure_yellow.ico"
+
 IDI_SECURETT_GREEN      ICON                    "ttsecure_green.ico"
+
 IDI_DROPDOWN            ICON                    "dropdown.ico"
 
+
 /////////////////////////////////////////////////////////////////////////////
 //
 // AFX_DIALOG_LAYOUT
@@ -673,6 +678,16 @@
     0x0000
 END
 
+IDD_SSHSCP AFX_DIALOG_LAYOUT 
+BEGIN
+    0x0000
+END
+
+IDD_SSHSCP_PROGRESS AFX_DIALOG_LAYOUT 
+BEGIN
+    0x0000
+END
+
 #endif    // \x89p\x8C\xEA (\x95č\x91) resources
 /////////////////////////////////////////////////////////////////////////////
 


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