groff-commit
[Top][All Lists]
Advanced

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

[groff] 20/21: [tmac]: Migrate localization pkgs to `hydefault`.


From: G. Branden Robinson
Subject: [groff] 20/21: [tmac]: Migrate localization pkgs to `hydefault`.
Date: Sat, 2 Mar 2024 01:25:03 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit ac229b0e9a6bf99b7c45a497b73bc6e7a06d2d69
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Mar 1 22:36:36 2024 -0600

    [tmac]: Migrate localization pkgs to `hydefault`.
    
    [tmac]: Migrate localization packages to `hydefault` request.
    
    * tmac/cs.tmac:
    * tmac/de.tmac:
    * tmac/en.tmac:
    * tmac/es.tmac:
    * tmac/fr.tmac:
    * tmac/it.tmac:
    * tmac/ru.tmac:
    * tmac/sv.tmac: Set the hyphenation mode default appropriately per the
      hyphenation patterns and the value of the trap-awareness bit.
    
    * tmac/ja.tmac:
    * tmac/zh.tmac: Set the hyphenation mode default to zero.
---
 ChangeLog    | 18 ++++++++++++++++++
 tmac/cs.tmac |  6 ++++--
 tmac/de.tmac |  6 ++++--
 tmac/en.tmac |  6 ++++--
 tmac/es.tmac |  6 ++++--
 tmac/fr.tmac |  6 ++++--
 tmac/it.tmac |  6 ++++--
 tmac/ja.tmac |  3 +++
 tmac/ru.tmac |  6 ++++--
 tmac/sv.tmac |  6 ++++--
 tmac/zh.tmac |  3 +++
 11 files changed, 56 insertions(+), 16 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index efd2fbc2f..e1a3c5a2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2024-03-01  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       [tmac]: Migrate localization packages to `hydefault` request.
+
+       * tmac/cs.tmac:
+       * tmac/de.tmac:
+       * tmac/en.tmac:
+       * tmac/es.tmac:
+       * tmac/fr.tmac:
+       * tmac/it.tmac:
+       * tmac/ru.tmac:
+       * tmac/sv.tmac: Set the hyphenation mode default appropriately
+       per the hyphenation patterns and the value of the trap-awareness
+       bit.
+
+       * tmac/ja.tmac:
+       * tmac/zh.tmac: Set the hyphenation mode default to zero.
+
 2024-03-01  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/roff/troff/env.cpp (hyphenate_request): If given no
diff --git a/tmac/cs.tmac b/tmac/cs.tmac
index 4d0d1556b..cecf521ab 100644
--- a/tmac/cs.tmac
+++ b/tmac/cs.tmac
@@ -164,9 +164,11 @@
 .nr \*[locale]*hyphenation-mode-trap 2
 .
 .ie \n[locale*use-trap-hyphenation-mode] \
-.  hy \n[\*[locale]*hyphenation-mode-trap]
+.  hydefault \n[\*[locale]*hyphenation-mode-trap]
 .el \
-.  hy \n[\*[locale]*hyphenation-mode-base]
+.  hydefault \n[\*[locale]*hyphenation-mode-base]
+.
+.hy
 .
 .rr locale*use-trap-hyphenation-mode
 .
diff --git a/tmac/de.tmac b/tmac/de.tmac
index bf2668a59..64d6a2339 100644
--- a/tmac/de.tmac
+++ b/tmac/de.tmac
@@ -164,9 +164,11 @@
 .nr \*[locale]*hyphenation-mode-trap 2
 .
 .ie \n[locale*use-trap-hyphenation-mode] \
-.  hy \n[\*[locale]*hyphenation-mode-trap]
+.  hydefault \n[\*[locale]*hyphenation-mode-trap]
 .el \
-.  hy \n[\*[locale]*hyphenation-mode-base]
+.  hydefault \n[\*[locale]*hyphenation-mode-base]
+.
+.hy
 .
 .rr locale*use-trap-hyphenation-mode
 .
diff --git a/tmac/en.tmac b/tmac/en.tmac
index 441ca2997..2d3d01729 100644
--- a/tmac/en.tmac
+++ b/tmac/en.tmac
@@ -44,9 +44,11 @@
 .nr \*[locale]*hyphenation-mode-trap 6
 .
 .ie \n[locale*use-trap-hyphenation-mode] \
-.  hy \n[\*[locale]*hyphenation-mode-trap]
+.  hydefault \n[\*[locale]*hyphenation-mode-trap]
 .el \
-.  hy \n[\*[locale]*hyphenation-mode-base]
+.  hydefault \n[\*[locale]*hyphenation-mode-base]
+.
+.hy
 .
 .rr locale*use-trap-hyphenation-mode
 .
diff --git a/tmac/es.tmac b/tmac/es.tmac
index 7d933d262..40db7afb3 100644
--- a/tmac/es.tmac
+++ b/tmac/es.tmac
@@ -164,9 +164,11 @@
 .nr \*[locale]*hyphenation-mode-trap 2
 .
 .ie \n[locale*use-trap-hyphenation-mode] \
-.  hy \n[\*[locale]*hyphenation-mode-trap]
+.  hydefault \n[\*[locale]*hyphenation-mode-trap]
 .el \
-.  hy \n[\*[locale]*hyphenation-mode-base]
+.  hydefault \n[\*[locale]*hyphenation-mode-base]
+.
+.hy
 .
 .rr locale*use-trap-hyphenation-mode
 .
diff --git a/tmac/fr.tmac b/tmac/fr.tmac
index 1bd6215c0..2e2b11f32 100644
--- a/tmac/fr.tmac
+++ b/tmac/fr.tmac
@@ -164,9 +164,11 @@
 .nr \*[locale]*hyphenation-mode-trap 6
 .
 .ie \n[locale*use-trap-hyphenation-mode] \
-.  hy \n[\*[locale]*hyphenation-mode-trap]
+.  hydefault \n[\*[locale]*hyphenation-mode-trap]
 .el \
-.  hy \n[\*[locale]*hyphenation-mode-base]
+.  hydefault \n[\*[locale]*hyphenation-mode-base]
+.
+.hy
 .
 .rr locale*use-trap-hyphenation-mode
 .
diff --git a/tmac/it.tmac b/tmac/it.tmac
index b61815306..c2323da4a 100644
--- a/tmac/it.tmac
+++ b/tmac/it.tmac
@@ -161,9 +161,11 @@
 .nr \*[locale]*hyphenation-mode-trap 2
 .
 .ie \n[locale*use-trap-hyphenation-mode] \
-.  hy \n[\*[locale]*hyphenation-mode-trap]
+.  hydefault \n[\*[locale]*hyphenation-mode-trap]
 .el \
-.  hy \n[\*[locale]*hyphenation-mode-base]
+.  hydefault \n[\*[locale]*hyphenation-mode-base]
+.
+.hy
 .
 .rr locale*use-trap-hyphenation-mode
 .
diff --git a/tmac/ja.tmac b/tmac/ja.tmac
index 4b1db0849..bce125542 100644
--- a/tmac/ja.tmac
+++ b/tmac/ja.tmac
@@ -52,6 +52,9 @@
 .nr \*[locale]*hyphenation-mode-base 0
 .nr \*[locale]*hyphenation-mode-trap 0
 .
+.hydefault 0
+.hy
+.
 .cp \n[*groff_ja_tmac_C]
 .do rr *groff_ja_tmac_C
 .
diff --git a/tmac/ru.tmac b/tmac/ru.tmac
index eb7fe6539..1d33809b1 100644
--- a/tmac/ru.tmac
+++ b/tmac/ru.tmac
@@ -165,9 +165,11 @@
 .nr \*[locale]*hyphenation-mode-trap 2
 .
 .ie \n[locale*use-trap-hyphenation-mode] \
-.  hy \n[\*[locale]*hyphenation-mode-trap]
+.  hydefault \n[\*[locale]*hyphenation-mode-trap]
 .el \
-.  hy \n[\*[locale]*hyphenation-mode-base]
+.  hydefault \n[\*[locale]*hyphenation-mode-base]
+.
+.hy
 .
 .rr locale*use-trap-hyphenation-mode
 .
diff --git a/tmac/sv.tmac b/tmac/sv.tmac
index adcf05d4a..e05ae3b8f 100644
--- a/tmac/sv.tmac
+++ b/tmac/sv.tmac
@@ -146,9 +146,11 @@
 .nr \*[locale]*hyphenation-mode-trap 34
 .
 .ie \n[locale*use-trap-hyphenation-mode] \
-.  hy \n[\*[locale]*hyphenation-mode-trap]
+.  hydefault \n[\*[locale]*hyphenation-mode-trap]
 .el \
-.  hy \n[\*[locale]*hyphenation-mode-base]
+.  hydefault \n[\*[locale]*hyphenation-mode-base]
+.
+.hy
 .
 .rr locale*use-trap-hyphenation-mode
 .
diff --git a/tmac/zh.tmac b/tmac/zh.tmac
index 3b3472486..5285a3dc4 100644
--- a/tmac/zh.tmac
+++ b/tmac/zh.tmac
@@ -51,6 +51,9 @@
 .nr \*[locale]*hyphenation-mode-base 0
 .nr \*[locale]*hyphenation-mode-trap 0
 .
+.hydefault 0
+.hy
+.
 .cp \n[*groff_zh_tmac_C]
 .do rr *groff_zh_tmac_C
 .



reply via email to

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