https://git.reactos.org/?p=reactos.git;a=commitdiff;h=793e2a38b4265deb673a9…
commit 793e2a38b4265deb673a93f92ce91ad4f4e07c18
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Tue Sep 25 21:51:19 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Tue Sep 25 21:51:19 2018 +0200
[DEVCPUX] Make the CPU property sheet page a little nicer and make it translatable
---
dll/shellext/devcpux/lang/en-US.rc | 36 ++++++++++++++++++++++++++++++++++++
dll/shellext/devcpux/processor.rc | 20 ++++++--------------
2 files changed, 42 insertions(+), 14 deletions(-)
diff --git a/dll/shellext/devcpux/lang/en-US.rc b/dll/shellext/devcpux/lang/en-US.rc
new file mode 100644
index 0000000000..4ea9377e0a
--- /dev/null
+++ b/dll/shellext/devcpux/lang/en-US.rc
@@ -0,0 +1,36 @@
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+DLG_PROCESSORINFO DIALOGEX 0, 0, 252, 218
+STYLE DS_SHELLFONT | WS_POPUP | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
+CAPTION "CPU"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Features:", -1, 7, 23, 50, 8
+ LTEXT "test", IDC_FEATURES, 57, 23, 181, 8
+ LTEXT "Model:", -1, 7, 38, 50, 8
+ LTEXT "test", IDC_MODEL, 57, 38, 181, 8
+ LTEXT "Stepping:", -1, 7, 53, 50, 51
+ LTEXT "test", IDC_STEPPING, 57, 53, 181, 8
+ LTEXT "Core Speed:", -1, 7, 68, 50, 8
+ LTEXT "test", IDC_CORESPEED, 57, 68, 181, 8
+END
+
+/*
+DLG_PROCESSORINFO DIALOGEX 0, 0, 252, 218
+STYLE DS_SHELLFONT | WS_POPUP | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
+CAPTION "CPU"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Features:", -1, 7, 23, 50, 8
+ LTEXT "<test>", IDC_FEATURES, 7, 34, 238, 8
+
+ LTEXT "Model:", -1, 7, 49, 50, 8
+ LTEXT "<test>", IDC_MODEL, 7, 60, 238, 8
+
+ LTEXT "Stepping:", -1, 7, 75, 50, 8
+ LTEXT "<test>", IDC_STEPPING, 7, 86, 238, 8
+
+ LTEXT "Core Speed:", -1, 7, 101, 50, 8
+ LTEXT "<test>", IDC_CORESPEED, 7, 112, 238, 8
+END
+*/
\ No newline at end of file
diff --git a/dll/shellext/devcpux/processor.rc b/dll/shellext/devcpux/processor.rc
index ffe16771bf..e98f907589 100644
--- a/dll/shellext/devcpux/processor.rc
+++ b/dll/shellext/devcpux/processor.rc
@@ -9,17 +9,9 @@
#define REACTOS_STR_ORIGINAL_FILENAME "processorext.dll"
#include <reactos/version.rc>
-DLG_PROCESSORINFO DIALOGEX 0, 0, 200, 220
-STYLE DS_SHELLFONT | WS_POPUP | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
-CAPTION "CPU"
-FONT 8, "MS Shell Dlg"
-BEGIN
- LTEXT "Features:", -1, 5, 23, 50, 51
- LTEXT "Test", IDC_FEATURES, 50, 23, 80, 51
- LTEXT "Model:", -1, 5, 33, 50, 51
- LTEXT "test", IDC_MODEL, 50, 33, 80, 51
- LTEXT "Stepping:", -1, 5, 43, 50, 51
- LTEXT "test", IDC_STEPPING, 50, 43, 80, 51
- LTEXT "Core Speed:", -1, 5, 53, 50, 51
- LTEXT "test", IDC_CORESPEED, 50, 53, 80, 51
-END
+/* UTF-8 */
+#pragma code_page(65001)
+
+#ifdef LANGUAGE_EN_US
+ #include "lang/en-US.rc"
+#endif
\ No newline at end of file