message_source
: character
, either "R"
or "src"
,
saying whether the string was found in the R or the src folder of the
package
type
: character
, either "singular"
or
"plural"
; "plural"
means the string came from
ngettext()
and can be pluralized
file
: character
, the file where the string was found
msgid
: character
, the string (character literal or char
array as
found in the source); missing for all type == "plural"
strings
msgid_plural
: list(character, character)
, the strings
(character literals or char
arrays as found in the source); the first
applies in English for n=1
(see ngettext
), while the second
applies for n!=1
; missing for all type == "singular"
strings
call
: character
, the full call containing the string
that was found
line_number
: integer
, the line in file
where the string was found
is_repeat
: logical
, whether the msgid
is a duplicate within this
message_source
is_marked_for_translation
:logical
, whether the string is marked for
translation (e.g., in R, all character literals supplied to a ...
argument in
stop()
are so marked)
is_templated
, logical
, whether the string is templatable (e.g., uses
%s
or other formatting markers)