fish-shell/doc_src/cmds/_.rst
Aaron Gyes 79d1b3e085 slog through documentation
I did.. a and b today.
2021-12-09 03:34:28 -08:00

34 lines
645 B
ReStructuredText

.. _cmd-_:
_ - call fish's translations
============================
Synopsis
--------
``_`` *STRING*
Description
-----------
``_`` translates its arguments into the current language, if possible.
It is equivalent to ``gettext fish STRING``, meaning it can only be used to look up fish's own translations.
It requires fish to be built with gettext support. If that support is disabled, or there is no translation it will simply echo the argument back.
The language depends on the current locale, set with :envvar:`LANG` and :envvar:`LC_MESSAGES`.
Options
-------
``_`` takes no options.
Examples
--------
::
> _ File
Datei