| Line 27... |
Line 27... |
| 27 |
\item{msg2}{the message to be used in English for \code{n = 0, 2, 3, \dots}.}
|
27 |
\item{msg2}{the message to be used in English for \code{n = 0, 2, 3, \dots}.}
|
| 28 |
\item{dirname}{The directory in which to find translated message
|
28 |
\item{dirname}{The directory in which to find translated message
|
| 29 |
catalogs for the domain.}
|
29 |
catalogs for the domain.}
|
| 30 |
}
|
30 |
}
|
| 31 |
\details{
|
31 |
\details{
|
| 32 |
If \code{domain} is \code{NULL} or \code{""}, and \code{gettext} is
|
32 |
If \code{domain} is \code{NULL} or \code{""}, and \code{gettext}
|
| 33 |
called from a function in the namespace of package \pkg{pkg} the
|
33 |
or \code{ngettext} is called from a function in the namespace of
|
| 34 |
domain is set to \code{"R-pkg"}. Otherwise there is no default
|
34 |
package \pkg{pkg} the domain is set to \code{"R-pkg"}. Otherwise
|
| 35 |
domain.
|
35 |
there is no default domain.
|
| 36 |
|
36 |
|
| 37 |
If a suitable domain is found, each character string is offered for
|
37 |
If a suitable domain is found, each character string is offered for
|
| 38 |
translation, and replaced by its translation into the current language
|
38 |
translation, and replaced by its translation into the current language
|
| 39 |
if one is found. The value (logical) \code{NA} suppresses any
|
39 |
if one is found. The value (logical) \code{NA} suppresses any
|
| 40 |
translation.
|
40 |
translation.
|