OSDN Git Service

Fix Grammatical error in message box, "Can't found Super project".
authorFrank Li <lznuaa@gmail.com>
Wed, 8 Apr 2009 07:50:07 +0000 (15:50 +0800)
committerFrank Li <lznuaa@gmail.com>
Wed, 8 Apr 2009 08:01:11 +0000 (16:01 +0800)
src/Resources/TortoiseProcENG.rc
src/TortoiseProc/Commands/SubmoduleCommand.cpp
src/TortoiseProc/resource.h

index 0eacb1d..bab9ce6 100644 (file)
Binary files a/src/Resources/TortoiseProcENG.rc and b/src/Resources/TortoiseProcENG.rc differ
index d0aa4bd..ca1ea08 100644 (file)
@@ -18,6 +18,7 @@
 //\r
 #include "StdAfx.h"\r
 #include "SubmoduleCommand.h"\r
+#include "commonresource.h"\r
 \r
 #include "MessageBox.h"\r
 #include "RenameDlg.h"\r
@@ -79,7 +80,7 @@ bool SubmoduleCommand::Execute(CString cmd,  CString arg)
        CString super=g_GitAdminDir.GetSuperProjectRoot( bkpath );\r
        if(super.IsEmpty())\r
        {\r
-               CMessageBox::Show(NULL,_T("Can't found Super project"),_T("TortoiseGit"),MB_OK|MB_ICONERROR);\r
+               CMessageBox::Show(NULL,IDS_ERR_NOTFOUND_SUPER_PRJECT,IDS_APPNAME,MB_OK|MB_ICONERROR);\r
                //change current project root to super project\r
                return false;\r
        }\r
index be3ec7b..dc6f240 100644 (file)
Binary files a/src/TortoiseProc/resource.h and b/src/TortoiseProc/resource.h differ