[Ttssh2-commit] [6019] 言語ファイルのスペルミスを修正した。

svnno****@sourc***** svnno****@sourc*****
2015年 9月 14日 (月) 01:23:20 JST


Revision: 6019
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6019
Author:   yutakapon
Date:     2015-09-14 01:23:19 +0900 (Mon, 14 Sep 2015)
Log Message:
-----------
言語ファイルのスペルミスを修正した。
合わせて、ソースコードに埋め込まれている文章も修正した。

Modified Paths:
--------------
    trunk/TTProxy/ProxyWSockHook.h
    trunk/installer/release/lang/English.lng
    trunk/installer/release/lang/French.lng
    trunk/installer/release/lang/German.lng
    trunk/ttpmenu/ttpmenu.rc
    trunk/ttssh2/ttxssh/auth.c
    trunk/ttssh2/ttxssh/fwdui.c
    trunk/ttssh2/ttxssh/keyfiles.c
    trunk/ttssh2/ttxssh/ssh.c

-------------- next part --------------
Modified: trunk/TTProxy/ProxyWSockHook.h
===================================================================
--- trunk/TTProxy/ProxyWSockHook.h	2015-09-13 14:20:42 UTC (rev 6018)
+++ trunk/TTProxy/ProxyWSockHook.h	2015-09-13 16:23:19 UTC (rev 6019)
@@ -1923,7 +1923,7 @@
                                               "Unable to get Issuer Certificate");
                         case IDS_UNABLE_TO_GET_CRL:
                             UTIL_get_lang_msg("MSG_UNABLE_TO_GET_CRL", uimsg, sizeof(uimsg),
-                                              "Unable to get Ceritifcate CRL");
+                                              "Unable to get Certificate CRL");
                         case IDS_UNABLE_TO_DECRYPT_CERT_SIGNATURE:
                             UTIL_get_lang_msg("MSG_UNABLE_TO_DECRYPT_CERT_SIGNATURE", uimsg, sizeof(uimsg),
                                               "Unable to decrypt Certificate's Signature");
@@ -2010,7 +2010,7 @@
                                               "Authority and Issuer Serial Number mismatch");
                         case IDS_KEYUSAGE_NO_CERTSIGN:
                             UTIL_get_lang_msg("MSG_KEYUSAGE_NO_CERTSIGN", uimsg, sizeof(uimsg),
-                                              "Key usage does not include Ceritifcate signing");
+                                              "Key usage does not include Certificate signing");
                         case IDS_APPLICATION_VERIFICATION:
                             UTIL_get_lang_msg("MSG_APPLICATION_VERIFICATION", uimsg, sizeof(uimsg),
                                               "Application verification failure");

Modified: trunk/installer/release/lang/English.lng
===================================================================
--- trunk/installer/release/lang/English.lng	2015-09-13 14:20:42 UTC (rev 6018)
+++ trunk/installer/release/lang/English.lng	2015-09-13 16:23:19 UTC (rev 6019)
@@ -568,7 +568,7 @@
 FILEDLG_OPEN_PRIVATEKEY_FILTER=identity files\0identity;id_rsa;id_dsa;id_ecdsa;id_ed25519;*.ppk\0identity(RSA1)\0identity\0id_rsa(SSH2)\0id_rsa\0id_dsa(SSH2)\0id_dsa\0id_ecdsa(SSH2)\0id_ecdsa\0id_ed25519(SSH2)\0id_ed25519\0PuTTY(*.ppk)\0*.ppk\0all(*.*)\0*.*\0\0
 MSG_KEYSPECIFY_ERROR=You must specify a file containing the RSA/DSA/ECDSA/ED25519 private key.
 MSG_READKEY_ERROR=read error SSH2 private key file\n%s
-MSG_RHOSTS_NOTDEFAULT_ERROR=Rhosts authentication will probably fail because it was not the default authentication method.\nTo use Rhosts authentication in TTSSH, you need to set it to be the default by restarting\nTTSSH and selecting "SSH Authentication..." from the Setup menubefore connecting.
+MSG_RHOSTS_NOTDEFAULT_ERROR=Rhosts authentication will probably fail because it was not the default authentication method.\nTo use Rhosts authentication in TTSSH, you need to set it to be the default by restarting\nTTSSH and selecting "SSH Authentication..." from the Setup menu before connecting.
 MSG_NOAUTHMETHOD_ERROR=Server does not support any of the authentication options\nprovided by TTSSH. This connection will now close.
 
 ; dlg diff key
@@ -598,10 +598,10 @@
 DLG_FWD_REMOTE_LOCAL=to local m&achine
 DLG_FWD_REMOTE_LOCAL_PORT=p&ort
 
-MSG_SAME_SERVERPORT_ERROR=You cannot have two forwardings from the same server port (%d).
-MSG_SAME_LOCALPORT_ERROR=You cannot have two forwardings from the same local port (%d).
-MSG_UNSPECIFYIED_FWD_ERROR1=The following forwardings were not specified when this SSH session began:\n\n
-MSG_UNSPECIFYIED_FWD_ERROR2=\nDue to a limitation of the SSH protocol, these forwardings will not work in the current SSH session.\nIf you save these settings and start a new SSH session, the forwardings should work.
+MSG_SAME_SERVERPORT_ERROR=You cannot have two forwarding from the same server port (%d).
+MSG_SAME_LOCALPORT_ERROR=You cannot have two forwarding from the same local port (%d).
+MSG_UNSPECIFYIED_FWD_ERROR1=The following forwarding were not specified when this SSH session began:\n\n
+MSG_UNSPECIFYIED_FWD_ERROR2=\nDue to a limitation of the SSH protocol, these forwarding will not work in the current SSH session.\nIf you save these settings and start a new SSH session, the forwarding should work.
 MSG_INVALID_PORT_ERROR=Port "%s" is not a valid port number.\nEither choose a port name from the list, or enter a number between 1 and 65535.
 
 ; dlg fwd setup
@@ -792,7 +792,7 @@
 MSG_KEYFILES_PRIVATEKEY_NOCIPHER_ERROR=The specified key file cannot be decrypted using the passphrase.\nThe cipher type used to encrypt the file is not supported by TTSSH for this purpose.
 MSG_KEYFILES_PASSPHRASE_EMPTY_ERROR=The specified key file cannot be decrypted using the empty passphrase.\nFor auto-login, you must create a key file with no passphrase.\nBEWARE: This means the key can easily be stolen.
 MSG_KEYFILES_PASSPHRASE_ERROR=The specified key file cannot be decrypted using the passphrase.\nThe passphrase is incorrect.
-MSG_KEYFILES_CRYPTOLIB_ERROR=Error in crytography library.\nPerhaps the stored key is invalid.
+MSG_KEYFILES_CRYPTOLIB_ERROR=Error in cryptography library.\nPerhaps the stored key is invalid.
 
 ; pkt.c
 MSG_PKT_OVERSIZED_ERROR=Oversized packet received from server; connection will close.
@@ -818,7 +818,7 @@
 MSG_SSH_SETUP_COMP_ERROR=An error occurred while setting up compression.\nThe connection will close.
 MSG_SSH_DECRYPT_RSA_ERROR=An error occurred while decrypting the RSA challenge.\nPerhaps the key file is corrupted.
 MSG_SSH_UNSUPPORT_AUTH_METHOD_ERROR=Internal error: unsupported authentication method
-MSG_SSH_AUTH_FAILURE_ERROR=SSH2 autologin error: user authentication failed.
+MSG_SSH_AUTH_FAILURE_ERROR=SSH2 auto-login error: user authentication failed.
 MSG_SSH_SERVER_NO_AUTH_METHOD_ERROR=The server doesn't have valid authentication method.
 MSG_SSH_SERVER_UNSUPPORT_AUTH_METHOD_ERROR=\nAuthentication method is not supported by server.
 MSG_SSH_CHANNEL_OPEN_ERROR=SSH2_MSG_CHANNEL_OPEN_FAILURE was received.\nchannel [%d]: reason: %s(%d) message: %s
@@ -904,7 +904,7 @@
 MSG_TYPE_NONE=Without Proxy
 MSG_LOGFILE_SELECT=Select Logfile
 MSG_UNABLE_TO_GET_ISSUER_CERT=Unable to get Issuer Certificate
-MSG_UNABLE_TO_GET_CRL=Unable to get Ceritifcate CRL
+MSG_UNABLE_TO_GET_CRL=Unable to get Certificate CRL
 MSG_UNABLE_TO_DECRYPT_CERT_SIGNATURE=Unable to decrypt Certificate's Signature
 MSG_UNABLE_TO_DECRYPT_CRL_SIGNATURE=Unable to decrypt CRL's Signature
 MSG_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY=Unable to decode Issuer Public Key
@@ -933,7 +933,7 @@
 MSG_SUBJECT_ISSUER_MISMATCH=Subject Issuer mismatch
 MSG_AKID_SKID_MISMATCH=Authority and Subject Key Identifier mismatch
 MSG_AKID_ISSUER_SERIAL_MISMATCH=Authority and Issuer Serial Number mismatch
-MSG_KEYUSAGE_NO_CERTSIGN=Key usage does not include Ceritifcate signing
+MSG_KEYUSAGE_NO_CERTSIGN=Key usage does not include Certificate signing
 MSG_APPLICATION_VERIFICATION=Application verification failure
 MSG_UNMATCH_COMMON_NAME=Umatch Common Name
 MSG_UNABLE_TO_GET_COMMON_NAME=Unable to get Common Name
@@ -959,7 +959,7 @@
 DLG_ABOUT_TITLE=Version Information
 DLG_ABOUT_APPNAME=launch tool
 
-DLG_CONFIG_TITLE=List Cofiguration
+DLG_CONFIG_TITLE=List Configuration
 DLG_CONFIG_ITEM=List Item
 DLG_CONFIG_CONFIG=Configuration
 DLG_CONFIG_NAME=Name
@@ -981,7 +981,7 @@
 DLG_ETC_APP=Application
 DLG_ETC_OPTION=Option
 DLG_ETC_CONFIG=Tera Term Configuration File(except launching)
-DLG_ETC_AUTO=Configuration for autologin
+DLG_ETC_AUTO=Configuration for auto-login
 DLG_ETC_LOGFILE=log file
 DLG_ETC_PROMPT=Prompt
 DLG_ETC_USER=User Name

Modified: trunk/installer/release/lang/French.lng
===================================================================
--- trunk/installer/release/lang/French.lng	2015-09-13 14:20:42 UTC (rev 6018)
+++ trunk/installer/release/lang/French.lng	2015-09-13 16:23:19 UTC (rev 6019)
@@ -981,7 +981,7 @@
 DLG_ETC_APP=Application
 DLG_ETC_OPTION=Option
 DLG_ETC_CONFIG=Fichier de Config Tera Term (sauf lancement)
-DLG_ETC_AUTO=Configuration pour autologin
+DLG_ETC_AUTO=Configuration pour auto-login
 DLG_ETC_LOGFILE=fichier journal
 DLG_ETC_PROMPT=Prompt
 DLG_ETC_USER=Nom d'utilisateur

Modified: trunk/installer/release/lang/German.lng
===================================================================
--- trunk/installer/release/lang/German.lng	2015-09-13 14:20:42 UTC (rev 6018)
+++ trunk/installer/release/lang/German.lng	2015-09-13 16:23:19 UTC (rev 6019)
@@ -601,7 +601,7 @@
 MSG_SAME_SERVERPORT_ERROR=Sie k\xF6nnen nicht zwei Weiterleitungen vom selben Server-Port definieren (%d).
 MSG_SAME_LOCALPORT_ERROR=Sie k\xF6nnen nicht zwei Weiterleitungen vom selben lokalen Port definieren (%d).
 MSG_UNSPECIFYIED_FWD_ERROR1=Die folgenden Weiterleitungen waren zu Beginn dieser SSH-Sitzung nicht definiert:\n\n
-MSG_UNSPECIFYIED_FWD_ERROR2=\nDue to a limitation of the SSH protocol, these forwardings will not work in the current SSH session.\nIf you save these settings and start a new SSH session, the forwardings should work.
+MSG_UNSPECIFYIED_FWD_ERROR2=\nDue to a limitation of the SSH protocol, these forwarding will not work in the current SSH session.\nIf you save these settings and start a new SSH session, the forwarding should work.
 MSG_INVALID_PORT_ERROR="%s" ist keine g\xFCltige Portnummer.\nW\xE4hlen Sie entweder einen Portnamen aus der Liste, oder geben Sie eine Nummer zwischen 1 and 65535 an.
 
 ; dlg fwd setup
@@ -791,7 +791,7 @@
 MSG_KEYFILES_PRIVATEKEY_NOCIPHER_ERROR=The specified key file cannot be decrypted using the passphrase.\nThe cipher type used to encrypt the file is not supported by TTSSH for this purpose.
 MSG_KEYFILES_PASSPHRASE_EMPTY_ERROR=The specified key file cannot be decrypted using the empty passphrase.\nFor auto-login, you must create a key file with no passphrase.\nBEWARE: This means the key can easily be stolen.
 MSG_KEYFILES_PASSPHRASE_ERROR=The specified key file cannot be decrypted using the passphrase.\nThe passphrase is incorrect.
-MSG_KEYFILES_CRYPTOLIB_ERROR=Error in crytography library.\nPerhaps the stored key is invalid.
+MSG_KEYFILES_CRYPTOLIB_ERROR=Error in cryptography library.\nPerhaps the stored key is invalid.
 
 ; pkt.c
 MSG_PKT_OVERSIZED_ERROR=Oversized packet received from server; connection will close.
@@ -817,7 +817,7 @@
 MSG_SSH_SETUP_COMP_ERROR=An error occurred while setting up compression.\nThe connection will close.
 MSG_SSH_DECRYPT_RSA_ERROR=An error occurred while decrypting the RSA challenge.\nPerhaps the key file is corrupted.
 MSG_SSH_UNSUPPORT_AUTH_METHOD_ERROR=Internal error: unsupported authentication method
-MSG_SSH_AUTH_FAILURE_ERROR=SSH2 autologin error: user authentication failed.
+MSG_SSH_AUTH_FAILURE_ERROR=SSH2 auto-login error: user authentication failed.
 MSG_SSH_SERVER_NO_AUTH_METHOD_ERROR=The server doesn't have valid authentication method.
 MSG_SSH_SERVER_UNSUPPORT_AUTH_METHOD_ERROR=\nAuthentication method is not supported by server.
 MSG_SSH_CHANNEL_OPEN_ERROR=SSH2_MSG_CHANNEL_OPEN_FAILURE was received.\nchannel [%d]: reason: %s(%d) message: %s
@@ -903,7 +903,7 @@
 MSG_TYPE_NONE=Without Proxy
 MSG_LOGFILE_SELECT=Select Logfile
 MSG_UNABLE_TO_GET_ISSUER_CERT=Unable to get Issuer Certificate
-MSG_UNABLE_TO_GET_CRL=Unable to get Ceritifcate CRL
+MSG_UNABLE_TO_GET_CRL=Unable to get Certificate CRL
 MSG_UNABLE_TO_DECRYPT_CERT_SIGNATURE=Unable to decrypt Certificate's Signature
 MSG_UNABLE_TO_DECRYPT_CRL_SIGNATURE=Unable to decrypt CRL's Signature
 MSG_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY=Unable to decode Issuer Public Key
@@ -932,7 +932,7 @@
 MSG_SUBJECT_ISSUER_MISMATCH=Subject Issuer mismatch
 MSG_AKID_SKID_MISMATCH=Authority and Subject Key Identifier mismatch
 MSG_AKID_ISSUER_SERIAL_MISMATCH=Authority and Issuer Serial Number mismatch
-MSG_KEYUSAGE_NO_CERTSIGN=Key usage does not include Ceritifcate signing
+MSG_KEYUSAGE_NO_CERTSIGN=Key usage does not include Certificate signing
 MSG_APPLICATION_VERIFICATION=Application verification failure
 MSG_UNMATCH_COMMON_NAME=Umatch Common Name
 MSG_UNABLE_TO_GET_COMMON_NAME=Unable to get Common Name
@@ -980,7 +980,7 @@
 DLG_ETC_APP=Anwendung
 DLG_ETC_OPTION=Option
 DLG_ETC_CONFIG=TeraTerm-Konfigurationsdatei (except launching)
-DLG_ETC_AUTO=Configuration for autologin
+DLG_ETC_AUTO=Configuration for auto-login
 DLG_ETC_LOGFILE=Log-Datei
 DLG_ETC_PROMPT=Prompt
 DLG_ETC_USER=Benutzename

Modified: trunk/ttpmenu/ttpmenu.rc
===================================================================
--- trunk/ttpmenu/ttpmenu.rc	2015-09-13 14:20:42 UTC (rev 6018)
+++ trunk/ttpmenu/ttpmenu.rc	2015-09-13 16:23:19 UTC (rev 6019)
@@ -16,10 +16,8 @@
 // \x89p\x8C\xEA (\x95č\x91) resources
 
 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 #pragma code_page(1252)
-#endif //_WIN32
 
 #ifdef APSTUDIO_INVOKED
 /////////////////////////////////////////////////////////////////////////////
@@ -63,7 +61,7 @@
 // Menu
 //
 
-TTERM_MENU MENU 
+TTERM_MENU MENU
 BEGIN
     POPUP "MENU"
     BEGIN
@@ -142,7 +140,7 @@
     CTEXT           "Option",LBL_OPTION,8,24,44,12,SS_CENTERIMAGE | SS_SUNKEN
     EDITTEXT        EDIT_OPTION,56,24,148,12,ES_AUTOHSCROLL
     PUSHBUTTON      "Default",BUTTON_DEFAULT,120,156,42,14
-    GROUPBOX        "Configuration for autologin",GRP_AUTOLOGIN,8,84,199,68
+    GROUPBOX        "Configuration for auto-login",GRP_AUTOLOGIN,8,84,199,68
     GROUPBOX        "TeraTerm Configuration File(except launching)",GRP_INITFILE,8,44,196,32
     EDITTEXT        EDIT_LOG,60,96,124,12,ES_AUTOHSCROLL
     CTEXT           "log file",LBL_LOG,12,96,44,12,SS_CENTERIMAGE | SS_SUNKEN
@@ -168,7 +166,7 @@
 //
 
 #ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO 
+GUIDELINES DESIGNINFO
 BEGIN
     DIALOG_CONFIG, DIALOG
     BEGIN

Modified: trunk/ttssh2/ttxssh/auth.c
===================================================================
--- trunk/ttssh2/ttxssh/auth.c	2015-09-13 14:20:42 UTC (rev 6018)
+++ trunk/ttssh2/ttxssh/auth.c	2015-09-13 16:23:19 UTC (rev 6019)
@@ -635,7 +635,7 @@
 			                  "the default authentication method.\n"
 			                  "To use Rhosts authentication "
 			                  "in TTSSH, you need to set it to be the default by restarting\n"
-			                  "TTSSH and selecting \"SSH Authentication...\" from the Setup menu"
+			                  "TTSSH and selecting \"SSH Authentication...\" from the Setup menu "
 			                  "before connecting.");
 			notify_nonfatal_error(pvar, pvar->ts->UIMsg);
 		}

Modified: trunk/ttssh2/ttxssh/fwdui.c
===================================================================
--- trunk/ttssh2/ttxssh/fwdui.c	2015-09-13 14:20:42 UTC (rev 6018)
+++ trunk/ttssh2/ttxssh/fwdui.c	2015-09-13 16:23:19 UTC (rev 6019)
@@ -921,13 +921,13 @@
 			switch (specs[i].type) {
 			case FWD_REMOTE_TO_LOCAL:
 				UTIL_get_lang_msg("MSG_SAME_SERVERPORT_ERROR", pvar,
-				                  "You cannot have two forwardings from the same server port (%d).");
+				                  "You cannot have two forwarding from the same server port (%d).");
 				_snprintf_s(buf, sizeof(buf), _TRUNCATE,
 				            pvar->ts->UIMsg, specs[i].from_port);
 				break;
 			case FWD_LOCAL_TO_REMOTE:
 				UTIL_get_lang_msg("MSG_SAME_LOCALPORT_ERROR", pvar,
-				                  "You cannot have two forwardings from the same local port (%d).");
+				                  "You cannot have two forwarding from the same local port (%d).");
 				_snprintf_s(buf, sizeof(buf), _TRUNCATE,
 				            pvar->ts->UIMsg, specs[i].from_port);
 				break;
@@ -946,7 +946,7 @@
 
 	if (num_unspecified_forwardings > 0) {
 		UTIL_get_lang_msg("MSG_UNSPECIFYIED_FWD_ERROR1", pvar,
-		                  "The following forwarding(s) was not specified when this SSH session began:\n\n");
+		                  "The following forwarding was not specified when this SSH session began:\n\n");
 		strncat_s(buf, sizeof(buf), pvar->ts->UIMsg, _TRUNCATE);
 
 		for (i = 0; i < num_specs; i++) {
@@ -962,7 +962,7 @@
 		}
 
 		UTIL_get_lang_msg("MSG_UNSPECIFYIED_FWD_ERROR2", pvar,
-		                  "\nDue to a limitation of the SSH protocol, this forwarding(s) will not work in the current SSH session.\n"
+		                  "\nDue to a limitation of the SSH protocol, this forwarding will not work in the current SSH session.\n"
 		                  "If you save these settings and start a new SSH session, the forwarding should work.");
 		strncat_s(buf, sizeof(buf), pvar->ts->UIMsg, _TRUNCATE);
 

Modified: trunk/ttssh2/ttxssh/keyfiles.c
===================================================================
--- trunk/ttssh2/ttxssh/keyfiles.c	2015-09-13 14:20:42 UTC (rev 6018)
+++ trunk/ttssh2/ttxssh/keyfiles.c	2015-09-13 16:23:19 UTC (rev 6019)
@@ -301,7 +301,7 @@
 
 	if (!normalize_key(key)) {
 		UTIL_get_lang_msg("MSG_KEYFILES_CRYPTOLIB_ERROR", pvar,
-		                  "Error in crytography library.\n"
+		                  "Error in cryptography library.\n"
 		                  "Perhaps the stored key is invalid.");
 		notify_nonfatal_error(pvar, pvar->ts->UIMsg);
 

Modified: trunk/ttssh2/ttxssh/ssh.c
===================================================================
--- trunk/ttssh2/ttxssh/ssh.c	2015-09-13 14:20:42 UTC (rev 6018)
+++ trunk/ttssh2/ttxssh/ssh.c	2015-09-13 16:23:19 UTC (rev 6019)
@@ -6902,7 +6902,7 @@
 		char uimsg[MAX_UIMSG];
 		// SSH2\x8E\xA9\x93\xAE\x83\x8D\x83O\x83C\x83\x93\x82\xAA\x97L\x8C\xF8\x82̏ꍇ\x82́A\x83\x8A\x83g\x83\x89\x83C\x82͍s\x82\xED\x82Ȃ\xA2\x81B(2004.12.4 yutaka)
 		UTIL_get_lang_msg("MSG_SSH_AUTH_FAILURE_ERROR", pvar,
-		                  "SSH2 autologin error: user authentication failed.");
+		                  "SSH2 auto-login error: user authentication failed.");
 		strncpy_s(uimsg, sizeof(uimsg), pvar->ts->UIMsg, _TRUNCATE);
 
 		if (pvar->ssh2_authlist != NULL || strlen(pvar->ssh2_authlist) != 0) {



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