• R/O
  • HTTP
  • SSH
  • HTTPS

TortoiseGitJp: Commit

TortoiseGit日本語言語ファイル作成


Commit MetaInfo

Revisión6a9461f6bd0fe34b8c2d5bc92ea89f9d63dfddc5 (tree)
Tiempo2010-01-23 15:26:57
AutorFrank Li <lznuaa@gmai...>
CommiterFrank Li

Log Message

Add Missed file

Signed-off-by: Frank Li <lznuaa@gmail.com>

Cambiar Resumen

Diferencia incremental

--- /dev/null
+++ b/ext/gitdll/gitdll.rc
@@ -0,0 +1,82 @@
1+// Microsoft Visual C++ generated resource script.
2+//
3+#include "resource.h"
4+
5+#define APSTUDIO_READONLY_SYMBOLS
6+/////////////////////////////////////////////////////////////////////////////
7+//
8+// Generated from the TEXTINCLUDE 2 resource.
9+//
10+#include "afxres.h"
11+
12+/////////////////////////////////////////////////////////////////////////////
13+#undef APSTUDIO_READONLY_SYMBOLS
14+
15+/////////////////////////////////////////////////////////////////////////////
16+// Chinese (P.R.C.) resources
17+
18+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
19+#ifdef _WIN32
20+LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
21+#pragma code_page(936)
22+#endif //_WIN32
23+
24+#ifdef APSTUDIO_INVOKED
25+/////////////////////////////////////////////////////////////////////////////
26+//
27+// TEXTINCLUDE
28+//
29+
30+1 TEXTINCLUDE
31+BEGIN
32+ "resource.h\0"
33+END
34+
35+2 TEXTINCLUDE
36+BEGIN
37+ "#include ""afxres.h""\r\n"
38+ "\0"
39+END
40+
41+3 TEXTINCLUDE
42+BEGIN
43+ "#include ""gitdll.rc2""\r\n"
44+ "\0"
45+END
46+
47+#endif // APSTUDIO_INVOKED
48+
49+#endif // Chinese (P.R.C.) resources
50+/////////////////////////////////////////////////////////////////////////////
51+
52+
53+/////////////////////////////////////////////////////////////////////////////
54+// English (U.S.) resources
55+
56+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
57+#ifdef _WIN32
58+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
59+#pragma code_page(1252)
60+#endif //_WIN32
61+
62+/////////////////////////////////////////////////////////////////////////////
63+//
64+// String Table
65+//
66+
67+
68+#endif // English (U.S.) resources
69+/////////////////////////////////////////////////////////////////////////////
70+
71+
72+
73+#ifndef APSTUDIO_INVOKED
74+/////////////////////////////////////////////////////////////////////////////
75+//
76+// Generated from the TEXTINCLUDE 3 resource.
77+//
78+#include "gitdll.rc2"
79+
80+/////////////////////////////////////////////////////////////////////////////
81+#endif // not APSTUDIO_INVOKED
82+
--- /dev/null
+++ b/ext/gitdll/resource.h
@@ -0,0 +1,14 @@
1+//{{NO_DEPENDENCIES}}
2+// Microsoft Visual C++ generated include file.
3+// Used by gitdll.rc
4+
5+// Next default values for new objects
6+//
7+#ifdef APSTUDIO_INVOKED
8+#ifndef APSTUDIO_READONLY_SYMBOLS
9+#define _APS_NEXT_RESOURCE_VALUE 101
10+#define _APS_NEXT_COMMAND_VALUE 40001
11+#define _APS_NEXT_CONTROL_VALUE 1001
12+#define _APS_NEXT_SYMED_VALUE 101
13+#endif
14+#endif
--- /dev/null
+++ b/src/TortoiseProc/Commands/SetExtMenu.h
@@ -0,0 +1,85 @@
1+// TortoiseSVN - a Windows shell extension for easy version control
2+
3+// Copyright (C) 2008 - TortoiseSVN
4+
5+// This program is free software; you can redistribute it and/or
6+// modify it under the terms of the GNU General Public License
7+// as published by the Free Software Foundation; either version 2
8+// of the License, or (at your option) any later version.
9+
10+// This program is distributed in the hope that it will be useful,
11+// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+// GNU General Public License for more details.
14+
15+// You should have received a copy of the GNU General Public License
16+// along with this program; if not, write to the Free Software Foundation,
17+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18+//
19+#pragma once
20+#include "resource.h"
21+#include "StandAloneDlg.h"
22+
23+// TortoiseSVN - a Windows shell extension for easy version control
24+
25+// Copyright (C) 2008 - TortoiseSVN
26+
27+// This program is free software; you can redistribute it and/or
28+// modify it under the terms of the GNU General Public License
29+// as published by the Free Software Foundation; either version 2
30+// of the License, or (at your option) any later version.
31+
32+// This program is distributed in the hope that it will be useful,
33+// but WITHOUT ANY WARRANTY; without even the implied warranty of
34+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35+// GNU General Public License for more details.
36+
37+// You should have received a copy of the GNU General Public License
38+// along with this program; if not, write to the Free Software Foundation,
39+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
40+//
41+#pragma once
42+#include "resource.h"
43+#include "StandAloneDlg.h"
44+
45+class CSetMenuEx : public ISettingsPropPage
46+{
47+ DECLARE_DYNAMIC(CSetLookAndFeelPage)
48+
49+public:
50+ CSetLookAndFeelPage();
51+ virtual ~CSetLookAndFeelPage();
52+
53+ UINT GetIconID() {return IDI_MISC;}
54+
55+// Dialog Data
56+ enum { IDD = IDD_SETTINMENUEX };
57+
58+protected:
59+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
60+ virtual BOOL PreTranslateMessage(MSG* pMsg);
61+ virtual BOOL OnApply();
62+ afx_msg void OnBnClickedOnlyexplorer();
63+ afx_msg void OnLvnItemchangedMenulist(NMHDR *pNMHDR, LRESULT *pResult);
64+ afx_msg void OnChange();
65+ afx_msg void OnEnChangeNocontextpaths();
66+
67+ DECLARE_MESSAGE_MAP()
68+public:
69+ virtual BOOL OnInitDialog();
70+
71+private:
72+
73+ CToolTips m_tooltips;
74+ CRegDWORD m_regTopmenu;
75+ CRegDWORD m_regTopmenuhigh;
76+
77+ CImageList m_imgList;
78+ CListCtrl m_cMenuList;
79+ BOOL m_bModified;
80+ unsigned __int64 m_topmenu;
81+ bool m_bBlock;
82+
83+ CString m_sNoContextPaths;
84+ CRegString m_regNoContextPaths;
85+};
--- /dev/null
+++ b/src/TortoiseShell/MenuInfo.h
@@ -0,0 +1,113 @@
1+#pragma once
2+
3+enum GitCommands
4+{
5+ ShellSeparator = 0,
6+ ShellSubMenu = 1,
7+ ShellSubMenuFolder,
8+ ShellSubMenuFile,
9+ ShellSubMenuLink,
10+ ShellSubMenuMultiple,
11+ ShellMenuCheckout,
12+ ShellMenuUpdate,
13+ ShellMenuCommit,
14+ ShellMenuAdd,
15+ ShellMenuAddAsReplacement,
16+ ShellMenuRevert,
17+ ShellMenuCleanup,
18+ ShellMenuResolve,
19+ ShellMenuSwitch,
20+ ShellMenuImport,
21+ ShellMenuExport,
22+ ShellMenuAbout,
23+ ShellMenuCreateRepos,
24+ ShellMenuCopy,
25+ ShellMenuMerge,
26+ ShellMenuMergeAll,
27+ ShellMenuSettings,
28+ ShellMenuRemove,
29+ ShellMenuRemoveKeep,
30+ ShellMenuRename,
31+ ShellMenuUpdateExt,
32+ ShellMenuDiff,
33+ ShellMenuPrevDiff,
34+ ShellMenuUrlDiff,
35+ ShellMenuDiffTwo,
36+ ShellMenuDropCopyAdd,
37+ ShellMenuDropMoveAdd,
38+ ShellMenuDropMove,
39+ ShellMenuDropMoveRename,
40+ ShellMenuDropCopy,
41+ ShellMenuDropCopyRename,
42+ ShellMenuDropExport,
43+ ShellMenuDropExportExtended,
44+ ShellMenuLog,
45+ ShellMenuConflictEditor,
46+ ShellMenuRelocate,
47+ ShellMenuHelp,
48+ ShellMenuShowChanged,
49+ ShellMenuIgnoreSub,
50+ ShellMenuIgnore,
51+ ShellMenuIgnoreFile,
52+ ShellMenuIgnoreCaseSensitive,
53+ ShellMenuIgnoreCaseInsensitive,
54+ ShellMenuRefLog,
55+ ShellMenuRefBrowse,
56+ ShellMenuBlame,
57+ ShellMenuApplyPatch,
58+ ShellMenuCreatePatch,
59+ ShellMenuRevisionGraph,
60+ ShellMenuUnIgnoreSub,
61+ ShellMenuUnIgnoreCaseSensitive,
62+ ShellMenuUnIgnore,
63+// ShellMenuLock,
64+// ShellMenuUnlock,
65+// ShellMenuUnlockForce,
66+ ShellMenuProperties,
67+ ShellMenuDelUnversioned,
68+ ShellMenuClipPaste,
69+ ShellMenuPull,
70+ ShellMenuPush,
71+ ShellMenuClone,
72+ ShellMenuBranch,
73+ ShellMenuTag,
74+ ShellMenuFormatPatch,
75+ ShellMenuImportPatch,
76+ ShellMenuCherryPick,
77+ ShellMenuFetch,
78+ ShellMenuRebase,
79+ ShellMenuStashSave,
80+ ShellMenuStashApply,
81+ ShellMenuStashList,
82+ ShellMenuStashPop,
83+ ShellMenuSubAdd,
84+ ShellMenuSubSync,
85+ ShellMenuSendMail,
86+ ShellMenuGitSVNRebase,
87+ ShellMenuGitSVNDCommit,
88+ ShellMenuGitSVNIgnore, //import svn ignore
89+ ShellMenuSync,
90+ ShellMenuLastEntry // used to mark the menu array end
91+};
92+
93+ // helper struct for context menu entries
94+typedef struct MenuInfo
95+{
96+ GitCommands command; ///< the command which gets executed for this menu entry
97+ unsigned __int64 menuID; ///< the menu ID to recognize the entry. NULL if it shouldn't be added to the context menu automatically
98+ UINT iconID; ///< the icon to show for the menu entry
99+ UINT menuTextID; ///< the text of the menu entry
100+ UINT menuDescID; ///< the description text for the menu entry
101+ /// the following 8 params are for checking whether the menu entry should
102+ /// be added automatically, based on states of the selected item(s).
103+ /// The 'yes' states must be set, the 'no' states must not be set
104+ /// the four pairs are OR'ed together, the 'yes'/'no' states are AND'ed together.
105+ DWORD firstyes;
106+ DWORD firstno;
107+ DWORD secondyes;
108+ DWORD secondno;
109+ DWORD thirdyes;
110+ DWORD thirdno;
111+ DWORD fourthyes;
112+ DWORD fourthno;
113+};
Show on old repository browser