From 7ae9979cff98d7c23fc8d19e54ae733ee1a7deb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 6 May 2019 21:54:32 +0200 Subject: 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 ()[description]: Add the 'thunked' attribute. --- gnu/installer/steps.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/installer/steps.scm') 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))) -- cgit v1.2.3