[SYSSETUP] Set an owner name by default. Patch by Ismael Ferreras Morezuelas CORE...
authorRobert Naumann <gonzomdx@gmail.com>
Mon, 7 Dec 2015 23:21:49 +0000 (23:21 +0000)
committerRobert Naumann <gonzomdx@gmail.com>
Mon, 7 Dec 2015 23:21:49 +0000 (23:21 +0000)
svn path=/trunk/; revision=70291

26 files changed:
reactos/dll/win32/syssetup/lang/bg-BG.rc
reactos/dll/win32/syssetup/lang/cs-CZ.rc
reactos/dll/win32/syssetup/lang/de-DE.rc
reactos/dll/win32/syssetup/lang/el-GR.rc
reactos/dll/win32/syssetup/lang/en-US.rc
reactos/dll/win32/syssetup/lang/es-ES.rc
reactos/dll/win32/syssetup/lang/et-EE.rc
reactos/dll/win32/syssetup/lang/fr-FR.rc
reactos/dll/win32/syssetup/lang/he-IL.rc
reactos/dll/win32/syssetup/lang/hu-HU.rc
reactos/dll/win32/syssetup/lang/id-ID.rc
reactos/dll/win32/syssetup/lang/it-IT.rc
reactos/dll/win32/syssetup/lang/ja-JP.rc
reactos/dll/win32/syssetup/lang/nl-NL.rc
reactos/dll/win32/syssetup/lang/no-NO.rc
reactos/dll/win32/syssetup/lang/pl-PL.rc
reactos/dll/win32/syssetup/lang/pt-BR.rc
reactos/dll/win32/syssetup/lang/ro-RO.rc
reactos/dll/win32/syssetup/lang/ru-RU.rc
reactos/dll/win32/syssetup/lang/sk-SK.rc
reactos/dll/win32/syssetup/lang/sq-AL.rc
reactos/dll/win32/syssetup/lang/tr-TR.rc
reactos/dll/win32/syssetup/lang/uk-UA.rc
reactos/dll/win32/syssetup/lang/zh-CN.rc
reactos/dll/win32/syssetup/resource.h
reactos/dll/win32/syssetup/wizard.c

index 73ef172..02fc82e 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Собственик"
 END
 
 STRINGTABLE
index 9fe7ad2..0a4780d 100644 (file)
@@ -161,6 +161,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Vlastník"
 END
 
 STRINGTABLE
index f34f62a..931d00d 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Besitzer"
 END
 
 STRINGTABLE
index 487c2b4..56224fa 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Κάτοχος"
 END
 
 STRINGTABLE
index c74b90b..c9f803c 100644 (file)
@@ -174,6 +174,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Owner"
 END
 
 STRINGTABLE
index 93c39d8..8466b10 100644 (file)
@@ -156,6 +156,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Propietario"
 END
 
 STRINGTABLE
index 2a54dac..8767b55 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Owner"
 END
 
 STRINGTABLE
index aaa23b9..25c2d53 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Propriétaire"
 END
 
 STRINGTABLE
index a3ca6a5..015e6ae 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "בעלים"
 END
 
 STRINGTABLE
index e3661c6..8282d95 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Tulajdonos"
 END
 
 STRINGTABLE
index 023b9b9..da6f512 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Owner"
 END
 
 STRINGTABLE
index 4d8aacd..820a6de 100644 (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
index 847c7b5..5d0c8f8 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "所有者"
 END
 
 STRINGTABLE
index a7094b2..6eeb338 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Eigenaar"
 END
 
 STRINGTABLE
index 929aa38..e2da8bb 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Eier"
 END
 
 STRINGTABLE
index 865d7f4..59ece31 100644 (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
index 2422ebb..ae5dc02 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Dono"
 END
 
 STRINGTABLE
index 14e66c8..4f7198f 100644 (file)
@@ -164,6 +164,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Owner"
 END
 
 STRINGTABLE
index d9e9a59..3b38537 100644 (file)
@@ -157,6 +157,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Владелец"
 END
 
 STRINGTABLE
index 1f8ab84..463d158 100644 (file)
@@ -161,6 +161,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Vlastník"
 END
 
 STRINGTABLE
index ab59f7c..c6daf57 100644 (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
index 106b6e4..bec1f76 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Yönetici"
+    IDS_MACHINE_OWNER_NAME "Sahip"
 END
 
 STRINGTABLE
index 353b8f1..1bb32ef 100644 (file)
@@ -163,6 +163,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "Власник"
 END
 
 STRINGTABLE
index d79ba09..17cb7d4 100644 (file)
@@ -155,6 +155,7 @@ BEGIN
      *   Also check the IDD_COMPUTERPAGE dialog.
      */
     IDS_ADMINISTRATOR_NAME "Administrator"
+    IDS_MACHINE_OWNER_NAME "所有者"
 END
 
 STRINGTABLE
index d356c77..3ddf653 100644 (file)
 #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
index 44c1d46..c2e964f 100644 (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;