dot-underscore {pkgcond} | R Documentation |
Format and Translate Strings
Description
This shortcut provides simple translation and formatting functionality.
Essentially it is a wrapper for base::gettext()
and base::gettextf()
.
Usage
._(msg, ..., domain = NULL)
Arguments
msg |
The message to translate. |
... |
Arguments passed on to
|
domain |
see |
Examples
loki <- list()
class(loki) <- "puny god"
._("I am a %s.", class(loki))
[Package pkgcond version 0.1.1 Index]