aboutsummaryrefslogtreecommitdiff
path: root/gnu/installer/steps.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-05-06 21:54:32 +0200
committerLudovic Courtès <ludo@gnu.org>2019-05-06 23:21:33 +0200
commit7ae9979cff98d7c23fc8d19e54ae733ee1a7deb2 (patch)
tree12905c077b96b58a5036db605766e938ac307dda /gnu/installer/steps.scm
parent1d8da896be9629c7bc3d5d4e4e1028ccbab76506 (diff)
downloadguix-7ae9979cff98d7c23fc8d19e54ae733ee1a7deb2.tar
guix-7ae9979cff98d7c23fc8d19e54ae733ee1a7deb2.tar.gz
installer: Actually translate step descriptions.
Until now, step descriptions in the menu that shows up when hitting "Exit" would not be translated. That's because the 'G_' procedure was called once and for all when the installer was started. * gnu/installer/steps.scm (<installer-step>)[description]: Add the 'thunked' attribute.
Diffstat (limited to 'gnu/installer/steps.scm')
-rw-r--r--gnu/installer/steps.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/installer/steps.scm b/gnu/installer/steps.scm
index 039dd0ca10..4e90f32f95 100644
--- a/gnu/installer/steps.scm
+++ b/gnu/installer/steps.scm
@@ -71,7 +71,12 @@
installer-step?
(id installer-step-id) ;symbol
(description installer-step-description ;string
- (default #f))
+ (default #f)
+
+ ;; Make it thunked so that 'G_' is called at the
+ ;; right time, as opposed to being called once
+ ;; when the installer starts.
+ (thunked))
(compute installer-step-compute) ;procedure
(configuration-formatter installer-step-configuration-formatter ;procedure
(default #f)))