2020-05-29 18:53:44 +00:00
|
|
|
.. _cmd-_:
|
|
|
|
|
|
|
|
_ - call fish's translations
|
|
|
|
============================
|
|
|
|
|
|
|
|
Synopsis
|
|
|
|
--------
|
|
|
|
|
2021-12-09 11:33:33 +00:00
|
|
|
``_`` *STRING*
|
2020-05-29 18:53:44 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2021-12-09 11:33:33 +00:00
|
|
|
The language depends on the current locale, set with :envvar:`LANG` and :envvar:`LC_MESSAGES`.
|
2020-05-29 18:53:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
Options
|
|
|
|
-------
|
|
|
|
|
2021-12-09 11:33:33 +00:00
|
|
|
``_`` takes no options.
|
2020-05-29 18:53:44 +00:00
|
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
> _ File
|
|
|
|
Datei
|