svnno****@sourc*****
svnno****@sourc*****
2013年 2月 22日 (金) 13:17:55 JST
Revision: 5129 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5129 Author: maya Date: 2013-02-22 13:17:55 +0900 (Fri, 22 Feb 2013) 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/Russian.lng 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 2013-02-20 07:42:47 UTC (rev 5128) +++ trunk/installer/release/lang/English.lng 2013-02-22 04:17:55 UTC (rev 5129) @@ -139,6 +139,7 @@ MSG_CYGTERM_CONF_WRITEFILE_ERROR=Can't write CygTerm configuration file (%d). MSG_CYGTERM_CONF_REMOVEFILE_ERROR=Can't remove old CygTerm configuration file (%d). MSG_CYGTERM_CONF_RENAMEFILE_ERROR=Can't rename CygTerm configuration file (%d). +MSG_CYGTERM_CONF_SAVED_NOTICE=%s has been saved. Do not do save setup. FILEDLG_SELECT_LOGVIEW_APP_TITLE=Choose a executing file with launching logging file FILEDLG_SELECT_LOGVIEW_APP_FILTER=exe(*.exe)\0*.exe\0all(*.*)\0*.*\0\0 FILEDLG_SELECT_LOGDIR_TITLE=Select log folder @@ -197,6 +198,7 @@ DLG_TAB_VISUAL_ALHPA=&Alpha blend DLG_TAB_VISUAL_ETERM=&Eterm lookfeel(*) +DLG_TAB_VISUAL_BGIMG=Background &Image DLG_TAB_VISUAL_MOUSE=&Mouse cursor DLG_TAB_VISUAL_FONT_QUALITY=&Font quality DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT=Default @@ -443,6 +445,7 @@ ; common MSG_ERROR=ERROR MSG_TT_ERROR=Tera Term: Error +MSG_TT_NOTICE=Tera Term: Notice MSG_TT_TAKE_EFFECT=This option takes effect the next time a session is started. BTN_OK=OK Modified: trunk/installer/release/lang/French.lng =================================================================== --- trunk/installer/release/lang/French.lng 2013-02-20 07:42:47 UTC (rev 5128) +++ trunk/installer/release/lang/French.lng 2013-02-22 04:17:55 UTC (rev 5129) @@ -139,6 +139,7 @@ MSG_CYGTERM_CONF_WRITEFILE_ERROR=Impossible d'\xE9crire le fichier de configuration de CygTerm (%d). MSG_CYGTERM_CONF_REMOVEFILE_ERROR=Impossible de supprimer l'ancien fichier de configuration de CygTerm (%d). MSG_CYGTERM_CONF_RENAMEFILE_ERROR=Impossible de renommer l'ancien fichier de configuration de CygTerm (%d). +MSG_CYGTERM_CONF_SAVED_NOTICE=%s has been saved. Do not do save setup. FILEDLG_SELECT_LOGVIEW_APP_TITLE=Choisissez un fichier \xE0 ex\xE9cuter au lancement du fichier journal FILEDLG_SELECT_LOGVIEW_APP_FILTER=exe(*.exe)\0*.exe\0all(*.*)\0*.*\0\0 FILEDLG_SELECT_LOGDIR_TITLE=S\xE9lectionner un r\xE9pertoire pour le journal @@ -197,6 +198,7 @@ DLG_TAB_VISUAL_ALHPA=M\xE9lange alpha DLG_TAB_VISUAL_ETERM=Apparence Eterm(*) +DLG_TAB_VISUAL_BGIMG=Background &Image DLG_TAB_VISUAL_MOUSE=Curseur de la souris DLG_TAB_VISUAL_FONT_QUALITY=&Font quality DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT=Default @@ -443,6 +445,7 @@ ; common MSG_ERROR=ERROR MSG_TT_ERROR=Tera Term: Erreur +MSG_TT_NOTICE=Tera Term: Notice MSG_TT_TAKE_EFFECT=This option takes effect the next time a session is started.\nAre you sure that you want to relaunch Tera Term? BTN_OK=OK Modified: trunk/installer/release/lang/German.lng =================================================================== --- trunk/installer/release/lang/German.lng 2013-02-20 07:42:47 UTC (rev 5128) +++ trunk/installer/release/lang/German.lng 2013-02-22 04:17:55 UTC (rev 5129) @@ -139,6 +139,7 @@ MSG_CYGTERM_CONF_WRITEFILE_ERROR=Die CygTerm-Konfigurationsdatei kann nicht geschrieben werden (%d). MSG_CYGTERM_CONF_REMOVEFILE_ERROR=Alte CygTerm-Konfigurationsdatei kann nicht gel\xF6scht werden (%d). MSG_CYGTERM_CONF_RENAMEFILE_ERROR=Die CygTerm-Konfigurationsdatei kann nicht umbenannt werden (%d). +MSG_CYGTERM_CONF_SAVED_NOTICE=%s has been saved. Do not do save setup. FILEDLG_SELECT_LOGVIEW_APP_TITLE=Choose a executing file with launching logging file FILEDLG_SELECT_LOGVIEW_APP_FILTER=exe(*.exe)\0*.exe\0all(*.*)\0*.*\0\0 FILEDLG_SELECT_LOGDIR_TITLE=Log-Ordner ausw\xE4hlen @@ -197,6 +198,7 @@ DLG_TAB_VISUAL_ALHPA=&Transparenz DLG_TAB_VISUAL_ETERM=&Eterm-Aussehen(*) +DLG_TAB_VISUAL_BGIMG=Background &Image DLG_TAB_VISUAL_MOUSE=&Mauszeiger DLG_TAB_VISUAL_FONT_QUALITY=&Font quality DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT=Default @@ -443,6 +445,7 @@ ; common MSG_ERROR=Fehler MSG_TT_ERROR=TeraTerm-Fehler +MSG_TT_NOTICE=Tera Term: Notice MSG_TT_TAKE_EFFECT=This option takes effect the next time a session is started.\nAre you sure that you want to relaunch Tera Term? BTN_OK=OK Modified: trunk/installer/release/lang/Japanese.lng =================================================================== --- trunk/installer/release/lang/Japanese.lng 2013-02-20 07:42:47 UTC (rev 5128) +++ trunk/installer/release/lang/Japanese.lng 2013-02-22 04:17:55 UTC (rev 5129) @@ -139,6 +139,7 @@ MSG_CYGTERM_CONF_WRITEFILE_ERROR=CygTerm \x90ݒ\xE8\x83t\x83@\x83C\x83\x8B\x82ɏ\x91\x8D\x9E\x82݂ł\xAB\x82܂\xB9\x82\xF1 (%d). MSG_CYGTERM_CONF_REMOVEFILE_ERROR=\x8CÂ\xA2 CygTerm \x90ݒ\xE8\x83t\x83@\x83C\x83\x8B\x82\xF0\x8D폜\x82ł\xAB\x82܂\xB9\x82\xF1 (%d). MSG_CYGTERM_CONF_RENAMEFILE_ERROR=CygTerm \x90ݒ\xE8\x83t\x83@\x83C\x83\x8B\x82̖\xBC\x91O\x82\xF0\x95ύX\x82ł\xAB\x82܂\xB9\x82\xF1 (%d). +MSG_CYGTERM_CONF_SAVED_NOTICE=%s \x82\xAA\x95ۑ\xB6\x82\xB3\x82\xEA\x82܂\xB5\x82\xBD\x81B\x90ݒ\xE8\x82\xF0\x95ۑ\xB6\x82\xB5\x82Ȃ\xA2\x82ł\xAD\x82\xBE\x82\xB3\x82\xA2\x81B FILEDLG_SELECT_LOGVIEW_APP_TITLE=Tera Term: \x83G\x83f\x83B\x83^\x82\xF0\x8Ew\x92\xE8 FILEDLG_SELECT_LOGVIEW_APP_FILTER=exe(*.exe)\0*.exe\0\x82\xB7\x82ׂẴt\x83@\x83C\x83\x8B(*.*)\0*.*\0\0 FILEDLG_SELECT_LOGDIR_TITLE=\x83\x8D\x83O\x83t\x83H\x83\x8B\x83_\x82\xF0\x91I\x91\xF0\x82\xB5\x82Ă\xAD\x82\xBE\x82\xB3\x82\xA2 @@ -197,6 +198,7 @@ DLG_TAB_VISUAL_ALHPA=\x94\xBC\x93\xA7\x96\xBE\x93x(&A) DLG_TAB_VISUAL_ETERM=&Eterm\x95\x97\x82ɂ\xB7\x82\xE9(*) +DLG_TAB_VISUAL_BGIMG=\x94w\x8Ci\x89摜(&I) DLG_TAB_VISUAL_MOUSE=\x83}\x83E\x83X\x83J\x81[\x83\\x83\x8B(&M) DLG_TAB_VISUAL_FONT_QUALITY=\x83t\x83H\x83\x93\x83g\x82̕i\x8E\xBF(&F) DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT=\x83f\x83t\x83H\x83\x8B\x83g @@ -443,6 +445,7 @@ ; common MSG_ERROR=\x83G\x83\x89\x81[ MSG_TT_ERROR=Tera Term: \x83G\x83\x89\x81[ +MSG_TT_NOTICE=Tera Term: \x92ʒm MSG_TT_TAKE_EFFECT=\x8E\x9F\x89\xF1\x8BN\x93\xAE\x8E\x9E\x82ɐݒ肪\x97L\x8C\xF8\x82ƂȂ\xE8\x82܂\xB7. BTN_OK=OK Modified: trunk/installer/release/lang/Russian.lng =================================================================== --- trunk/installer/release/lang/Russian.lng 2013-02-20 07:42:47 UTC (rev 5128) +++ trunk/installer/release/lang/Russian.lng 2013-02-22 04:17:55 UTC (rev 5129) @@ -140,6 +140,7 @@ MSG_CYGTERM_CONF_WRITEFILE_ERROR=\xCD\xE5 \xF3\xE4\xE0\xE5\xF2\xF1\xFF \xE7\xE0\xEF\xE8\xF1\xE0\xF2\xFC \xF4\xE0\xE9\xEB \xEA\xEE\xED\xF4\xE8\xE3\xF3\xF0\xE0\xF6\xE8\xE8 CygTerm (%d). MSG_CYGTERM_CONF_REMOVEFILE_ERROR=\xCD\xE5 \xF3\xE4\xE0\xE5\xF2\xF1\xFF \xF3\xE4\xE0\xEB\xE8\xF2\xFC \xF4\xE0\xE9\xEB \xEA\xEE\xED\xF4\xE8\xE3\xF3\xF0\xE0\xF6\xE8\xE8 CygTerm (%d). MSG_CYGTERM_CONF_RENAMEFILE_ERROR=\xCD\xE5 \xF3\xE4\xE0\xE5\xF2\xF1\xFF \xEF\xE5\xF0\xE5\xE8\xEC\xE5\xED\xEE\xE2\xE0\xF2\xFC \xF4\xE0\xE9\xEB \xEA\xEE\xED\xF4\xE8\xE3\xF3\xF0\xE0\xF6\xE8\xE8 CygTerm (%d). +MSG_CYGTERM_CONF_SAVED_NOTICE=%s has been saved. Do not do save setup. FILEDLG_SELECT_LOGVIEW_APP_TITLE=\xC2\xFB\xE1\xE5\xF0\xE8\xF2\xE5 \xE8\xF1\xEF\xEE\xEB\xED\xFF\xE5\xEC\xFB\xE9 \xF4\xE0\xE9\xEB \xE4\xEB\xFF \xE7\xE0\xEF\xF3\xF1\xEA\xE0 \xEB\xEE\xE3-\xF4\xE0\xE9\xEB\xE0 FILEDLG_SELECT_LOGVIEW_APP_FILTER=exe(*.exe)\0*.exe\0all(*.*)\0*.*\0\0 FILEDLG_SELECT_LOGDIR_TITLE=\xD3\xEA\xE0\xE6\xE8\xF2\xE5 \xEF\xE0\xEF\xEA\xF3 \xEB\xEE\xE3-\xF4\xE0\xE9\xEB\xE0 @@ -198,6 +199,7 @@ DLG_TAB_VISUAL_ALHPA=&\xCF\xF0\xEE\xE7\xF0\xE0\xF7\xED\xFB\xE9 DLG_TAB_VISUAL_ETERM=&\xD1\xF2\xE8\xEB\xFC Eterm (*) +DLG_TAB_VISUAL_BGIMG=Background &Image DLG_TAB_VISUAL_MOUSE=&\xCA\xF3\xF0\xF1\xEE\xF0 \xEC\xFB\xF8\xE8 DLG_TAB_VISUAL_FONT_QUALITY=&\xCA\xE0\xF7\xE5\xF1\xF2\xE2\xEE \xF8\xF0\xE8\xF4\xF2\xE0 DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT=\xCF\xEE \xF3\xEC\xEE\xEB\xF7\xE0\xED\xE8\xFE @@ -444,6 +446,7 @@ ; common MSG_ERROR=\xCE\xD8\xC8\xC1\xCA\xC0 MSG_TT_ERROR=Tera Term: \xCE\xF8\xE8\xE1\xEA\xE0 +MSG_TT_NOTICE=Tera Term: Notice MSG_TT_TAKE_EFFECT=\xDD\xF2\xE0 \xEE\xEF\xF6\xE8\xFF \xE4\xE5\xE9\xF1\xF2\xE2\xF3\xE5\xF2 \xEF\xF0\xE8 \xF1\xEB\xE5\xE4\xF3\xFE\xF9\xE5\xE9 \xF1\xE5\xF1\xF1\xE8\xE8. BTN_OK=OK Modified: trunk/teraterm/teraterm/addsetting.cpp =================================================================== --- trunk/teraterm/teraterm/addsetting.cpp 2013-02-20 07:42:47 UTC (rev 5128) +++ trunk/teraterm/teraterm/addsetting.cpp 2013-02-22 04:17:55 UTC (rev 5129) @@ -785,6 +785,9 @@ GetDlgItemText(IDC_ETERM_LOOKFEEL, uimsg, sizeof(uimsg)); get_lang_msg("DLG_TAB_VISUAL_ETERM", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile); SetDlgItemText(IDC_ETERM_LOOKFEEL, ts.UIMsg); + GetDlgItemText(IDC_BGIMG_LABEL, uimsg, sizeof(uimsg)); + get_lang_msg("DLG_TAB_VISUAL_BGIMG", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile); + SetDlgItemText(IDC_BGIMG_LABEL, ts.UIMsg); GetDlgItemText(IDC_MOUSE, uimsg, sizeof(uimsg)); get_lang_msg("DLG_TAB_VISUAL_MOUSE", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile); SetDlgItemText(IDC_MOUSE, ts.UIMsg); @@ -1681,7 +1684,11 @@ // cygterm.cfg \x83t\x83@\x83C\x83\x8B\x82ւ̕ۑ\xB6\x82\xAA\x90\xAC\x8C\x{1C2D42}\xBD\x82\xE7\x81A\x83\x81\x83b\x83Z\x81[\x83W\x83_\x83C\x83A\x83\x8D\x83O\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9\x81B // \x89\xFC\x82߂āASave setup\x82\xF0\x8E\xC0\x8Ds\x82\xB7\x82\xE9\x95K\x97v\x82͂Ȃ\xA2\x82\xB1\x82Ƃ𒍈ӊ\xAB\x8BN\x82\xB7\x82\xE9\x81B // (2012.5.1 yutaka) - MessageBox(CYGTERM_FILE " has been saved. Do not do save setup.", "Tera Term: Notice", MB_OK | MB_ICONINFORMATION); + get_lang_msg("MSG_TT_NOTICE", uimsg, sizeof(uimsg), "MSG_TT_NOTICE", ts.UILanguageFile); + get_lang_msg("MSG_CYGTERM_CONF_SAVED_NOTICE", ts.UIMsg, sizeof(ts.UIMsg), + "%s has been saved. Do not do save setup.", ts.UILanguageFile); + _snprintf_s(buf, sizeof(buf), _TRUNCATE, ts.UIMsg, CYGTERM_FILE); + MessageBox(buf, uimsg, MB_OK | MB_ICONINFORMATION); } } Modified: trunk/teraterm/teraterm/ttermpro.rc =================================================================== --- trunk/teraterm/teraterm/ttermpro.rc 2013-02-20 07:42:47 UTC (rev 5128) +++ trunk/teraterm/teraterm/ttermpro.rc 2013-02-22 04:17:55 UTC (rev 5129) @@ -117,7 +117,7 @@ CONTROL "&Eterm lookfeel(*)",IDC_ETERM_LOOKFEEL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,99,8,72,12 LTEXT "&Mouse cursor",IDC_MOUSE,10,22,70,8 LISTBOX IDC_MOUSE_CURSOR,10,32,48,35,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP - LTEXT "Background Image",IDC_BGIMG_LABEL,100,22,60,8 + LTEXT "Background &Image",IDC_BGIMG_LABEL,100,22,60,8 EDITTEXT IDC_BGIMG_EDIT,98,31,108,14,ES_AUTOHSCROLL PUSHBUTTON "...",IDC_BGIMG_BUTTON,213,31,14,14 LTEXT "&Font Quality",IDC_FONT_QUALITY_LABEL,100,47,70,8