[SYSSETUP] Set an owner name by default. Patch by Ismael Ferreras Morezuelas CORE-10476

svn path=/trunk/; revision=70291
This commit is contained in:
Robert Naumann 2015-12-07 23:21:49 +00:00
parent 4042ba935e
commit b2a6aff94f
26 changed files with 35 additions and 0 deletions

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Собственик"
END
STRINGTABLE

View file

@ -161,6 +161,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Vlastník"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Besitzer"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Κάτοχος"
END
STRINGTABLE

View file

@ -174,6 +174,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Owner"
END
STRINGTABLE

View file

@ -156,6 +156,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Propietario"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Owner"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Propriétaire"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "בעלים"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Tulajdonos"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Owner"
END
STRINGTABLE

View file

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

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "所有者"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Eigenaar"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Eier"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Właściciel"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Dono"
END
STRINGTABLE

View file

@ -164,6 +164,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Owner"
END
STRINGTABLE

View file

@ -157,6 +157,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Владелец"
END
STRINGTABLE

View file

@ -161,6 +161,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Vlastník"
END
STRINGTABLE

View file

@ -174,6 +174,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administratorër"
IDS_MACHINE_OWNER_NAME "Zotëruesi"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Yönetici"
IDS_MACHINE_OWNER_NAME "Sahip"
END
STRINGTABLE

View file

@ -163,6 +163,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "Власник"
END
STRINGTABLE

View file

@ -155,6 +155,7 @@ BEGIN
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
IDS_MACHINE_OWNER_NAME "所有者"
END
STRINGTABLE

View file

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

View file

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