diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-04-12 17:13:26 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-04-12 17:56:23 +0200 |
commit | c7dc604253631588c659c1022256af98ec9262af (patch) | |
tree | dc20b5022928f4e3f59405696315952444821b64 /tests | |
parent | 126d4c12ce18a35a0d971778133f05b7c6ad81b3 (diff) | |
download | guix-c7dc604253631588c659c1022256af98ec9262af.tar guix-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 'tests')
0 files changed, 0 insertions, 0 deletions