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.
This commit is contained in:
Ludovic Courtès 2019-05-06 21:54:32 +02:00
parent 1d8da896be
commit 7ae9979cff
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 1 deletions

View File

@ -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)))