shell32: Load Control Panel title from resources.
This commit is contained in:
parent
9d2a1e8adc
commit
08b1bdb8c0
|
@ -38,6 +38,10 @@
|
|||
#include "shlwapi.h"
|
||||
|
||||
#include "cpanel.h"
|
||||
#include "shresdef.h"
|
||||
#include "shell32_main.h"
|
||||
|
||||
#define MAX_STRING_LEN 1024
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(shlctrl);
|
||||
|
||||
|
@ -287,11 +291,12 @@ static void Control_DoInterface(CPanel* panel, HWND hWnd, HINSTANCE hInst)
|
|||
{
|
||||
WNDCLASSW wc;
|
||||
MSG msg;
|
||||
const WCHAR appName[] = {'W','i','n','e',' ','C','o','n','t','r','o','l',
|
||||
' ','P','a','n','e','l',0};
|
||||
WCHAR appName[MAX_STRING_LEN];
|
||||
const WCHAR className[] = {'S','h','e','l','l','_','C','o','n','t','r','o',
|
||||
'l','_','W','n','d','C','l','a','s','s',0};
|
||||
|
||||
LoadStringW(shell32_hInstance, IDS_CPANEL_TITLE, appName, sizeof(appName) / sizeof(appName[0]));
|
||||
|
||||
wc.style = CS_HREDRAW|CS_VREDRAW;
|
||||
wc.lpfnWndProc = Control_WndProc;
|
||||
wc.cbClsExtra = 0;
|
||||
|
|
|
@ -219,4 +219,6 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "New Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -68,3 +68,8 @@ FONT 8, "MS Shell Dlg"
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 116, 63, 50, 14, WS_TABSTOP
|
||||
PUSHBUTTON "&Browse...", 12288, 170, 63, 50, 14, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
{
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -82,6 +82,8 @@ BEGIN
|
|||
IDS_SHV_COLUMN7 "Ê£Óà¿Õ¼ä"
|
||||
IDS_SHV_COLUMN8 "Name" /*FIXME*/
|
||||
IDS_SHV_COLUMN9 "Comments" /*FIXME*/
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
END
|
||||
|
||||
#pragma code_page(default)
|
||||
|
|
|
@ -189,4 +189,6 @@ STRINGTABLE
|
|||
IDS_SHV_COLUMN_DELDATE "Date deleted"
|
||||
|
||||
IDS_NEWFOLDER "New Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -251,6 +251,8 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Lokale indstillinger\\Application Data\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "Ny Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -250,6 +250,8 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Lokale Einstellungen\\Anwendungsdaten\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "Neuer Ordner"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -256,6 +256,8 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "New Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -236,4 +236,6 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "New Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -251,6 +251,8 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Configuración local\\Datos de programa\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "Nueva carpeta"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -218,4 +218,6 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Paikalliset asetukset\\Ohjelmien tiedot\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "New Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -256,6 +256,8 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "Nouveau dossier"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -68,3 +68,8 @@ FONT 8, "MS Shell Dlg"
|
|||
PUSHBUTTON "Mégse", IDCANCEL, 116, 63, 50, 14, WS_TABSTOP
|
||||
PUSHBUTTON "&Tallózás...", 12288, 170, 63, 50, 14, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
{
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -220,4 +220,6 @@ STRINGTABLE
|
|||
IDS_COOKIES "Cookies"
|
||||
|
||||
IDS_NEWFOLDER "New Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -113,6 +113,8 @@ STRINGTABLE
|
|||
IDS_VIEW_DETAILS "詳細(&D)"
|
||||
IDS_SELECT "選択"
|
||||
IDS_OPEN "開く"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 220, 152
|
||||
|
|
|
@ -260,6 +260,8 @@ IDS_COMMON_VIDEO "
|
|||
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "»õ Æú´õ"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -258,6 +258,8 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Lokale Instellingen\\Applicatie Data\\Microsoft\\CD Branden"
|
||||
|
||||
IDS_NEWFOLDER "Nieuwe Map"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -256,6 +256,8 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Lokale innstillinger\\Programdata\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "Ny mappe"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -257,6 +257,8 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Ustawienia lokalne\\Dane aplikacji\\Microsoft\\Nagrywanie dysków CD"
|
||||
|
||||
IDS_NEWFOLDER "Nowy Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -312,6 +312,8 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Configurações locais\\Dados de aplicativos\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "Nova Pasta"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
|
||||
|
@ -399,4 +401,6 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Definições locais\\Application Data\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "Nova Pasta"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -209,6 +209,8 @@ STRINGTABLE
|
|||
IDS_PROGRAMS "Meniu Start\\Programe"
|
||||
IDS_PERSONAL "Documentele mele"
|
||||
IDS_FAVORITES "Favorite"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -251,4 +251,6 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "New Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -251,6 +251,8 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Lokalne nastavitve\\Podatki programov\\Microsoft\\Zapisovanje CD-jev"
|
||||
|
||||
IDS_NEWFOLDER "Nova mapa"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -81,4 +81,6 @@ BEGIN
|
|||
IDS_SHV_COLUMN7 "Ve¾kos<6F> k dispozícii"
|
||||
IDS_SHV_COLUMN8 "Name" /*FIXME*/
|
||||
IDS_SHV_COLUMN9 "Comments" /*FIXME*/
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
END
|
||||
|
|
|
@ -68,3 +68,8 @@ FONT 8, "MS Shell Dlg"
|
|||
PUSHBUTTON "Avbryt", IDCANCEL, 116, 63, 50, 14, WS_TABSTOP
|
||||
PUSHBUTTON "&Bläddra...", 12288, 170, 63, 50, 14, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
{
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -219,4 +219,6 @@ STRINGTABLE
|
|||
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
|
||||
|
||||
IDS_NEWFOLDER "New Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -185,4 +185,6 @@ STRINGTABLE
|
|||
IDS_SHV_COLUMN_DELDATE "Date deleted"
|
||||
|
||||
IDS_NEWFOLDER "New Folder"
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -73,3 +73,8 @@ FONT 8, "MS Shell Dlg"
|
|||
PUSHBUTTON "Cancel", IDCANCEL, 116, 63, 50, 14, WS_TABSTOP
|
||||
PUSHBUTTON "&Browse...", 12288, 170, 63, 50, 14, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE
|
||||
{
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
}
|
||||
|
|
|
@ -82,6 +82,8 @@ BEGIN
|
|||
IDS_SHV_COLUMN7 "Ê£ðN¿Õég"
|
||||
IDS_SHV_COLUMN8 "Name" /*FIXME*/
|
||||
IDS_SHV_COLUMN9 "Comments" /*FIXME*/
|
||||
|
||||
IDS_CPANEL_TITLE "Wine Control Panel"
|
||||
END
|
||||
|
||||
#pragma code_page(default)
|
||||
|
|
|
@ -97,6 +97,8 @@
|
|||
|
||||
#define IDS_NEWFOLDER 142
|
||||
|
||||
#define IDS_CPANEL_TITLE 143
|
||||
|
||||
#define IDS_RUNDLG_ERROR 160
|
||||
#define IDS_RUNDLG_BROWSE_ERROR 161
|
||||
#define IDS_RUNDLG_BROWSE_CAPTION 162
|
||||
|
|
Loading…
Reference in New Issue