mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 12:09:15 -05:00
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
1 changed files with 6 additions and 1 deletions
|
@ -71,7 +71,12 @@ (define-record-type* <installer-step>
|
||||||
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 a new issue