GettextSigils.Sigil (Gettext Sigils v0.5.1)

Copy Markdown View Source

Provides the ~t sigil for interpolated translations.

This module is automatically imported into modules that use GettextSigils.

Summary

Functions

Translates the given string using the Gettext module.

Functions

sigil_t(term, modifiers)

(macro)
@spec sigil_t(
  Macro.t(),
  charlist()
) :: Macro.t()

Translates the given string using the Gettext module.

The module has to use GettextSigils to import this sigil. See GettextSigils for setup.