https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a5634138c37263f6bcb65…
commit a5634138c37263f6bcb65700055c0f90ab63fe0d
Author: Kyle Katarn <contact(a)kcsoftwares.com>
AuthorDate: Thu Sep 3 21:20:54 2020 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Thu Sep 3 21:20:54 2020 +0200
[SETUP] French translation of missing elements (#3111)
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
---
base/setup/usetup/lang/fr-FR.h | 68 +++++++++++++++++++++++++-----------------
1 file changed, 41 insertions(+), 27 deletions(-)
diff --git a/base/setup/usetup/lang/fr-FR.h b/base/setup/usetup/lang/fr-FR.h
index aeb2913ffee..263e73a62f6 100644
--- a/base/setup/usetup/lang/fr-FR.h
+++ b/base/setup/usetup/lang/fr-FR.h
@@ -192,63 +192,63 @@ static MUI_ENTRY frFRIntroPageEntries[] =
{
6,
8,
- "ReactOS Version Status",
+ "Statut de version de ReactOS",
TEXT_STYLE_HIGHLIGHT,
TEXT_ID_STATIC
},
{
6,
11,
- "ReactOS is in Alpha stage, meaning it is not feature-complete",
+ "ReactOS est en version Alpha, ce qui signifie qu'il n'est pas complet",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
6,
12,
- "and is under heavy development. It is recommended to use it only for",
+ "et est en cours de d\202veloppement. Il est recommand\202 de ne l'utiliser",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
6,
13,
- "evaluation and testing purposes and not as your daily-usage OS.",
+ "que pour \202valuation et test, pas pour un usage quotidien.",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
6,
15,
- "Backup your data or test on a secondary computer if you attempt",
+ "Sauvegardez vos donn\202es ou testez sur un ordinateur secondaire",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
6,
16,
- "to run ReactOS on real hardware.",
+ "si vous souhaitez utiliser ReactOS sur du mat\202riel.",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
19,
- "\x07 Press ENTER to continue ReactOS Setup.",
+ "\x07 Appuyez sur ENTR\220E pour continuer l'installation de ReactOS.",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
21,
- "\x07 Press F3 to quit without installing ReactOS.",
+ "\x07 Appuyez sur F3 pour quitter sans installer ReactOS.",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
0,
0,
- "ENTER = Continue F3 = Quit",
+ "ENTR\220E = Continuer F3 = Quitter",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG,
TEXT_ID_STATIC
},
@@ -279,112 +279,126 @@ static MUI_ENTRY frFRLicensePageEntries[] =
{
8,
8,
- "The ReactOS System is licensed under the terms of the",
+ "Le syst\212me ReactOS est distribu\202 sous les termes de",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
9,
- "GNU GPL with parts containing code from other compatible",
+ "la licence GNU GPL avec des parties contenant du code sous",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
10,
- "licenses such as the X11 or BSD and GNU LGPL licenses.",
+ "d'autres licences compatibles telles que X11, BSD et GNU LGPL.",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
11,
- "All software that is part of the ReactOS system is",
+ "Tout le logiciel constituant le syst\212me ReactOS est",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
12,
- "therefore released under the GNU GPL as well as maintaining",
+ "par cons\202quent distribu\202 sous licence GNU GPL tout en",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
13,
- "the original license.",
+ "maintenant la licence d'origine.",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
15,
- "This software comes with NO WARRANTY or restrictions on usage",
+ "Ce logiciel vient SANS GARANTIE ou restriction d'usage",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
16,
- "save applicable local and international law. The licensing of",
+ "sous les lois locales ou internationales applicables.",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
17,
- "ReactOS only covers distribution to third parties.",
+ "La licence de ReactOS ne couvre que la distribution",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
18,
- "If for some reason you did not receive a copy of the",
+ "aux tierces parties.",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
19,
- "GNU General Public License with ReactOS please visit",
+ "Si vous n'avez pas obtenu une copie de la",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
20,
+ "GNU General Public License avec ReactOS veuillez visiter",
+ TEXT_STYLE_NORMAL,
+ TEXT_ID_STATIC
+ },
+ {
+ 8,
+ 21,
"http://www.gnu.org/licenses/licenses.html",
TEXT_STYLE_HIGHLIGHT,
TEXT_ID_STATIC
},
{
8,
- 22,
+ 23,
"Garantie :",
TEXT_STYLE_HIGHLIGHT,
TEXT_ID_STATIC
},
{
8,
- 24,
- "This is free software; see the source for copying conditions.",
+ 25,
+ "Ce logiciel est gratuit. Voir les sources pour les",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
- 25,
- "There is NO warranty; not even for MERCHANTABILITY or",
+ 26,
+ "conditions de copie.",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
- 26,
- "FITNESS FOR A PARTICULAR PURPOSE",
+ 27,
+ "Il n'y a AUCUNE garantie; pas m\210me sur la QUALIT\220 ou",
+ TEXT_STYLE_NORMAL,
+ TEXT_ID_STATIC
+ },
+ {
+ 8,
+ 28,
+ "l'AD\220QUATION POUR UN USAGE EN PARTICULIER",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9835710f7e9ef9b9c273d…
commit 9835710f7e9ef9b9c273d0213ea630b97392689d
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Tue Sep 1 19:11:22 2020 +0200
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Tue Sep 1 19:11:22 2020 +0200
[GDI] Demote the insane amount of logging CORE-1091
that was introduced by
0.4.15-dev-684-g
448bcede24b2f8384c35656019622eb0ff5379d2
---
win32ss/gdi/ntgdi/text.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/gdi/ntgdi/text.c b/win32ss/gdi/ntgdi/text.c
index 3761dd8f3e0..8de0855558e 100644
--- a/win32ss/gdi/ntgdi/text.c
+++ b/win32ss/gdi/ntgdi/text.c
@@ -41,7 +41,7 @@ IntTMWFixUp(
* to a TrueType one when we have a 'Raster' font as our input we filter
* out the problematic TrueType and Vector bits.
* Our list below checks for Raster Font Facenames. */
- DPRINT1("Font Facename is '%S'.\n", lf.lfFaceName);
+ DPRINT("Font Facename is '%S'.\n", lf.lfFaceName);
if ((wcsicmp(lf.lfFaceName, L"Helv") == 0) ||
(wcsicmp(lf.lfFaceName, L"Courier") == 0) ||
(wcsicmp(lf.lfFaceName, L"MS Sans Serif") == 0) ||
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=448bcede24b2f8384c356…
commit 448bcede24b2f8384c35656019622eb0ff5379d2
Author: Doug Lyons <douglyons(a)douglyons.com>
AuthorDate: Tue Sep 1 06:08:26 2020 -0500
Commit: GitHub <noreply(a)github.com>
CommitDate: Tue Sep 1 20:08:26 2020 +0900
[GDI32] Preserve PitchAndFamily across GetTextMetricsW call (#2689)
ReactOS has no Raster fonts today, so compensate for this affecting the editbox margins.
CORE-1091
This patch fixes the inability to see all of the characters in the CD-KEY box of Starcraft and Visual Basic 5 and Visual Basic 6 Installs. It supersedes #2656
---
win32ss/gdi/ntgdi/text.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/win32ss/gdi/ntgdi/text.c b/win32ss/gdi/ntgdi/text.c
index 2ea694103ae..3761dd8f3e0 100644
--- a/win32ss/gdi/ntgdi/text.c
+++ b/win32ss/gdi/ntgdi/text.c
@@ -13,6 +13,48 @@
#define NDEBUG
#include <debug.h>
+
+/*
+ This is a hack. See CORE-1091.
+
+ It is needed because ReactOS does not support raster fonts now.
+ After Raster Font support is added, then it can be removed.
+ Find the current font's logfont for testing its lf.lfFaceName.
+
+ The ftGdiGetTextMetricsW function currently in ReactOS will always return a Truetype font
+ because we cannot yet handle raster fonts. So it will return flags
+ TMPF_VECTOR and TMPF_TRUETYPE, which can cause problems in edit boxes.
+ */
+
+VOID FASTCALL
+IntTMWFixUp(
+ HDC hDC,
+ TMW_INTERNAL *ptm)
+{
+ LOGFONTW lf;
+ HFONT hCurrentFont;
+
+ hCurrentFont = NtGdiGetDCObject(hDC, GDI_OBJECT_TYPE_FONT);
+ GreGetObject(hCurrentFont, sizeof(LOGFONTW), &lf);
+
+ /* To compensate for the GetTextMetricsW call changing the PitchAndFamily
+ * to a TrueType one when we have a 'Raster' font as our input we filter
+ * out the problematic TrueType and Vector bits.
+ * Our list below checks for Raster Font Facenames. */
+ DPRINT1("Font Facename is '%S'.\n", lf.lfFaceName);
+ if ((wcsicmp(lf.lfFaceName, L"Helv") == 0) ||
+ (wcsicmp(lf.lfFaceName, L"Courier") == 0) ||
+ (wcsicmp(lf.lfFaceName, L"MS Sans Serif") == 0) ||
+ (wcsicmp(lf.lfFaceName, L"MS Serif") == 0) ||
+ (wcsicmp(lf.lfFaceName, L"Times New Roman") == 0) ||
+ (wcsicmp(lf.lfFaceName, L"MS Shell Dlg") == 0) ||
+ (wcsicmp(lf.lfFaceName, L"System") == 0) ||
+ (wcsicmp(lf.lfFaceName, L"Terminal") == 0))
+ {
+ ptm->TextMetric.tmPitchAndFamily &= ~(TMPF_TRUETYPE | TMPF_VECTOR);
+ }
+}
+
/** Functions *****************************************************************/
BOOL FASTCALL
@@ -154,6 +196,7 @@ GreGetTextMetricsW(
{
TMW_INTERNAL tmwi;
if (!ftGdiGetTextMetricsW(hdc, &tmwi)) return FALSE;
+ IntTMWFixUp(hdc, &tmwi);
*lptm = tmwi.TextMetric;
return TRUE;
}
@@ -555,6 +598,7 @@ NtGdiGetTextMetricsW(
{
if (ftGdiGetTextMetricsW(hDC, &Tmwi))
{
+ IntTMWFixUp(hDC, &Tmwi);
_SEH2_TRY
{
ProbeForWrite(pUnsafeTmwi, cj, 1);