https://git.reactos.org/?p=reactos.git;a=commitdiff;h=30144179190c11519add8…
commit 30144179190c11519add8c1f4fe13afed52cb997
Author: Riley Bell <rileyjb9(a)gmail.com>
AuthorDate: Tue Oct 27 05:02:35 2020 -0700
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Mon Nov 30 03:12:32 2020 +0300
[SHELL32] Hide "This version of ReactOS is registered to:" text on condition
(#3325)
When the system is not installed yet (e.g. LiveCD or 2nd installation stage)
there is no registered user and organization, so no need to show this text
label in the shell about dialog.
Co-authored-by: Stanislav Motylkov <x86corez(a)gmail.com>
---
dll/win32/shell32/lang/bg-BG.rc | 2 +-
dll/win32/shell32/lang/ca-ES.rc | 2 +-
dll/win32/shell32/lang/cs-CZ.rc | 2 +-
dll/win32/shell32/lang/da-DK.rc | 2 +-
dll/win32/shell32/lang/de-DE.rc | 2 +-
dll/win32/shell32/lang/el-GR.rc | 2 +-
dll/win32/shell32/lang/en-GB.rc | 2 +-
dll/win32/shell32/lang/en-US.rc | 2 +-
dll/win32/shell32/lang/es-ES.rc | 2 +-
dll/win32/shell32/lang/et-EE.rc | 2 +-
dll/win32/shell32/lang/fi-FI.rc | 2 +-
dll/win32/shell32/lang/fr-FR.rc | 2 +-
dll/win32/shell32/lang/he-IL.rc | 2 +-
dll/win32/shell32/lang/hi-IN.rc | 2 +-
dll/win32/shell32/lang/hu-HU.rc | 2 +-
dll/win32/shell32/lang/id-ID.rc | 2 +-
dll/win32/shell32/lang/it-IT.rc | 2 +-
dll/win32/shell32/lang/ja-JP.rc | 2 +-
dll/win32/shell32/lang/ko-KR.rc | 2 +-
dll/win32/shell32/lang/nl-NL.rc | 2 +-
dll/win32/shell32/lang/no-NO.rc | 2 +-
dll/win32/shell32/lang/pl-PL.rc | 2 +-
dll/win32/shell32/lang/pt-BR.rc | 2 +-
dll/win32/shell32/lang/pt-PT.rc | 2 +-
dll/win32/shell32/lang/ro-RO.rc | 2 +-
dll/win32/shell32/lang/ru-RU.rc | 2 +-
dll/win32/shell32/lang/sk-SK.rc | 2 +-
dll/win32/shell32/lang/sl-SI.rc | 2 +-
dll/win32/shell32/lang/sq-AL.rc | 2 +-
dll/win32/shell32/lang/sv-SE.rc | 2 +-
dll/win32/shell32/lang/tr-TR.rc | 2 +-
dll/win32/shell32/lang/uk-UA.rc | 2 +-
dll/win32/shell32/lang/zh-CN.rc | 2 +-
dll/win32/shell32/lang/zh-TW.rc | 2 +-
dll/win32/shell32/shresdef.h | 1 +
dll/win32/shell32/wine/shell32_main.c | 7 +++++++
36 files changed, 42 insertions(+), 34 deletions(-)
diff --git a/dll/win32/shell32/lang/bg-BG.rc b/dll/win32/shell32/lang/bg-BG.rc
index a4189880a22..ee4d85bd4d7 100644
--- a/dll/win32/shell32/lang/bg-BG.rc
+++ b/dll/win32/shell32/lang/bg-BG.rc
@@ -141,7 +141,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Тази версия на РеактОС е записана на:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "Тази версия на РеактОС е записана на:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/ca-ES.rc b/dll/win32/shell32/lang/ca-ES.rc
index c4a7f66b1ce..0efaba8e9fc 100644
--- a/dll/win32/shell32/lang/ca-ES.rc
+++ b/dll/win32/shell32/lang/ca-ES.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "This ReactOS version is registered to:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "This ReactOS version is registered to:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/cs-CZ.rc b/dll/win32/shell32/lang/cs-CZ.rc
index 4776320d3c0..bd35687c51d 100644
--- a/dll/win32/shell32/lang/cs-CZ.rc
+++ b/dll/win32/shell32/lang/cs-CZ.rc
@@ -146,7 +146,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Tato verze ReactOS je zaregistrována na:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "Tato verze ReactOS je zaregistrována na:", IDC_ABOUT_REG_TO, 35,
115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/da-DK.rc b/dll/win32/shell32/lang/da-DK.rc
index 18825835a7f..6a62e89fc92 100644
--- a/dll/win32/shell32/lang/da-DK.rc
+++ b/dll/win32/shell32/lang/da-DK.rc
@@ -146,7 +146,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "This ReactOS version is registered to:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "This ReactOS version is registered to:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/de-DE.rc b/dll/win32/shell32/lang/de-DE.rc
index 841973d5b28..a88cb99ddc4 100644
--- a/dll/win32/shell32/lang/de-DE.rc
+++ b/dll/win32/shell32/lang/de-DE.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " Das ReactOS Team\0", IDC_STATIC, 105, 75, 70, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Diese ReactOS-Version wurde registriert auf:", IDC_STATIC, 35, 115,
180, 10
+ LTEXT "Diese ReactOS-Version wurde registriert auf:", IDC_ABOUT_REG_TO, 35,
115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/el-GR.rc b/dll/win32/shell32/lang/el-GR.rc
index 4513166c9a9..8717da29146 100644
--- a/dll/win32/shell32/lang/el-GR.rc
+++ b/dll/win32/shell32/lang/el-GR.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Αυτή η έκδοση του ReactOS είναι καταχωρημένη στον :", IDC_STATIC,
35, 115, 180, 10
+ LTEXT "Αυτή η έκδοση του ReactOS είναι καταχωρημένη στον :",
IDC_ABOUT_REG_TO, 35, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/en-GB.rc b/dll/win32/shell32/lang/en-GB.rc
index 576daf044ab..f14f2006474 100644
--- a/dll/win32/shell32/lang/en-GB.rc
+++ b/dll/win32/shell32/lang/en-GB.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "This ReactOS version is registered to:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "This ReactOS version is registered to:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/en-US.rc b/dll/win32/shell32/lang/en-US.rc
index ddcedb8b2ea..0dbe4c0b75a 100644
--- a/dll/win32/shell32/lang/en-US.rc
+++ b/dll/win32/shell32/lang/en-US.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "This ReactOS version is registered to:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "This ReactOS version is registered to:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/es-ES.rc b/dll/win32/shell32/lang/es-ES.rc
index acef0a2aa29..bd497687819 100644
--- a/dll/win32/shell32/lang/es-ES.rc
+++ b/dll/win32/shell32/lang/es-ES.rc
@@ -149,7 +149,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " El equipo de ReactOS\0", IDC_STATIC, 105, 75, 100, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Esta versión de ReactOS está registrada a nombre de:", IDC_STATIC,
35, 115, 180, 10
+ LTEXT "Esta versión de ReactOS está registrada a nombre de:",
IDC_ABOUT_REG_TO, 35, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/et-EE.rc b/dll/win32/shell32/lang/et-EE.rc
index 1f9497e51b4..93bb2e9d8b8 100644
--- a/dll/win32/shell32/lang/et-EE.rc
+++ b/dll/win32/shell32/lang/et-EE.rc
@@ -147,7 +147,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "See ReactOS versioon on registreeritud üksusele:", IDC_STATIC, 35,
115, 180, 10
+ LTEXT "See ReactOS versioon on registreeritud üksusele:", IDC_ABOUT_REG_TO,
35, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/fi-FI.rc b/dll/win32/shell32/lang/fi-FI.rc
index 322457ad802..007a086d95e 100644
--- a/dll/win32/shell32/lang/fi-FI.rc
+++ b/dll/win32/shell32/lang/fi-FI.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "This ReactOS version is registered to:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "This ReactOS version is registered to:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/fr-FR.rc b/dll/win32/shell32/lang/fr-FR.rc
index 108872f06d8..6a95cfd000e 100644
--- a/dll/win32/shell32/lang/fr-FR.rc
+++ b/dll/win32/shell32/lang/fr-FR.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Cette version de ReactOS est enregistrée à :", IDC_STATIC, 35, 115,
180, 10
+ LTEXT "Cette version de ReactOS est enregistrée à :", IDC_ABOUT_REG_TO, 35,
115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/he-IL.rc b/dll/win32/shell32/lang/he-IL.rc
index 669b3e827c8..628830d04eb 100644
--- a/dll/win32/shell32/lang/he-IL.rc
+++ b/dll/win32/shell32/lang/he-IL.rc
@@ -142,7 +142,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " צוות ReactOS\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "גירסה זו של ReactOS רשומה עבור:", IDC_STATIC, 35, 115, 180, 10
+ LTEXT "גירסה זו של ReactOS רשומה עבור:", IDC_ABOUT_REG_TO, 35, 115, 180,
10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/hi-IN.rc b/dll/win32/shell32/lang/hi-IN.rc
index 79ee61403d2..c13f2730c19 100644
--- a/dll/win32/shell32/lang/hi-IN.rc
+++ b/dll/win32/shell32/lang/hi-IN.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " रिऐक्ट ओएस टीम\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "यह रिऐक्ट ओएस वर्ज़न पंजीकृत है:", IDC_STATIC, 35, 115, 180, 10
+ LTEXT "यह रिऐक्ट ओएस वर्ज़न पंजीकृत है:", IDC_ABOUT_REG_TO, 35, 115, 180,
10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/hu-HU.rc b/dll/win32/shell32/lang/hu-HU.rc
index dfd77d701be..5f6c86a7e0f 100644
--- a/dll/win32/shell32/lang/hu-HU.rc
+++ b/dll/win32/shell32/lang/hu-HU.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "A ReactOS ezen verziója az alábbi névre van regisztrálva:",
IDC_STATIC, 35, 115, 200, 10
+ LTEXT "A ReactOS ezen verziója az alábbi névre van regisztrálva:",
IDC_ABOUT_REG_TO, 35, 115, 200, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/id-ID.rc b/dll/win32/shell32/lang/id-ID.rc
index d8506fbe52c..b89c71a6b4b 100644
--- a/dll/win32/shell32/lang/id-ID.rc
+++ b/dll/win32/shell32/lang/id-ID.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " Tim ReactOS\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Versi ReactOS ini terdaftar kepada:", IDC_STATIC, 35, 115, 180, 10
+ LTEXT "Versi ReactOS ini terdaftar kepada:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/it-IT.rc b/dll/win32/shell32/lang/it-IT.rc
index 3a537c8a81d..c442b3c82bf 100644
--- a/dll/win32/shell32/lang/it-IT.rc
+++ b/dll/win32/shell32/lang/it-IT.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Questa versione di ReactOS è registrata a nome di:", IDC_STATIC, 35,
115, 180, 10
+ LTEXT "Questa versione di ReactOS è registrata a nome di:",
IDC_ABOUT_REG_TO, 35, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/ja-JP.rc b/dll/win32/shell32/lang/ja-JP.rc
index a0ca7140350..8a3997f3d12 100644
--- a/dll/win32/shell32/lang/ja-JP.rc
+++ b/dll/win32/shell32/lang/ja-JP.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "この ReactOS のバージョンは次の方に登録されています:", IDC_STATIC, 35, 105, 180, 10
+ LTEXT "この ReactOS のバージョンは次の方に登録されています:", IDC_ABOUT_REG_TO, 35, 105, 180,
10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 125, 180, 10
LTEXT "", IDC_STATIC, 35, 125, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/ko-KR.rc b/dll/win32/shell32/lang/ko-KR.rc
index 2fc91428a2d..139a5226fe8 100644
--- a/dll/win32/shell32/lang/ko-KR.rc
+++ b/dll/win32/shell32/lang/ko-KR.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "This ReactOS version is registered to:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "This ReactOS version is registered to:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/nl-NL.rc b/dll/win32/shell32/lang/nl-NL.rc
index 9e1434b5f06..f598cfef746 100644
--- a/dll/win32/shell32/lang/nl-NL.rc
+++ b/dll/win32/shell32/lang/nl-NL.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "This ReactOS version is registered to:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "This ReactOS version is registered to:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/no-NO.rc b/dll/win32/shell32/lang/no-NO.rc
index 07dd8b29350..4058056a405 100644
--- a/dll/win32/shell32/lang/no-NO.rc
+++ b/dll/win32/shell32/lang/no-NO.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Denne ReactOS versjonen er registert til:", IDC_STATIC, 35, 115,
180, 10
+ LTEXT "Denne ReactOS versjonen er registert til:", IDC_ABOUT_REG_TO, 35,
115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/pl-PL.rc b/dll/win32/shell32/lang/pl-PL.rc
index 0f900b4163f..f2421fd7a1b 100644
--- a/dll/win32/shell32/lang/pl-PL.rc
+++ b/dll/win32/shell32/lang/pl-PL.rc
@@ -146,7 +146,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Ta kopia systemu ReactOS jest zarejestrowana na:", IDC_STATIC, 35,
115, 180, 10
+ LTEXT "Ta kopia systemu ReactOS jest zarejestrowana na:", IDC_ABOUT_REG_TO,
35, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/pt-BR.rc b/dll/win32/shell32/lang/pt-BR.rc
index 36af8175910..d128f0eda74 100644
--- a/dll/win32/shell32/lang/pt-BR.rc
+++ b/dll/win32/shell32/lang/pt-BR.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Esta versão do ReactOS está registrado para:", IDC_STATIC, 35, 115,
180, 10
+ LTEXT "Esta versão do ReactOS está registrado para:", IDC_ABOUT_REG_TO, 35,
115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/pt-PT.rc b/dll/win32/shell32/lang/pt-PT.rc
index 5f6df026596..b09f19dd217 100644
--- a/dll/win32/shell32/lang/pt-PT.rc
+++ b/dll/win32/shell32/lang/pt-PT.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Esta versão do ReactOS é registada a:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "Esta versão do ReactOS é registada a:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/ro-RO.rc b/dll/win32/shell32/lang/ro-RO.rc
index 3b3e965ffce..d1fca5dd7d2 100644
--- a/dll/win32/shell32/lang/ro-RO.rc
+++ b/dll/win32/shell32/lang/ro-RO.rc
@@ -142,7 +142,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 103, 75, 17, 10
LTEXT " Echipa ReactOS\0", IDC_STATIC, 120, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Versiune înregistrată pentru:", IDC_STATIC, 35, 115, 180, 10
+ LTEXT "Versiune înregistrată pentru:", IDC_ABOUT_REG_TO, 35, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/ru-RU.rc b/dll/win32/shell32/lang/ru-RU.rc
index 2983cf2e9d3..a56cc801e23 100644
--- a/dll/win32/shell32/lang/ru-RU.rc
+++ b/dll/win32/shell32/lang/ru-RU.rc
@@ -147,7 +147,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " Команда ReactOS\0", IDC_STATIC, 105, 75, 65, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Данная версия ReactOS зарегистрирована на:", IDC_STATIC, 35, 115,
180, 10
+ LTEXT "Данная версия ReactOS зарегистрирована на:", IDC_ABOUT_REG_TO, 35,
115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/sk-SK.rc b/dll/win32/shell32/lang/sk-SK.rc
index 02ec1c7f2d4..1174b80aaa8 100644
--- a/dll/win32/shell32/lang/sk-SK.rc
+++ b/dll/win32/shell32/lang/sk-SK.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Táto verzia systému ReactOS je registrovaná pre:", IDC_STATIC, 35,
115, 180, 10
+ LTEXT "Táto verzia systému ReactOS je registrovaná pre:", IDC_ABOUT_REG_TO,
35, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/sl-SI.rc b/dll/win32/shell32/lang/sl-SI.rc
index 0e7e5215a94..9d612c7b886 100644
--- a/dll/win32/shell32/lang/sl-SI.rc
+++ b/dll/win32/shell32/lang/sl-SI.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "This ReactOS version is registered to:", IDC_STATIC, 35, 115, 180,
10
+ LTEXT "This ReactOS version is registered to:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/sq-AL.rc b/dll/win32/shell32/lang/sq-AL.rc
index 22f4fd02397..1e17a5b072f 100644
--- a/dll/win32/shell32/lang/sq-AL.rc
+++ b/dll/win32/shell32/lang/sq-AL.rc
@@ -144,7 +144,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " Ekipi ReactOS\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Ky version ReactOS është i regjistruar për:", IDC_STATIC, 35, 115,
180, 10
+ LTEXT "Ky version ReactOS është i regjistruar për:", IDC_ABOUT_REG_TO, 35,
115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/sv-SE.rc b/dll/win32/shell32/lang/sv-SE.rc
index e4c7d0192ea..4a4498c32d4 100644
--- a/dll/win32/shell32/lang/sv-SE.rc
+++ b/dll/win32/shell32/lang/sv-SE.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS-gruppen\0", IDC_STATIC, 105, 75, 60, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Den här versionen av ReactOS är registrerad till:", IDC_STATIC, 35,
115, 180, 10
+ LTEXT "Den här versionen av ReactOS är registrerad till:",
IDC_ABOUT_REG_TO, 35, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/tr-TR.rc b/dll/win32/shell32/lang/tr-TR.rc
index cf7bb2e7111..ffb79b82628 100644
--- a/dll/win32/shell32/lang/tr-TR.rc
+++ b/dll/win32/shell32/lang/tr-TR.rc
@@ -142,7 +142,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Takımı\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Bu ReactOS sürümü şuna kayıtlıdır:", IDC_STATIC, 35, 115, 180, 10
+ LTEXT "Bu ReactOS sürümü şuna kayıtlıdır:", IDC_ABOUT_REG_TO, 35, 115, 180,
10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/uk-UA.rc b/dll/win32/shell32/lang/uk-UA.rc
index e1ff4ace012..d96037feef1 100644
--- a/dll/win32/shell32/lang/uk-UA.rc
+++ b/dll/win32/shell32/lang/uk-UA.rc
@@ -140,7 +140,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "Ця версія ReactOS зареєстрована на:", IDC_STATIC, 35, 115, 180, 10
+ LTEXT "Ця версія ReactOS зареєстрована на:", IDC_ABOUT_REG_TO, 35, 115,
180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/zh-CN.rc b/dll/win32/shell32/lang/zh-CN.rc
index da607ce1762..853eb50f76d 100644
--- a/dll/win32/shell32/lang/zh-CN.rc
+++ b/dll/win32/shell32/lang/zh-CN.rc
@@ -150,7 +150,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "这个 ReactOS 版本注册到:", IDC_STATIC, 35, 115, 180, 10
+ LTEXT "这个 ReactOS 版本注册到:", IDC_ABOUT_REG_TO, 35, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/lang/zh-TW.rc b/dll/win32/shell32/lang/zh-TW.rc
index 33dcb7ff313..4d5fd292a0b 100644
--- a/dll/win32/shell32/lang/zh-TW.rc
+++ b/dll/win32/shell32/lang/zh-TW.rc
@@ -150,7 +150,7 @@ BEGIN
LTEXT COPYRIGHT_YEAR, IDC_STATIC, 88, 75, 17, 10
LTEXT " ReactOS Team\0", IDC_STATIC, 105, 75, 53, 10
LTEXT "", IDC_ABOUT_OTHERSTUFF, 35, 90, 180, 20
- LTEXT "此版本授權予:", IDC_STATIC, 35, 115, 180, 10
+ LTEXT "此版本授權予:", IDC_ABOUT_REG_TO, 35, 115, 180, 10
LTEXT "", IDC_ABOUT_REG_USERNAME, 45, 125, 180, 10
LTEXT "", IDC_ABOUT_REG_ORGNAME, 45, 135, 180, 10
LTEXT "", IDC_STATIC, 35, 147, 235, 1, SS_ETCHEDHORZ
diff --git a/dll/win32/shell32/shresdef.h b/dll/win32/shell32/shresdef.h
index 821d4d05a85..d2de59071fe 100644
--- a/dll/win32/shell32/shresdef.h
+++ b/dll/win32/shell32/shresdef.h
@@ -325,6 +325,7 @@
#define IDS_ABOUT_VERSION_STRING 0x3501
#define IDC_ABOUT_VERSION 0x3502
#define IDC_ABOUT_OTHERSTUFF 0x350D
+#define IDC_ABOUT_REG_TO 0x3506
#define IDC_ABOUT_REG_USERNAME 0x3507
#define IDC_ABOUT_REG_ORGNAME 0x3508
#define IDC_ABOUT_PHYSMEM 0x3503
diff --git a/dll/win32/shell32/wine/shell32_main.c
b/dll/win32/shell32/wine/shell32_main.c
index fdd02477b2a..a89999c4774 100644
--- a/dll/win32/shell32/wine/shell32_main.c
+++ b/dll/win32/shell32/wine/shell32_main.c
@@ -1192,6 +1192,13 @@ static INT_PTR CALLBACK AboutDlgProc( HWND hWnd, UINT msg, WPARAM
wParam, LPARAM
{
SetRegTextData( hWnd, hRegKey, L"RegisteredOwner",
IDC_ABOUT_REG_USERNAME );
SetRegTextData( hWnd, hRegKey, L"RegisteredOrganization",
IDC_ABOUT_REG_ORGNAME );
+#ifdef __REACTOS__
+ if(GetWindowTextLengthW( GetDlgItem( hWnd, IDC_ABOUT_REG_USERNAME ) )
== 0 &&
+ GetWindowTextLengthW( GetDlgItem( hWnd, IDC_ABOUT_REG_ORGNAME ) )
== 0)
+ {
+ ShowWindow( GetDlgItem( hWnd, IDC_ABOUT_REG_TO ), SW_HIDE );
+ }
+#endif
RegCloseKey( hRegKey );
}