mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +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.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Собственик"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -161,6 +161,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Vlastník"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Besitzer"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Κάτοχος"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -174,6 +174,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Owner"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -156,6 +156,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Propietario"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Owner"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Propriétaire"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "בעלים"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Tulajdonos"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Owner"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ IDS_REACTOS_SETUP "Installazione di ReactOS"
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Proprietario"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "所有者"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Eigenaar"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Eier"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Właściciel"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Dono"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -164,6 +164,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Owner"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -157,6 +157,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Владелец"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -161,6 +161,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Vlastník"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -174,6 +174,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administratorër"
|
||||
IDS_MACHINE_OWNER_NAME "Zotëruesi"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Yönetici"
|
||||
IDS_MACHINE_OWNER_NAME "Sahip"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -163,6 +163,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "Власник"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -155,6 +155,7 @@ BEGIN
|
|||
* Also check the IDD_COMPUTERPAGE dialog.
|
||||
*/
|
||||
IDS_ADMINISTRATOR_NAME "Administrator"
|
||||
IDS_MACHINE_OWNER_NAME "所有者"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
|
|
@ -102,6 +102,7 @@
|
|||
#define IDS_TIMEOUT 3307
|
||||
#define IDS_REASON_UNKNOWN 3308
|
||||
#define IDS_ADMINISTRATOR_NAME 3309
|
||||
#define IDS_MACHINE_OWNER_NAME 3310
|
||||
|
||||
#define IDS_WZD_NAME 3450
|
||||
#define IDS_WZD_SETCOMPUTERNAME 3451
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* PURPOSE: GUI controls
|
||||
* PROGRAMMERS: Eric Kohl
|
||||
* Pierre Schweitzer <heis_spiter@hotmail.com>
|
||||
* Ismael Ferreras Morezuelas <swyterzone+ros@gmail.com>
|
||||
*/
|
||||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
@ -454,11 +455,20 @@ OwnerPageDlgProc(HWND hwndDlg,
|
|||
{
|
||||
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_OWNERORGANIZATION, EM_LIMITTEXT, 50, 0);
|
||||
|
||||
/* Set focus to owner name */
|
||||
SetFocus(GetDlgItem(hwndDlg, IDC_OWNERNAME));
|
||||
|
||||
/* Select the default text to quickly overwrite it by typing */
|
||||
SendDlgItemMessage(hwndDlg, IDC_OWNERNAME, EM_SETSEL, 0, -1);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue