From b770bfc2be221b0159885772d5c3f3b14fc135ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 4 Oct 2026 18:03:40 +0000 Subject: [PATCH 1/2] doc: Fix typos in code, comments and templates Fix spelling mistakes in a DTD file, a LaTeX document, a Python comment, a C++ header comment, a README and the documentation HTML header template. AI assistance (Claude Code) was used to find the typos. --- gui/xml/grass-interface.dtd | 2 +- include/grass/iostream/pqheap.h | 6 +++--- lib/cdhc/doc/goodness.tex | 2 +- ps/ps.map/README | 2 +- python/grass/docs/_templates/header.html | 4 ++-- python/grass/tools/session_tools.py | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gui/xml/grass-interface.dtd b/gui/xml/grass-interface.dtd index 006bb70edb1..e1f81795cbe 100644 --- a/gui/xml/grass-interface.dtd +++ b/gui/xml/grass-interface.dtd @@ -71,7 +71,7 @@ integer : a numeric integer parameter. float : a numeric float parameter. If multiple is "yes", then many values for the - parameter may be given in a comma-seperated list + parameter may be given in a comma-separated list --> ::min() //************************************************************/ // this function is a dirty hack to allow building faster the heap -// in case we build it from a sorted array; in thiat case we dont need +// in case we build it from a sorted array; in that case we don't need // to 'insert' and then 'heapify', but it is enough to 'set' template inline void pqheap_t1::set(long i, T &elt) @@ -472,7 +472,7 @@ inline void pqheap_t1::heapify(unsigned int root) unsigned int rc = heap_rchild(root); #ifdef HEAPSTATUS - // already did the root, so dont do it again + // already did the root, so don't do it again if (lc < cur_elts) { heaptouch(lc); } diff --git a/lib/cdhc/doc/goodness.tex b/lib/cdhc/doc/goodness.tex index 843c223e2ce..671ff7b54f6 100644 --- a/lib/cdhc/doc/goodness.tex +++ b/lib/cdhc/doc/goodness.tex @@ -1674,7 +1674,7 @@ \section{Utility Functions} \clearpage \begin{table} -\caption{Signficant Values of D'Agostino's D Test (\(y\) statistic +\caption{Significant Values of D'Agostino's D Test (\(y\) statistic of eqn.~\protect\ref{eqn:xform-d}).} \centerline{Reproduced from D'Agostino~\protect\cite{dagostino86}.} \label{tbl:d-test} diff --git a/ps/ps.map/README b/ps/ps.map/README index 4082a4fab34..bdd03f32f03 100644 --- a/ps/ps.map/README +++ b/ps/ps.map/README @@ -23,7 +23,7 @@ The manual for ps.map says that fields width and hwidth specify the width of the line in pixels, which is not true: they were actually interpreted as width in user space PostScript coordinates: 1/72 of inch. I made the width double, added width options -for outline and grid, and also now the width ni is isnterpreted as n inches. +for outline and grid, and also now the width ni is interpreted as n inches. STATUS: FIXED and coming out with the next update diff --git a/python/grass/docs/_templates/header.html b/python/grass/docs/_templates/header.html index 88f309fc56c..bef2ce6f2d8 100644 --- a/python/grass/docs/_templates/header.html +++ b/python/grass/docs/_templates/header.html @@ -1,5 +1,5 @@ - +