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:
parent
1d8da896be
commit
7ae9979cff
|
@ -71,7 +71,12 @@
|
||||||
installer-step?
|
installer-step?
|
||||||
(id installer-step-id) ;symbol
|
(id installer-step-id) ;symbol
|
||||||
(description installer-step-description ;string
|
(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
|
(compute installer-step-compute) ;procedure
|
||||||
(configuration-formatter installer-step-configuration-formatter ;procedure
|
(configuration-formatter installer-step-configuration-formatter ;procedure
|
||||||
(default #f)))
|
(default #f)))
|
||||||
|
|
Loading…
Reference in New Issue