mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
[SYSSETUP] Set an owner name by default. Patch by Ismael Ferreras Morezuelas CORE-10476
svn path=/trunk/; revision=70291
This commit is contained in:
parent
4042ba935e
commit
b2a6aff94f
26 changed files with 35 additions and 0 deletions
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Собственик"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -161,6 +161,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Vlastník"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Besitzer"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Κάτοχος"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -174,6 +174,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Owner"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -156,6 +156,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Propietario"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Owner"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Propriétaire"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "בעלים"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Tulajdonos"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Owner"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ IDS_REACTOS_SETUP "Installazione di ReactOS"
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Proprietario"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "所有者"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Eigenaar"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Eier"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Właściciel"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Dono"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -164,6 +164,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Owner"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -157,6 +157,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Владелец"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -161,6 +161,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Vlastník"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -174,6 +174,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administratorër"
|
IDS_ADMINISTRATOR_NAME "Administratorër"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Zotëruesi"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Yönetici"
|
IDS_ADMINISTRATOR_NAME "Yönetici"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Sahip"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -163,6 +163,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "Власник"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
||||||
* Also check the IDD_COMPUTERPAGE dialog.
|
* Also check the IDD_COMPUTERPAGE dialog.
|
||||||
*/
|
*/
|
||||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||||
|
IDS_MACHINE_OWNER_NAME "所有者"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRINGTABLE
|
STRINGTABLE
|
||||||
|
|
|
@ -102,6 +102,7 @@
|
||||||
#define IDS_TIMEOUT 3307
|
#define IDS_TIMEOUT 3307
|
||||||
#define IDS_REASON_UNKNOWN 3308
|
#define IDS_REASON_UNKNOWN 3308
|
||||||
#define IDS_ADMINISTRATOR_NAME 3309
|
#define IDS_ADMINISTRATOR_NAME 3309
|
||||||
|
#define IDS_MACHINE_OWNER_NAME 3310
|
||||||
|
|
||||||
#define IDS_WZD_NAME 3450
|
#define IDS_WZD_NAME 3450
|
||||||
#define IDS_WZD_SETCOMPUTERNAME 3451
|
#define IDS_WZD_SETCOMPUTERNAME 3451
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
* PURPOSE: GUI controls
|
* PURPOSE: GUI controls
|
||||||
* PROGRAMMERS: Eric Kohl
|
* PROGRAMMERS: Eric Kohl
|
||||||
* Pierre Schweitzer <heis_spiter@hotmail.com>
|
* Pierre Schweitzer <heis_spiter@hotmail.com>
|
||||||
|
* Ismael Ferreras Morezuelas <swyterzone+ros@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* INCLUDES *****************************************************************/
|
/* INCLUDES *****************************************************************/
|
||||||
|
@ -454,11 +455,20 @@ OwnerPageDlgProc(HWND hwndDlg,
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
{
|
{
|
||||||
|
/* set a localized ('Owner') placeholder string as default */
|
||||||
|
if (LoadStringW(hDllInstance, IDS_MACHINE_OWNER_NAME, OwnerName, _countof(OwnerName)))
|
||||||
|
{
|
||||||
|
SendDlgItemMessage(hwndDlg, IDC_OWNERNAME, WM_SETTEXT, 0, (LPARAM)OwnerName);
|
||||||
|
}
|
||||||
|
|
||||||
SendDlgItemMessage(hwndDlg, IDC_OWNERNAME, EM_LIMITTEXT, 50, 0);
|
SendDlgItemMessage(hwndDlg, IDC_OWNERNAME, EM_LIMITTEXT, 50, 0);
|
||||||
SendDlgItemMessage(hwndDlg, IDC_OWNERORGANIZATION, EM_LIMITTEXT, 50, 0);
|
SendDlgItemMessage(hwndDlg, IDC_OWNERORGANIZATION, EM_LIMITTEXT, 50, 0);
|
||||||
|
|
||||||
/* Set focus to owner name */
|
/* Set focus to owner name */
|
||||||
SetFocus(GetDlgItem(hwndDlg, IDC_OWNERNAME));
|
SetFocus(GetDlgItem(hwndDlg, IDC_OWNERNAME));
|
||||||
|
|
||||||
|
/* Select the default text to quickly overwrite it by typing */
|
||||||
|
SendDlgItemMessage(hwndDlg, IDC_OWNERNAME, EM_SETSEL, 0, -1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue