The R Project SVN R

Rev

Rev 87957 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 87957 Rev 87960
Line 58... Line 58...
58
  is omitted.  Note that a call might contain a nested call
58
  is omitted.  Note that a call might contain a nested call
59
  to \code{gettext} (or \code{warning}, etc.) whose strings would be visible
59
  to \code{gettext} (or \code{warning}, etc.) whose strings would be visible
60
  if \code{asCall} is false.
60
  if \code{asCall} is false.
61
 
61
 
62
  \code{xgettext2pot} calls \code{xgettext} and then \code{xngettext},
62
  \code{xgettext2pot} calls \code{xgettext} and then \code{xngettext},
63
  and writes a PO template file (to \code{potFile}) for use with the GNU gettext
63
  and writes a PO template file (to \code{potFile}) for use with the GNU \I{gettext}
64
  tools.  This ensures that the strings for simple translation are
64
  tools.  This ensures that the strings for simple translation are
65
  unique in the file (as GNU gettext requires), but does not do so
65
  unique in the file (as GNU \I{gettext} requires), but does not do so
66
  for \code{ngettext} calls (and the rules are not stated in the GNU gettext
66
  for \code{ngettext} calls (and the rules are not stated in the GNU \I{gettext}
67
  manual, but \command{msgfmt} complains if there is duplication between
67
  manual, but \command{msgfmt} complains if there is duplication between
68
  the sets.).
68
  the sets.).
69
 
69
 
70
  If applied to the \pkg{base} package, this also looks in the \file{.R}
70
  If applied to the \pkg{base} package, this also looks in the \file{.R}
71
  files in \file{\var{\link{R_HOME}}/share/R}.
71
  files in \file{\var{\link{R_HOME}}/share/R}.