Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
cf8c1d60
Commit
cf8c1d60
authored
Dec 01, 2007
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Dec 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Localize file context menu.
parent
6ad1ef7a
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
290 additions
and
21 deletions
+290
-21
shell32_Bg.rc
dlls/shell32/shell32_Bg.rc
+1
-0
shell32_Ca.rc
dlls/shell32/shell32_Ca.rc
+22
-0
shell32_Cn.rc
dlls/shell32/shell32_Cn.rc
+22
-0
shell32_Cs.rc
dlls/shell32/shell32_Cs.rc
+1
-0
shell32_Da.rc
dlls/shell32/shell32_Da.rc
+22
-0
shell32_De.rc
dlls/shell32/shell32_De.rc
+1
-0
shell32_En.rc
dlls/shell32/shell32_En.rc
+1
-0
shell32_Eo.rc
dlls/shell32/shell32_Eo.rc
+1
-0
shell32_Es.rc
dlls/shell32/shell32_Es.rc
+1
-0
shell32_Fi.rc
dlls/shell32/shell32_Fi.rc
+1
-0
shell32_Fr.rc
dlls/shell32/shell32_Fr.rc
+1
-0
shell32_Hu.rc
dlls/shell32/shell32_Hu.rc
+22
-0
shell32_It.rc
dlls/shell32/shell32_It.rc
+1
-0
shell32_Ja.rc
dlls/shell32/shell32_Ja.rc
+1
-0
shell32_Ko.rc
dlls/shell32/shell32_Ko.rc
+1
-0
shell32_Nl.rc
dlls/shell32/shell32_Nl.rc
+22
-0
shell32_No.rc
dlls/shell32/shell32_No.rc
+2
-1
shell32_Pl.rc
dlls/shell32/shell32_Pl.rc
+1
-0
shell32_Pt.rc
dlls/shell32/shell32_Pt.rc
+1
-0
shell32_Ru.rc
dlls/shell32/shell32_Ru.rc
+1
-0
shell32_Si.rc
dlls/shell32/shell32_Si.rc
+22
-0
shell32_Sk.rc
dlls/shell32/shell32_Sk.rc
+22
-0
shell32_Sv.rc
dlls/shell32/shell32_Sv.rc
+22
-0
shell32_Tr.rc
dlls/shell32/shell32_Tr.rc
+1
-0
shell32_Uk.rc
dlls/shell32/shell32_Uk.rc
+1
-0
shell32_Wa.rc
dlls/shell32/shell32_Wa.rc
+22
-0
shell32_Zh.rc
dlls/shell32/shell32_Zh.rc
+22
-0
shresdef.h
dlls/shell32/shresdef.h
+2
-0
shv_item_cmenu.c
dlls/shell32/shv_item_cmenu.c
+50
-20
No files found.
dlls/shell32/shell32_Bg.rc
View file @
cf8c1d60
...
...
@@ -75,6 +75,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "&", FCIDM_SHVIEW_EXPLORE
MENUITEM "&", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Ca.rc
View file @
cf8c1d60
...
...
@@ -18,6 +18,28 @@
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
/*
shellview item menu
*/
MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
MENUITEM "C&ut", FCIDM_SHVIEW_CUT
MENUITEM "&Copy", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Quant a %s"
...
...
dlls/shell32/shell32_Cn.rc
View file @
cf8c1d60
...
...
@@ -19,6 +19,28 @@
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#pragma code_page(936)
/*
shellview item menu
*/
MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
MENUITEM "C&ut", FCIDM_SHVIEW_CUT
MENUITEM "&Copy", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "关于 %s"
...
...
dlls/shell32/shell32_Cs.rc
View file @
cf8c1d60
...
...
@@ -79,6 +79,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "P&rozkoumat", FCIDM_SHVIEW_EXPLORE
MENUITEM "O&tevt", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Da.rc
View file @
cf8c1d60
...
...
@@ -18,6 +18,28 @@
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
/*
shellview item menu
*/
MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
MENUITEM "C&ut", FCIDM_SHVIEW_CUT
MENUITEM "&Copy", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Om %s"
...
...
dlls/shell32/shell32_De.rc
View file @
cf8c1d60
...
...
@@ -76,6 +76,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&rkunden", FCIDM_SHVIEW_EXPLORE
MENUITEM "&ffnen", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_En.rc
View file @
cf8c1d60
...
...
@@ -75,6 +75,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Eo.rc
View file @
cf8c1d60
...
...
@@ -78,6 +78,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&sploru", FCIDM_SHVIEW_EXPLORE
MENUITEM "Malfermu", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Es.rc
View file @
cf8c1d60
...
...
@@ -76,6 +76,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplorar", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Abrir", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Fi.rc
View file @
cf8c1d60
...
...
@@ -75,6 +75,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "&Selaa", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Avaa", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Fr.rc
View file @
cf8c1d60
...
...
@@ -79,6 +79,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplorer", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Ouvrir", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Hu.rc
View file @
cf8c1d60
...
...
@@ -18,6 +18,28 @@
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
/*
shellview item menu
*/
MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
MENUITEM "C&ut", FCIDM_SHVIEW_CUT
MENUITEM "&Copy", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Nvjegy: %s"
...
...
dlls/shell32/shell32_It.rc
View file @
cf8c1d60
...
...
@@ -77,6 +77,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&splora", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Apri", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Ja.rc
View file @
cf8c1d60
...
...
@@ -65,6 +65,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "切り取り(&U)", FCIDM_SHVIEW_CUT
MENUITEM "コピー(&C)", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Ko.rc
View file @
cf8c1d60
...
...
@@ -76,6 +76,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "탐색(&X)", FCIDM_SHVIEW_EXPLORE
MENUITEM "열기(&O)", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Nl.rc
View file @
cf8c1d60
...
...
@@ -18,6 +18,28 @@
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
/*
shellview item menu
*/
MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
MENUITEM "C&ut", FCIDM_SHVIEW_CUT
MENUITEM "&Copy", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Info %s"
...
...
dlls/shell32/shell32_No.rc
View file @
cf8c1d60
...
...
@@ -75,6 +75,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Velg" FCIDM_SHVIEW_OPEN
MENUITEM "&Utforsk", FCIDM_SHVIEW_EXPLORE
MENUITEM "&pne", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
@@ -83,7 +84,7 @@ BEGIN
MENUITEM SEPARATOR
MENUITEM "&Opprett snarvei", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Slett", FCIDM_SHVIEW_DELETE
MENUITEM "&Gi nytt navn"
,
FCIDM_SHVIEW_RENAME
MENUITEM "&Gi nytt navn" FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "Egenska&per", FCIDM_SHVIEW_PROPERTIES
END
...
...
dlls/shell32/shell32_Pl.rc
View file @
cf8c1d60
...
...
@@ -76,6 +76,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "&Eksploruj", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Otwrz", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Pt.rc
View file @
cf8c1d60
...
...
@@ -124,6 +124,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "&Explorar", FCIDM_SHVIEW_EXPLORE
MENUITEM "A&brir", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Ru.rc
View file @
cf8c1d60
...
...
@@ -76,6 +76,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "&", FCIDM_SHVIEW_EXPLORE
MENUITEM "&", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Si.rc
View file @
cf8c1d60
...
...
@@ -18,6 +18,28 @@
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
/*
shellview item menu
*/
MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
MENUITEM "C&ut", FCIDM_SHVIEW_CUT
MENUITEM "&Copy", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "O %s"
...
...
dlls/shell32/shell32_Sk.rc
View file @
cf8c1d60
...
...
@@ -18,6 +18,28 @@
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
/*
shellview item menu
*/
MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
MENUITEM "C&ut", FCIDM_SHVIEW_CUT
MENUITEM "&Copy", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "O programe %s"
...
...
dlls/shell32/shell32_Sv.rc
View file @
cf8c1d60
...
...
@@ -18,6 +18,28 @@
LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
/*
shellview item menu
*/
MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
MENUITEM "C&ut", FCIDM_SHVIEW_CUT
MENUITEM "&Copy", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Om %s"
...
...
dlls/shell32/shell32_Tr.rc
View file @
cf8c1d60
...
...
@@ -75,6 +75,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "A&ratr", FCIDM_SHVIEW_EXPLORE
MENUITEM "&A", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Uk.rc
View file @
cf8c1d60
...
...
@@ -75,6 +75,7 @@ MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "&", FCIDM_SHVIEW_EXPLORE
MENUITEM "&³", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
...
...
dlls/shell32/shell32_Wa.rc
View file @
cf8c1d60
...
...
@@ -23,6 +23,28 @@ LANGUAGE LANG_WALON, SUBLANG_DEFAULT
* vos poloz scrre a l' adresse emile <linux-wa@chanae.alphanet.ch>
*/
/*
shellview item menu
*/
MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
MENUITEM "C&ut", FCIDM_SHVIEW_CUT
MENUITEM "&Copy", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION " dfait di %s"
...
...
dlls/shell32/shell32_Zh.rc
View file @
cf8c1d60
...
...
@@ -19,6 +19,28 @@
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
#pragma code_page(936) /* FIXME: default for CHINESE_TRADITIONAL is 950 */
/*
shellview item menu
*/
MENU_SHV_FILE MENU DISCARDABLE
BEGIN
POPUP ""
BEGIN
MENUITEM "&Select" FCIDM_SHVIEW_OPEN
MENUITEM "E&xplore", FCIDM_SHVIEW_EXPLORE
MENUITEM "&Open", FCIDM_SHVIEW_OPEN
MENUITEM SEPARATOR
MENUITEM "C&ut", FCIDM_SHVIEW_CUT
MENUITEM "&Copy", FCIDM_SHVIEW_COPY
MENUITEM SEPARATOR
MENUITEM "Create &Link", FCIDM_SHVIEW_CREATELINK
MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
MENUITEM SEPARATOR
MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
END
END
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "關於 %s"
...
...
dlls/shell32/shresdef.h
View file @
cf8c1d60
...
...
@@ -94,6 +94,8 @@
#define IDS_CANTTRASH_TEXT 140
#define IDS_OVERWRITEFOLDER_TEXT 141
#define MENU_SHV_FILE 144
/* Note: this string is referenced from the registry*/
#define IDS_RECYCLEBIN_FOLDER_NAME 8964
...
...
dlls/shell32/shv_item_cmenu.c
View file @
cf8c1d60
...
...
@@ -36,6 +36,8 @@
#include "shell32_main.h"
#include "shellfolder.h"
#include "shresdef.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
shell
);
/**************************************************************************
...
...
@@ -206,10 +208,35 @@ void WINAPI _InsertMenuItem (
InsertMenuItemA
(
hmenu
,
indexMenu
,
fByPosition
,
&
mii
);
}
static
void
WINAPI
_InsertMenuItemW
(
HMENU
hmenu
,
UINT
indexMenu
,
BOOL
fByPosition
,
UINT
wID
,
UINT
fType
,
LPWSTR
dwTypeData
,
UINT
fState
)
{
MENUITEMINFOW
mii
;
mii
.
cbSize
=
sizeof
(
mii
);
if
(
fType
==
MFT_SEPARATOR
)
{
mii
.
fMask
=
MIIM_ID
|
MIIM_TYPE
;
}
else
{
mii
.
fMask
=
MIIM_ID
|
MIIM_TYPE
|
MIIM_STATE
;
mii
.
dwTypeData
=
dwTypeData
;
mii
.
fState
=
fState
;
}
mii
.
wID
=
wID
;
mii
.
fType
=
fType
;
InsertMenuItemW
(
hmenu
,
indexMenu
,
fByPosition
,
&
mii
);
}
/**************************************************************************
* ISvItemCm_fnQueryContextMenu()
* FIXME: load menu MENU_SHV_FILE out of resources instead if creating
* each menu item by calling _InsertMenuItem()
*/
static
HRESULT
WINAPI
ISvItemCm_fnQueryContextMenu
(
IContextMenu2
*
iface
,
...
...
@@ -228,31 +255,34 @@ static HRESULT WINAPI ISvItemCm_fnQueryContextMenu(
if
(
!
(
CMF_DEFAULTONLY
&
uFlags
)
&&
This
->
cidl
>
0
)
{
if
(
!
(
uFlags
&
CMF_EXPLORE
))
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
FCIDM_SHVIEW_OPEN
,
MFT_STRING
,
"&Select"
,
MFS_ENABLED
);
HMENU
hmenures
=
LoadMenuW
(
shell32_hInstance
,
MAKEINTRESOURCEW
(
MENU_SHV_FILE
));
if
(
uFlags
&
CMF_EXPLORE
)
RemoveMenu
(
hmenures
,
FCIDM_SHVIEW_OPEN
,
MF_BYCOMMAND
);
Shell_MergeMenus
(
hmenu
,
GetSubMenu
(
hmenures
,
0
),
indexMenu
,
idCmdFirst
,
idCmdLast
,
MM_SUBMENUSHAVEIDS
);
DestroyMenu
(
hmenures
);
if
(
This
->
bAllValues
)
{
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
FCIDM_SHVIEW_OPEN
,
MFT_STRING
,
"&Open"
,
MFS_ENABLED
);
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
FCIDM_SHVIEW_EXPLORE
,
MFT_STRING
,
"&Explore"
,
MFS_ENABLED
);
}
else
{
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
FCIDM_SHVIEW_EXPLORE
,
MFT_STRING
,
"&Explore"
,
MFS_ENABLED
);
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
FCIDM_SHVIEW_OPEN
,
MFT_STRING
,
"&Open"
,
MFS_ENABLED
);
MENUITEMINFOW
mi
;
WCHAR
str
[
255
];
mi
.
cbSize
=
sizeof
(
mi
);
mi
.
fMask
=
MIIM_ID
|
MIIM_STRING
|
MIIM_FTYPE
;
mi
.
dwTypeData
=
str
;
mi
.
cch
=
255
;
GetMenuItemInfoW
(
hmenu
,
FCIDM_SHVIEW_EXPLORE
,
MF_BYCOMMAND
,
&
mi
);
RemoveMenu
(
hmenu
,
FCIDM_SHVIEW_EXPLORE
,
MF_BYCOMMAND
);
_InsertMenuItemW
(
hmenu
,
(
uFlags
&
CMF_EXPLORE
)
?
1
:
2
,
MF_BYPOSITION
,
FCIDM_SHVIEW_EXPLORE
,
MFT_STRING
,
str
,
MFS_ENABLED
);
}
SetMenuDefaultItem
(
hmenu
,
0
,
MF_BYPOSITION
);
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
0
,
MFT_SEPARATOR
,
NULL
,
0
);
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
FCIDM_SHVIEW_COPY
,
MFT_STRING
,
"&Copy"
,
MFS_ENABLED
);
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
FCIDM_SHVIEW_CUT
,
MFT_STRING
,
"&Cut"
,
MFS_ENABLED
);
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
0
,
MFT_SEPARATOR
,
NULL
,
0
);
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
FCIDM_SHVIEW_DELETE
,
MFT_STRING
,
"&Delete"
,
MFS_ENABLED
);
if
(
uFlags
&
CMF_CANRENAME
)
_InsertMenuItem
(
hmenu
,
indexMenu
++
,
TRUE
,
FCIDM_SHVIEW_RENAME
,
MFT_STRING
,
"&Rename"
,
ISvItemCm_CanRenameItems
(
This
)
?
MFS_ENABLED
:
MFS_DISABLED
);
if
(
uFlags
&
~
CMF_CANRENAME
)
RemoveMenu
(
hmenu
,
FCIDM_SHVIEW_RENAME
,
MF_BYCOMMAND
);
else
EnableMenuItem
(
hmenu
,
FCIDM_SHVIEW_RENAME
,
MF_BYCOMMAND
|
ISvItemCm_CanRenameItems
(
This
)
?
MFS_ENABLED
:
MFS_DISABLED
);
return
MAKE_HRESULT
(
SEVERITY_SUCCESS
,
0
,
(
FCIDM_SHVIEWLAST
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment