summaryrefslogtreecommitdiff
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
parent1d8da896be9629c7bc3d5d4e4e1028ccbab76506 (diff)
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.
-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 039dd0ca10a..4e90f32f953 100644
--- a/gnu/installer/steps.scm
+++ b/gnu/installer/steps.scm
@@ -71,7 +71,12 @@
71 installer-step? 71 installer-step?
72 (id installer-step-id) ;symbol 72 (id installer-step-id) ;symbol
73 (description installer-step-description ;string 73 (description installer-step-description ;string
74 (default #f)) 74 (default #f)
75
76 ;; Make it thunked so that 'G_' is called at the
77 ;; right time, as opposed to being called once
78 ;; when the installer starts.
79 (thunked))
75 (compute installer-step-compute) ;procedure 80 (compute installer-step-compute) ;procedure
76 (configuration-formatter installer-step-configuration-formatter ;procedure 81 (configuration-formatter installer-step-configuration-formatter ;procedure
77 (default #f))) 82 (default #f)))