groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 19/30: [tmac]: Drop unnecessary localization logic.


From: G. Branden Robinson
Subject: [groff] 19/30: [tmac]: Drop unnecessary localization logic.
Date: Fri, 8 Nov 2024 01:14:30 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit a3d6a09499b4c1aa24af8ebad443259cd3b7817e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Nov 7 11:28:02 2024 -0600

    [tmac]: Drop unnecessary localization logic.
    
    * tmac/cs.tmac:
    * tmac/de.tmac:
    * tmac/es.tmac:
    * tmac/fr.tmac:
    * tmac/it.tmac:
    * tmac/ru.tmac: Drop redundant requests from `ISODATE` macro
      redefinition and redundant re-aliasing of `cov*new-date`.  These are
      all identical to what is done for English in "m.tmac".
---
 ChangeLog    | 11 +++++++++++
 tmac/cs.tmac |  6 ------
 tmac/de.tmac |  6 ------
 tmac/es.tmac |  6 ------
 tmac/fr.tmac |  6 ------
 tmac/it.tmac |  6 ------
 tmac/ru.tmac |  6 ------
 7 files changed, 11 insertions(+), 36 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 207e56802..525c6d7de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2024-11-07  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/cs.tmac:
+       * tmac/de.tmac:
+       * tmac/es.tmac:
+       * tmac/fr.tmac:
+       * tmac/it.tmac:
+       * tmac/ru.tmac: Drop redundant requests from `ISODATE` macro
+       redefinition and redundant re-aliasing of `cov*new-date`.  These
+       are all identical to what is done for English in "m.tmac".
+
 2024-11-07  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/roff/troff/env.cpp (print_hyphenation_exceptions): Ensure
diff --git a/tmac/cs.tmac b/tmac/cs.tmac
index 99b02c58f..afe5ade88 100644
--- a/tmac/cs.tmac
+++ b/tmac/cs.tmac
@@ -138,17 +138,11 @@
 .
 .      \" ISODATE and DT update
 .      de ISODATE
-.              nr cov*mm \\n[mo]
-.              nr cov*dd \\n[dy]
-.              af cov*mm 01
-.              af cov*dd 01
 .              ie '0'\\$1' \
 .                      ds cov*new-date \\n[dy] \\*[MO\\n[mo]] \\n[year]
 .              el \
 .                      ds cov*new-date \\n[year]-\\n[cov*mm]-\\n[cov*dd]
 .      .
-.
-.      als DT cov*new-date
 .\}
 .
 .
diff --git a/tmac/de.tmac b/tmac/de.tmac
index 5adb53a59..a7b7c977a 100644
--- a/tmac/de.tmac
+++ b/tmac/de.tmac
@@ -138,17 +138,11 @@
 .
 .      \" ISODATE and DT update
 .      de ISODATE
-.              nr cov*mm \\n[mo]
-.              nr cov*dd \\n[dy]
-.              af cov*mm 01
-.              af cov*dd 01
 .              ie '0'\\$1' \
 .                      ds cov*new-date \\n[dy].\~\\*[MO\\n[mo]] \\n[year]
 .              el \
 .                      ds cov*new-date \\n[year]-\\n[cov*mm]-\\n[cov*dd]
 .      .
-.
-.      als DT cov*new-date
 .\}
 .
 .
diff --git a/tmac/es.tmac b/tmac/es.tmac
index 9b02cc031..695dabfff 100644
--- a/tmac/es.tmac
+++ b/tmac/es.tmac
@@ -138,17 +138,11 @@
 .
 .      \" ISODATE and DT update
 .      de ISODATE
-.            nr cov*mm \\n[mo]
-.            nr cov*dd \\n[dy]
-.            af cov*mm 01
-.            af cov*dd 01
 .            ie '0'\\$1' \
 .                    ds cov*new-date \\n[dy] de \\*[MO\\n[mo]] de \\n[year]
 .            el \
 .                    ds cov*new-date \\n[year]-\\n[cov*mm]-\\n[cov*dd]
 .      .
-.
-.      als DT cov*new-date
 .\}
 .
 .
diff --git a/tmac/fr.tmac b/tmac/fr.tmac
index 96dc51a5c..4f85f2378 100644
--- a/tmac/fr.tmac
+++ b/tmac/fr.tmac
@@ -138,17 +138,11 @@
 .
 .      \" ISODATE and DT update
 .      de ISODATE
-.              nr cov*mm \\n[mo]
-.              nr cov*dd \\n[dy]
-.              af cov*mm 01
-.              af cov*dd 01
 .              ie '0'\\$1' \
 .                      ds cov*new-date \\n[dy] \\*[MO\\n[mo]] \\n[year]
 .              el \
 .                      ds cov*new-date \\n[year]-\\n[cov*mm]-\\n[cov*dd]
 .      .
-.
-.      als DT cov*new-date
 .\}
 .
 .
diff --git a/tmac/it.tmac b/tmac/it.tmac
index d137cc156..165c166b3 100644
--- a/tmac/it.tmac
+++ b/tmac/it.tmac
@@ -138,17 +138,11 @@
 .
 .      \" ISODATE and DT update
 .      de ISODATE
-.              nr cov*mm \\n[mo]
-.              nr cov*dd \\n[dy]
-.              af cov*mm 01
-.              af cov*dd 01
 .              ie '0'\\$1' \
 .                      ds cov*new-date \\n[dy] \\*[MO\\n[mo]] \\n[year]
 .              el \
 .                      ds cov*new-date \\n[year]-\\n[cov*mm]-\\n[cov*dd]
 .      .
-.
-.      als DT cov*new-date
 .\}
 .
 .
diff --git a/tmac/ru.tmac b/tmac/ru.tmac
index 014e17b50..46663c6ea 100644
--- a/tmac/ru.tmac
+++ b/tmac/ru.tmac
@@ -138,17 +138,11 @@
 .
 .      \" ISODATE and DT update
 .      de ISODATE
-.              nr cov*mm \\n[mo]
-.              nr cov*dd \\n[dy]
-.              af cov*mm 01
-.              af cov*dd 01
 .              ie '0'\\$1' \
 .                      ds cov*new-date \\n[dy] \\*[MO\\n[mo]] \\n[year]
 .              el \
 .                      ds cov*new-date \\n[year]-\\n[cov*mm]-\\n[cov*dd]
 .      .
-.
-.      als DT cov*new-date
 .      nr Hy 1
 .\}
 .



reply via email to

[Prev in Thread] Current Thread [Next in Thread]