mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-22 01:51:14 -03:00
Text like "simply do" or "just press" is patronizing and unnecessary. The prose is nicer if it's removed, and in some cases other words are more specific. Something like "we'll pretend your prompt is just a ``>``" can stay.
37 lines
651 B
ReStructuredText
37 lines
651 B
ReStructuredText
.. _cmd-_:
|
|
|
|
_ - call fish's translations
|
|
============================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
.. 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 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
|