Embed English versions of .ds str-Rv-* and .ds str-Ex-* in groff_mdoc.7,

in order to force .Rv and .Ex to output English text.

This is required for the .Rv and .Ex examples in groff_mdoc.7, since it
explains original groff_mdoc.7 bahavior (English text output).
Without this workaround, .Rv and .Ex output Japanese text, since
-dlang=ja_JP.eucJP selected Japanese versions of str-Rv-* and str-Ex-*.
This commit is contained in:
Kazuo Horikawa 2001-09-23 05:00:00 +00:00
parent ec0dfcdb38
commit d452370a7e
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10790

View file

@ -45,7 +45,7 @@
.\" times and is guaranteed to give a worst case performance
.\" for an already extremely slow package.
.\"
.\" $FreeBSD: doc/ja_JP.eucJP/man/man7/groff_mdoc.7,v 1.3 2001/08/17 05:42:09 horikawa Exp $
.\" $FreeBSD: doc/ja_JP.eucJP/man/man7/groff_mdoc.7,v 1.4 2001/08/21 06:14:26 horikawa Exp $
.\" Copyright (c) 2001 FreeBSD jpman project
.\" This is for Japanese translation done by FreeBSD jpman project.
.\" WORD: epoch 基準時点 (協定世界時 1970年1月1日 00:00:00)
@ -1582,6 +1582,23 @@ C
\# a small hack to suppress a warning message
.ds section-old "\*[section]
.ds section 3
.\" following part came from doc.tmac workaround the effect of
.\" -dlang=ja_JP.eucJP
.ds str-Rv-std-prefix "The
.ds str-Rv-std-suffix "function returns the value\~0 if successful;
.as str-Rv-std-suffix " otherwise the value\~-1 is returned and
.as str-Rv-std-suffix " the global variable \*[Va-font]errno\f[P]
.as str-Rv-std-suffix " is set to indicate the error.
.ds str-Rv-stds-prefix "The
.ds str-Rv-stds-and "and
.ds str-Rv-stds-suffix "functions return the value\~0 if successful;
.as str-Rv-stds-suffix " otherwise the value\~-1 is returned and
.as str-Rv-stds-suffix " the global variable \*[Va-font]errno\f[P]
.as str-Rv-stds-suffix " is set to indicate the error.
.ds str-Rv-std0 "Upon successful completion, the value\~0 is returned;
.as str-Rv-std0 " otherwise the value\~-1 is returned and
.as str-Rv-std0 " the global variable \*[Va-font]errno\f[P]
.as str-Rv-std0 " is set to indicate the error.
.Rv -std atexit
.ds section "\*[section-old]
.Ed
@ -1610,6 +1627,15 @@ C
\# a small hack to suppress a warning message
.ds section-old "\*[section]
.ds section 1
.\" following part came from doc.tmac workaround the effect of
.\" -dlang=ja_JP.eucJP
.ds str-Ex-std-prefix "The
.ds str-Ex-std-suffix "utility exits\~0 on success,
.as str-Ex-std-suffix " and\~>0 if an error occurs.
.ds str-Ex-stds-prefix "The
.als str-Ex-stds-and str-Rv-stds-and
.ds str-Ex-stds-suffix "utilities exit\~0 on success,
.as str-Ex-stds-suffix " and\~>0 if an error occurs.
.Ex -std cat
.ds section "\*[section-old]
.Ed