summary refs log tree commit diff
path: root/COPYING
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-12 17:13:26 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-12 17:56:23 +0200
commitc7dc604253631588c659c1022256af98ec9262af (patch)
treedc20b5022928f4e3f59405696315952444821b64 /COPYING
parent126d4c12ce18a35a0d971778133f05b7c6ad81b3 (diff)
downloadguix-c7dc604253631588c659c1022256af98ec9262af.tar.gz
installer: Choosing a locale opens the translated manual on tty2.
Suggested by Florian Pelz.

* gnu/system/install.scm (%installation-node-names): New variable.
(log-to-info): Expect the chosen locale as an argument.  Compute the
language, Info file name, and node name.  Install the locale.
(documentation-shepherd-service): Add 'locale' parameter to the 'start'
action and honor it.  Set GUIX_LOCPATH and TERM as environment variables
for the process.
* gnu/installer.scm (apply-locale): Use (gnu services herd).  Call
'stop-service' and 'start-service' with the chosen locale.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions