[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: installer: Actually translate step descriptions.
From: |
guix-commits |
Subject: |
04/07: installer: Actually translate step descriptions. |
Date: |
Mon, 6 May 2019 17:23:20 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7ae9979cff98d7c23fc8d19e54ae733ee1a7deb2
Author: Ludovic Courtès <address@hidden>
Date: Mon May 6 21:54:32 2019 +0200
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.
---
gnu/installer/steps.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/installer/steps.scm b/gnu/installer/steps.scm
index 039dd0c..4e90f32 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)))
- branch master updated (d6a68e9 -> fea338c), guix-commits, 2019/05/06
- 02/07: installer: Widen user dialog., guix-commits, 2019/05/06
- 01/07: gnu: mate-power-manager: License is GPLv2+., guix-commits, 2019/05/06
- 03/07: installer: Do not sort methods on the partitioning page., guix-commits, 2019/05/06
- 04/07: installer: Actually translate step descriptions.,
guix-commits <=
- 06/07: installer: Skip network selection dialogs when there is no choice., guix-commits, 2019/05/06
- 05/07: installer: Shrink simple listboxes to their minimum height., guix-commits, 2019/05/06
- 07/07: Add (guix lzlib)., guix-commits, 2019/05/06