mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 21:20:25 +00:00
shdocvw: Allow the addressbar text in IE to be localized.
This commit is contained in:
parent
4432f57e35
commit
f74a563120
@ -70,3 +70,8 @@ STRINGTABLE
|
||||
IDS_TB_HOME "Home"
|
||||
IDS_TB_PRINT "Print"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
{
|
||||
IDS_ADDRESS "Address"
|
||||
}
|
||||
|
@ -354,10 +354,12 @@ static void create_rebar(HWND hwnd)
|
||||
HWND hwndToolbar;
|
||||
REBARINFO rebarinf;
|
||||
REBARBANDINFOW bandinf;
|
||||
WCHAR addr[] = {'A','d','d','r','e','s','s',0};
|
||||
WCHAR addr[40];
|
||||
HIMAGELIST imagelist;
|
||||
WCHAR idb_ietoolbar[] = {'I','D','B','_','I','E','T','O','O','L','B','A','R',0};
|
||||
|
||||
LoadStringW(shdocvw_hinstance, IDS_ADDRESS, addr, sizeof(addr)/sizeof(addr[0]));
|
||||
|
||||
hwndRebar = CreateWindowExW(WS_EX_TOOLWINDOW, REBARCLASSNAMEW, NULL, WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS|WS_CLIPCHILDREN|RBS_VARHEIGHT|CCS_TOP|CCS_NODIVIDER, 0, 0, 0, 0, hwnd, (HMENU)IDC_BROWSE_REBAR, shdocvw_hinstance, NULL);
|
||||
|
||||
rebarinf.cbSize = sizeof(rebarinf);
|
||||
|
@ -52,3 +52,5 @@
|
||||
#define IDS_TB_REFRESH 1103
|
||||
#define IDS_TB_HOME 1104
|
||||
#define IDS_TB_PRINT 1105
|
||||
|
||||
#define IDS_ADDRESS 1106
|
||||
|
Loading…
Reference in New Issue
Block a user