Author: rnaumann
Date: Mon Dec 7 23:21:49 2015
New Revision: 70291
URL:
http://svn.reactos.org/svn/reactos?rev=70291&view=rev
Log:
[SYSSETUP] Set an owner name by default. Patch by Ismael Ferreras Morezuelas CORE-10476
Modified:
trunk/reactos/dll/win32/syssetup/lang/bg-BG.rc
trunk/reactos/dll/win32/syssetup/lang/cs-CZ.rc
trunk/reactos/dll/win32/syssetup/lang/de-DE.rc
trunk/reactos/dll/win32/syssetup/lang/el-GR.rc
trunk/reactos/dll/win32/syssetup/lang/en-US.rc
trunk/reactos/dll/win32/syssetup/lang/es-ES.rc
trunk/reactos/dll/win32/syssetup/lang/et-EE.rc
trunk/reactos/dll/win32/syssetup/lang/fr-FR.rc
trunk/reactos/dll/win32/syssetup/lang/he-IL.rc
trunk/reactos/dll/win32/syssetup/lang/hu-HU.rc
trunk/reactos/dll/win32/syssetup/lang/id-ID.rc
trunk/reactos/dll/win32/syssetup/lang/it-IT.rc
trunk/reactos/dll/win32/syssetup/lang/ja-JP.rc
trunk/reactos/dll/win32/syssetup/lang/nl-NL.rc
trunk/reactos/dll/win32/syssetup/lang/no-NO.rc
trunk/reactos/dll/win32/syssetup/lang/pl-PL.rc
trunk/reactos/dll/win32/syssetup/lang/pt-BR.rc
trunk/reactos/dll/win32/syssetup/lang/ro-RO.rc
trunk/reactos/dll/win32/syssetup/lang/ru-RU.rc
trunk/reactos/dll/win32/syssetup/lang/sk-SK.rc
trunk/reactos/dll/win32/syssetup/lang/sq-AL.rc
trunk/reactos/dll/win32/syssetup/lang/tr-TR.rc
trunk/reactos/dll/win32/syssetup/lang/uk-UA.rc
trunk/reactos/dll/win32/syssetup/lang/zh-CN.rc
trunk/reactos/dll/win32/syssetup/resource.h
trunk/reactos/dll/win32/syssetup/wizard.c
Modified: trunk/reactos/dll/win32/syssetup/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/bg…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/bg-BG.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "СобÑÑвеник"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/cs…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/cs-CZ.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/cs-CZ.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -161,6 +161,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "VlastnÃk"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/de…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/de-DE.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Besitzer"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/el…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/el-GR.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "ÎάÏοÏοÏ"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/en…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/en-US.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -174,6 +174,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Owner"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/es…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/es-ES.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -156,6 +156,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Propietario"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/et-EE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/et…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/et-EE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/et-EE.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Owner"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/fr…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/fr-FR.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Propriétaire"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/he-IL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/he…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/he-IL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/he-IL.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "××¢×××"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/hu-HU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/hu…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/hu-HU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/hu-HU.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Tulajdonos"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/id…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/id-ID.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/id-ID.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Owner"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/it…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/it-IT.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Proprietario"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/ja…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/ja-JP.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/ja-JP.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "ææè
"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/nl-NL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/nl…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/nl-NL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/nl-NL.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Eigenaar"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/no…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/no-NO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/no-NO.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Eier"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/pl…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/pl-PL.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "WÅaÅciciel"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/pt-BR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/pt…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/pt-BR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/pt-BR.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Dono"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/ro…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/ro-RO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/ro-RO.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -164,6 +164,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "Owner"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/ru…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/ru-RU.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -157,6 +157,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "ÐладелеÑ"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/sk…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/sk-SK.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -161,6 +161,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "VlastnÃk"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/sq-AL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/sq…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/sq-AL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/sq-AL.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -174,6 +174,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administratorër"
+ IDS_MACHINE_OWNER_NAME "Zotëruesi"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/tr-TR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/tr…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/tr-TR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/tr-TR.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Yönetici"
+ IDS_MACHINE_OWNER_NAME "Sahip"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/uk…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/uk-UA.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -163,6 +163,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "ÐлаÑник"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/lang/zh…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/lang/zh-CN.rc [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -155,6 +155,7 @@
* Also check the IDD_COMPUTERPAGE dialog.
*/
IDS_ADMINISTRATOR_NAME "Administrator"
+ IDS_MACHINE_OWNER_NAME "ææè
"
END
STRINGTABLE
Modified: trunk/reactos/dll/win32/syssetup/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/resourc…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/resource.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/resource.h [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -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
Modified: trunk/reactos/dll/win32/syssetup/wizard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] Mon Dec 7 23:21:49 2015
@@ -5,6 +5,7 @@
* PURPOSE: GUI controls
* PROGRAMMERS: Eric Kohl
* Pierre Schweitzer <heis_spiter(a)hotmail.com>
+ * Ismael Ferreras Morezuelas <swyterzone+ros(a)gmail.com>
*/
/* INCLUDES *****************************************************************/
@@ -454,11 +455,20 @@
{
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;