shell32: Load Control Panel title from resources.

This commit is contained in:
Owen Rudge 2008-07-22 17:30:51 +01:00 committed by Alexandre Julliard
parent 9d2a1e8adc
commit 08b1bdb8c0
30 changed files with 79 additions and 2 deletions

View File

@ -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;

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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)

View File

@ -189,4 +189,6 @@ STRINGTABLE
IDS_SHV_COLUMN_DELDATE "Date deleted"
IDS_NEWFOLDER "New Folder"
IDS_CPANEL_TITLE "Wine Control Panel"
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"
}

View File

@ -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

View File

@ -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"
}

View File

@ -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

View File

@ -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"
}

View File

@ -220,4 +220,6 @@ STRINGTABLE
IDS_COOKIES "Cookies"
IDS_NEWFOLDER "New Folder"
IDS_CPANEL_TITLE "Wine Control Panel"
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"
}

View File

@ -209,6 +209,8 @@ STRINGTABLE
IDS_PROGRAMS "Meniu Start\\Programe"
IDS_PERSONAL "Documentele mele"
IDS_FAVORITES "Favorite"
IDS_CPANEL_TITLE "Wine Control Panel"
}
STRINGTABLE

View File

@ -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"
}

View File

@ -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

View File

@ -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

View File

@ -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"
}

View File

@ -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"
}

View File

@ -185,4 +185,6 @@ STRINGTABLE
IDS_SHV_COLUMN_DELDATE "Date deleted"
IDS_NEWFOLDER "New Folder"
IDS_CPANEL_TITLE "Wine Control Panel"
}

View File

@ -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"
}

View File

@ -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)

View File

@ -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