https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5123edd731094465b901c…
commit 5123edd731094465b901c0d69813628b7533da8c
Author: Joachim Henze <joachim.henze(a)reactos.org>
AuthorDate: Fri Dec 9 21:28:38 2022 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Dec 9 21:28:38 2022 +0100
[CONSOLE] Improve font preview and Update de-DE.rc (#4933)
An addendum to bc1e2dbb92340b89ed043545ff761f75ea013301 == SVN r74465
from CORE13182 (I intentionally did not want JIRA to auto-link)
---
dll/cpl/console/lang/de-DE.rc | 16 ++++++++--------
dll/cpl/console/layout.c | 2 +-
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dll/cpl/console/lang/de-DE.rc b/dll/cpl/console/lang/de-DE.rc
index 43d482c0fc9..d144ea96947 100644
--- a/dll/cpl/console/lang/de-DE.rc
+++ b/dll/cpl/console/lang/de-DE.rc
@@ -33,7 +33,7 @@ END
IDD_PROPPAGEFONT DIALOGEX 0, 0, 250, 220
STYLE DS_SHELLFONT | WS_CHILD | WS_CAPTION
-CAPTION "Schrift"
+CAPTION "Schriftart"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Fenstervorschau:", IDC_STATIC, 7, 7, 115, 10
@@ -41,12 +41,12 @@ BEGIN
LTEXT "Größe:", IDC_STATIC, 130, 7, 45, 10
LISTBOX IDC_LBOX_FONTSIZE, 130, 20, 50, 86, LBS_SORT | LBS_HASSTRINGS | WS_VSCROLL |
WS_TABSTOP
COMBOBOX IDC_CBOX_FONTSIZE, 130, 20, 30, 86, CBS_SIMPLE | CBS_SORT | WS_VSCROLL |
WS_TABSTOP
- AUTORADIOBUTTON "pi&xels", IDC_RADIO_PIXEL_UNIT, 165, 17, 60, 10,
WS_CHILD | WS_VISIBLE | WS_TABSTOP
- AUTORADIOBUTTON "&points", IDC_RADIO_POINT_UNIT, 165, 28, 60, 10,
WS_CHILD | WS_VISIBLE | WS_TABSTOP
- LTEXT "&Schrift", IDC_STATIC, 10, 105, 35, 10
- AUTOCHECKBOX "&Fette Schriften", IDC_CHECK_BOLD_FONTS, 45, 105, 60,
10
+ AUTORADIOBUTTON "Pi&xel", IDC_RADIO_PIXEL_UNIT, 165, 17, 60, 10,
WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ AUTORADIOBUTTON "&Punkte", IDC_RADIO_POINT_UNIT, 165, 28, 60, 10,
WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ LTEXT "&Schriftart", IDC_STATIC, 10, 105, 35, 10
+ AUTOCHECKBOX "&Fett", IDC_CHECK_BOLD_FONTS, 45, 105, 60, 10
LISTBOX IDC_LBOX_FONTTYPE, 10, 120, 110, 50, LBS_SORT | LBS_HASSTRINGS | WS_VSCROLL |
WS_TABSTOP
- GROUPBOX "Selected Font", IDC_GROUPBOX_FONT_NAME, 7, 156, 240, 50
+ GROUPBOX "Gewählte Schriftart", IDC_GROUPBOX_FONT_NAME, 7, 156, 240, 50
CONTROL "", IDC_STATIC_SELECT_FONT_PREVIEW, "Static",
SS_OWNERDRAW | SS_SUNKEN, 12, 166, 104, 35, WS_EX_CLIENTEDGE
LTEXT "Jedes Zeichen ist:", IDC_STATIC, 125, 166, 85, 10
LTEXT "Bildschirmpixel breit\nBildschirmpixel hoch", IDC_STATIC, 138, 180,
100, 20
@@ -151,6 +151,6 @@ BEGIN
IDS_CPLNAME "Konsole"
IDS_CPLDESCRIPTION "Konfiguriert die Konsoleneigenschaften."
IDS_APPLY_SHORTCUT_ALL "Modifiziere die &Verknüpfung, die das Fenster
startete"
- IDS_RASTERFONTS "Rasterschriften"
- IDS_GROUPBOX_FONT_NAME "Selected Font: "
+ IDS_RASTERFONTS "Rasterschriftarten"
+ IDS_GROUPBOX_FONT_NAME "Gewählte Schriftart: "
END
diff --git a/dll/cpl/console/layout.c b/dll/cpl/console/layout.c
index e275b518b9f..3764a927e21 100644
--- a/dll/cpl/console/layout.c
+++ b/dll/cpl/console/layout.c
@@ -458,7 +458,7 @@ WinPrevProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
/* CONSOLE TEXT PREVIEW *******************************************************/
const WCHAR szPreviewText[] =
- L"C:\\ReactOS> dir \n" \
+ L"C:\\ReactOS>dir\n" \
L"SYSTEM <DIR> 13-04-15 5:00a\n" \
L"SYSTEM32 <DIR> 13-04-15 5:00a\n" \
L"readme txt 1739 13-04-15 5:00a\n" \