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 base::gettextf

fmt

a character vector of format strings, each of up to 8192 bytes.

domain

see base::gettext()

Examples

loki <- list()
class(loki) <- "puny god"
._("I am a %s.", class(loki))


[Package pkgcond version 0.1.1 Index]