gbranden pushed a commit to branch master
in repository groff.

commit 73ac47047c23963f310aaf27c2c1d6c13bab318b
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Jul 10 10:32:33 2025 -0500

    [me]: Fix Savannah #67303 (German date l10n).
    
    * tmac/de.tmac (_td_format) [@R]: Fix German date localization for me(7)
      package; don't put a dot after the month name.
    
    * tmac/tests/e_ld-works.sh: Update test expectations.
    
    Fixes <https://savannah.gnu.org/bugs/?67303>.  Thanks to Stefan Möding
    for the report and patch.  Problem appears to date back to the
    introduction of German localization to groff, in commit 9ed99d14cb, 19
    December 2006.
    
    ANNOUNCE: Acknowledge Stefan.
---
 ANNOUNCE                 |  1 +
 ChangeLog                | 12 ++++++++++++
 tmac/de.tmac             |  2 +-
 tmac/tests/e_ld-works.sh |  4 ++--
 4 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/ANNOUNCE b/ANNOUNCE
index 62d79c73c..78d131066 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -203,6 +203,7 @@ Rob Kolstad
 Robert Yang
 Ross Burton
 Sebastien Peterson-Boudreau
+Stefan Möding
 Sven Schober
 TANAKA Takuji
 Tadziu Hoffman
diff --git a/ChangeLog b/ChangeLog
index 4a5671728..a66f2e72f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2025-07-10  G. Branden Robinson <[email protected]>
+
+       * tmac/de.tmac (_td_format) [@R]: Fix German date localization
+       for me(7) package; don't put a dot after the month name.
+
+       * tmac/tests/e_ld-works.sh: Update test expectations.
+
+       Fixes <https://savannah.gnu.org/bugs/?67303>.  Thanks to Stefan
+       Möding for the report and patch.  Problem appears to date back
+       to the introduction of German localization to groff, in commit
+       9ed99d14cb, 19 December 2006.
+
 2025-07-09  G. Branden Robinson <[email protected]>
 
        * doc/doc.am: Rationalize Texinfo document installation targets.
diff --git a/tmac/de.tmac b/tmac/de.tmac
index d494d2b18..9f20bf684 100644
--- a/tmac/de.tmac
+++ b/tmac/de.tmac
@@ -170,7 +170,7 @@
 .
 .\" me package
 .if d @R \{\
-.      ds _td_format \En(dy.\~\E*(mo.\& \En(y4
+.      ds _td_format \En(dy.\~\E*(mo \En(y4
 .      ld
 .\}
 .
diff --git a/tmac/tests/e_ld-works.sh b/tmac/tests/e_ld-works.sh
index 06e833008..c6e3dd180 100755
--- a/tmac/tests/e_ld-works.sh
+++ b/tmac/tests/e_ld-works.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2021-2023 Free Software Foundation, Inc.
+# Copyright (C) 2021-2025 Free Software Foundation, Inc.
 #
 # This file is part of groff.
 #
@@ -86,7 +86,7 @@ echo "$output_cs" | grep -Eqx ' +Dodatek A' || wail
 # German localization
 echo 'checking that `td` string updated correctly for German' >&2
 echo "$output_de" \
-    | grep -q 'The day was Montag, 15\. Dezember\. 2008\.$' || wail
+    | grep -q 'The day was Montag, 15\. Dezember 2008\.$' || wail
 
 echo 'checking for correct German "Chapter" string' >&2
 echo "$output_de" | grep -Eqx ' +Kapitel 1' || wail

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to