[Ttssh2-commit] [6722] パスワード不一致メッセージの i18n 対応

svnno****@sourc***** svnno****@sourc*****
2017年 5月 12日 (金) 21:43:32 JST


Revision: 6722
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6722
Author:   doda
Date:     2017-05-12 21:43:32 +0900 (Fri, 12 May 2017)
Log Message:
-----------
パスワード不一致メッセージの i18n 対応

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/ttssh2/ttxssh/ssh.c

-------------- next part --------------
Modified: trunk/installer/release/lang/English.lng
===================================================================
--- trunk/installer/release/lang/English.lng	2017-05-12 12:43:04 UTC (rev 6721)
+++ trunk/installer/release/lang/English.lng	2017-05-12 12:43:32 UTC (rev 6722)
@@ -742,6 +742,7 @@
 DLG_PASSCHG_OLDPASSWD=&Old Password
 DLG_PASSCHG_NEWPASSWD=&New Password
 DLG_PASSCHG_CONFIRMPASSWD=&Confirm Password
+MSG_PASSCHG_MISMATCH=Mismatch; try again.
 
 ; dlg unknown host
 DLG_UNKNOWNHOST_TITLE=SECURITY WARNING

Modified: trunk/installer/release/lang/French.lng
===================================================================
--- trunk/installer/release/lang/French.lng	2017-05-12 12:43:04 UTC (rev 6721)
+++ trunk/installer/release/lang/French.lng	2017-05-12 12:43:32 UTC (rev 6722)
@@ -743,6 +743,7 @@
 DLG_PASSCHG_OLDPASSWD=&Old Password
 DLG_PASSCHG_NEWPASSWD=&New Password
 DLG_PASSCHG_CONFIRMPASSWD=&Confirm Password
+MSG_PASSCHG_MISMATCH=Mismatch; try again.
 
 ; dlg unknown host
 DLG_UNKNOWNHOST_TITLE=ALERTE DE SECURITE

Modified: trunk/installer/release/lang/German.lng
===================================================================
--- trunk/installer/release/lang/German.lng	2017-05-12 12:43:04 UTC (rev 6721)
+++ trunk/installer/release/lang/German.lng	2017-05-12 12:43:32 UTC (rev 6722)
@@ -743,6 +743,7 @@
 DLG_PASSCHG_OLDPASSWD=&Old Password
 DLG_PASSCHG_NEWPASSWD=&New Password
 DLG_PASSCHG_CONFIRMPASSWD=&Confirm Password
+MSG_PASSCHG_MISMATCH=Mismatch; try again.
 
 ; dlg unknown host
 DLG_UNKNOWNHOST_TITLE=SICHERHEITSWARNUNG

Modified: trunk/installer/release/lang/Japanese.lng
===================================================================
--- trunk/installer/release/lang/Japanese.lng	2017-05-12 12:43:04 UTC (rev 6721)
+++ trunk/installer/release/lang/Japanese.lng	2017-05-12 12:43:32 UTC (rev 6722)
@@ -742,6 +742,7 @@
 DLG_PASSCHG_OLDPASSWD=\x8B\x8C\x83p\x83X\x83\x8F\x81[\x83h(&O)
 DLG_PASSCHG_NEWPASSWD=\x90V\x83p\x83X\x83\x8F\x81[\x83h(&N)
 DLG_PASSCHG_CONFIRMPASSWD=\x90V\x83p\x83X\x83\x8F\x81[\x83h\x8Am\x94F(&C)
+MSG_PASSCHG_MISMATCH=\x90V\x83p\x83X\x83\x8F\x81[\x83h\x82\xAA\x88\xEA\x92v\x82\xB5\x82܂\xB9\x82\xF1.
 
 ; dlg unknown host
 DLG_UNKNOWNHOST_TITLE=\x83Z\x83L\x83\x85\x83\x8A\x83e\x83B\x8Cx\x8D\x90

Modified: trunk/installer/release/lang/Korean.lng
===================================================================
--- trunk/installer/release/lang/Korean.lng	2017-05-12 12:43:04 UTC (rev 6721)
+++ trunk/installer/release/lang/Korean.lng	2017-05-12 12:43:32 UTC (rev 6722)
@@ -743,6 +743,7 @@
 DLG_PASSCHG_OLDPASSWD=&Old Password
 DLG_PASSCHG_NEWPASSWD=&New Password
 DLG_PASSCHG_CONFIRMPASSWD=&Confirm Password
+MSG_PASSCHG_MISMATCH=Mismatch; try again.
 
 ; dlg unknown host
 DLG_UNKNOWNHOST_TITLE=\xBA\xB8\xBE\xC8 \xB0\xE6\xB0\xED

Modified: trunk/installer/release/lang/Russian.lng
===================================================================
--- trunk/installer/release/lang/Russian.lng	2017-05-12 12:43:04 UTC (rev 6721)
+++ trunk/installer/release/lang/Russian.lng	2017-05-12 12:43:32 UTC (rev 6722)
@@ -743,6 +743,7 @@
 DLG_PASSCHG_OLDPASSWD=&Old Password
 DLG_PASSCHG_NEWPASSWD=&New Password
 DLG_PASSCHG_CONFIRMPASSWD=&Confirm Password
+MSG_PASSCHG_MISMATCH=Mismatch; try again.
 
 ; dlg unknown host
 DLG_UNKNOWNHOST_TITLE=\xCF\xD0\xC5\xC4\xD3\xCF\xD0\xC5\xC6\xC4\xC5\xCD\xC8\xC5 \xCE \xC1\xC5\xC7\xCE\xCF\xC0\xD1\xCD\xCE\xD1\xD2\xC8

Modified: trunk/installer/release/lang/Simplified Chinese.lng
===================================================================
--- trunk/installer/release/lang/Simplified Chinese.lng	2017-05-12 12:43:04 UTC (rev 6721)
+++ trunk/installer/release/lang/Simplified Chinese.lng	2017-05-12 12:43:32 UTC (rev 6722)
@@ -743,6 +743,7 @@
 DLG_PASSCHG_OLDPASSWD=\xBE\xC9\xC3\xDC\xC2\xEB(&O)
 DLG_PASSCHG_NEWPASSWD=\xD0\xC2\xC3\xDC\xC2\xEB(&N)
 DLG_PASSCHG_CONFIRMPASSWD=ȷ\xC8\xCF\xC3\xDC\xC2\xEB(&C)
+MSG_PASSCHG_MISMATCH=Mismatch; try again.
 
 ; dlg unknown host
 DLG_UNKNOWNHOST_TITLE=\xB0\xB2ȫ\xBE\xAF\xB8\xE6

Modified: trunk/installer/release/lang/Traditional Chinese.lng
===================================================================
--- trunk/installer/release/lang/Traditional Chinese.lng	2017-05-12 12:43:04 UTC (rev 6721)
+++ trunk/installer/release/lang/Traditional Chinese.lng	2017-05-12 12:43:32 UTC (rev 6722)
@@ -743,6 +743,7 @@
 DLG_PASSCHG_OLDPASSWD=&Old Password
 DLG_PASSCHG_NEWPASSWD=&New Password
 DLG_PASSCHG_CONFIRMPASSWD=&Confirm Password
+MSG_PASSCHG_MISMATCH=Mismatch; try again.
 
 ; dlg unknown host
 DLG_UNKNOWNHOST_TITLE=\xA6w\xA5\xFEĵ\xA7i

Modified: trunk/ttssh2/ttxssh/ssh.c
===================================================================
--- trunk/ttssh2/ttxssh/ssh.c	2017-05-12 12:43:04 UTC (rev 6721)
+++ trunk/ttssh2/ttxssh/ssh.c	2017-05-12 12:43:32 UTC (rev 6722)
@@ -7281,7 +7281,8 @@
 
 				return TRUE;
 			} 
-			MessageBox(NULL, "Mismatch; try again.", "ERROR", MB_OK | MB_ICONEXCLAMATION);
+			UTIL_get_lang_msg("MSG_PASSCHG_MISMATCH", pvar, "Mismatch; try again.");
+			MessageBox(NULL, pvar->ts->UIMsg, "ERROR", MB_OK | MB_ICONEXCLAMATION);
 			return FALSE;
 
 		case IDCANCEL:



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