GNU bug report logs -
#68907
[PATCH] website: Fix language order.
Previous Next
Reported by: Julien Lepiller <julien <at> lepiller.eu>
Date: Sat, 3 Feb 2024 07:58:01 UTC
Severity: normal
Tags: patch
Done: Julien Lepiller <julien <at> lepiller.eu>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* website/apps/base/templates/components.scm (navbar): Fix sorting of
languages.
---
website/apps/base/templates/components.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/apps/base/templates/components.scm b/website/apps/base/templates/components.scm
index 241c27e..2a6881e 100644
--- a/website/apps/base/templates/components.scm
+++ b/website/apps/base/templates/components.scm
@@ -516,7 +516,7 @@ manual.
(sort (delete %current-lingua
ietf-tags-file-contents
(lambda (a b) (string=? a (car b))))
- (lambda (a b) string<?)))
+ (lambda (a b) (string<? (car a) (car b)))))
(list
(menu-item #:label (G_ "Translate")
#:active-item active-item
base-commit: 2bf7c25f4bd5f13a2248839f47de972589c9a2f6
--
2.41.0
This bug report was last modified 1 year and 107 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.