Remove unused LC_COLLATE and LC_MONETARY

We may have used LC_COLLATE in the past via libc functions but I
don't think we do today.  In future, we could document the variables
not used by fish, but we should make it obvious what we're documenting.
This commit is contained in:
Johannes Altmanninger
2025-10-25 10:44:23 +02:00
parent e8c0b3df24
commit ab69ef4b83
2 changed files with 2 additions and 11 deletions

View File

@@ -1563,7 +1563,7 @@ You can change the settings of fish by changing the values of certain variables.
.. describe:: Locale Variables
Locale variables such as :envvar:`LANG`, :envvar:`LC_ALL`, :envvar:`LC_COLLATE`, :envvar:`LC_MESSAGES`, :envvar:`LC_MONETARY`, :envvar:`LC_NUMERIC` and :envvar:`LC_TIME` set the language option for the shell and subprograms. See the section :ref:`Locale variables <variables-locale>` for more information.
Locale variables such as :envvar:`LANG`, :envvar:`LC_ALL`, :envvar:`LC_MESSAGES`, :envvar:`LC_NUMERIC` and :envvar:`LC_TIME` set the language option for the shell and subprograms. See the section :ref:`Locale variables <variables-locale>` for more information.
.. describe:: Color variables
@@ -1838,18 +1838,10 @@ The "locale" of a program is its set of language and regional settings that depe
Usually the other variables should be used instead. Use LC_ALL only when you need to override something.
.. envvar:: LC_COLLATE
This determines the rules about equivalence of cases and alphabetical ordering: collation.
.. envvar:: LC_MESSAGES
Determines the language in which messages are displayed, see :doc:`builtin _ (underscore) <cmds/_>`.
.. envvar:: LC_MONETARY
Determines currency, how it is formatted, and the symbols used.
.. envvar:: LC_NUMERIC
Sets the locale for :doc:`formatting numbers <cmds/printf>`.