[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
159/197: installer: Fix i18n in dialogs.
From: |
Danny Milosavljevic |
Subject: |
159/197: installer: Fix i18n in dialogs. |
Date: |
Mon, 3 Jul 2017 20:37:17 -0400 (EDT) |
dannym pushed a commit to branch wip-installer-2
in repository guix.
commit 989639fafa052d003fcb83fec0ed573eb356e5f7
Author: John Darrington <address@hidden>
Date: Tue Jan 31 11:13:32 2017 +0100
installer: Fix i18n in dialogs.
* gnu/system/installer/dialog.scm (dialog-page-init): Call gettext on
the message to be displayed.
---
gnu/system/installer/dialog.scm | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gnu/system/installer/dialog.scm b/gnu/system/installer/dialog.scm
index 47fbba1..30584fa 100644
--- a/gnu/system/installer/dialog.scm
+++ b/gnu/system/installer/dialog.scm
@@ -87,10 +87,8 @@
(let ((m (page-datum p 'message))
(justify (page-datum p 'justify)))
(if justify
- (addstr* text-window
- (if (promise? m) (force m) m))
- (addstr text-window
- (if (promise? m) (force m) m))))
+ (addstr* text-window (gettext m))
+ (addstr text-window (gettext m))))
(push-cursor (page-cursor-visibility p))
(page-set-wwin! p frame)
- 112/197: gurses: form: Use match instead of car, cdr etc., (continued)
- 112/197: gurses: form: Use match instead of car, cdr etc., Danny Milosavljevic, 2017/07/03
- 125/197: installer: Do not assume the root file system is of type "ext4"., Danny Milosavljevic, 2017/07/03
- 130/197: installer: Delete unused procedure "justify"., Danny Milosavljevic, 2017/07/03
- 134/197: installer: Tolerate an undefined system role in config generation., Danny Milosavljevic, 2017/07/03
- 137/197: installer: Prepare for new wireless network features., Danny Milosavljevic, 2017/07/03
- 140/197: installer: Fix the key map option., Danny Milosavljevic, 2017/07/03
- 132/197: installer: Add new procedure to check file system specifications., Danny Milosavljevic, 2017/07/03
- 145/197: gurses: Avoid yet another use of car and cdr., Danny Milosavljevic, 2017/07/03
- 129/197: installer: Emphasise that writing filesystems destroys existing data., Danny Milosavljevic, 2017/07/03
- 150/197: gurses: Reimplement pad-complex-string., Danny Milosavljevic, 2017/07/03
- 159/197: installer: Fix i18n in dialogs.,
Danny Milosavljevic <=
- 154/197: installer: Main page: Redisplay translatable strings upon refresh., Danny Milosavljevic, 2017/07/03
- 157/197: installer: Replace 'file-browser' with 'key-map'., Danny Milosavljevic, 2017/07/03
- 161/197: installer: Improve i18n in ping page., Danny Milosavljevic, 2017/07/03
- 162/197: gurses: Avoid one use of car/cdr., Danny Milosavljevic, 2017/07/03
- 166/197: installer: Provide verbose description of locale., Danny Milosavljevic, 2017/07/03
- 167/197: installer: Fix bug when changing languages., Danny Milosavljevic, 2017/07/03
- 156/197: installer: New page to select language., Danny Milosavljevic, 2017/07/03
- 168/197: installer: Fix the startup locale., Danny Milosavljevic, 2017/07/03
- 173/197: installer: Remove whitespace., Danny Milosavljevic, 2017/07/03
- 01/197: gnu: Add graphical installer, Danny Milosavljevic, 2017/07/03