* [bug#68907] [PATCH] website: Fix language order.
@ 2024-02-03 7:56 Julien Lepiller
2024-02-03 16:27 ` pelzflorian (Florian Pelz)
0 siblings, 1 reply; 3+ messages in thread
From: Julien Lepiller @ 2024-02-03 7:56 UTC (permalink / raw)
To: 68907
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#68907] [PATCH] website: Fix language order.
2024-02-03 7:56 [bug#68907] [PATCH] website: Fix language order Julien Lepiller
@ 2024-02-03 16:27 ` pelzflorian (Florian Pelz)
2024-02-03 21:53 ` bug#68907: " Julien Lepiller
0 siblings, 1 reply; 3+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-02-03 16:27 UTC (permalink / raw)
To: Julien Lepiller; +Cc: 68907
Julien Lepiller <julien@lepiller.eu> writes:
> - (lambda (a b) string<?)))
> + (lambda (a b) (string<? (car a) (car b)))))
Whoops. LGTM. Now as a consequence of the patch, the English website
will be listed as one among many. I do agree this is better.
Regards,
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#68907: [PATCH] website: Fix language order.
2024-02-03 16:27 ` pelzflorian (Florian Pelz)
@ 2024-02-03 21:53 ` Julien Lepiller
0 siblings, 0 replies; 3+ messages in thread
From: Julien Lepiller @ 2024-02-03 21:53 UTC (permalink / raw)
To: pelzflorian (Florian Pelz); +Cc: 68907-done
Le Sat, 03 Feb 2024 17:27:16 +0100,
"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> a écrit :
> Julien Lepiller <julien@lepiller.eu> writes:
> > - (lambda (a b) string<?)))
> > + (lambda (a b) (string<? (car a) (car b)))))
>
> Whoops. LGTM. Now as a consequence of the patch, the English website
> will be listed as one among many. I do agree this is better.
>
> Regards,
> Florian
Thanks, pushed to master as 8dfafa0a91f1e3ca84f7fe7fb8e5e31bf1bb1e8f.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-03 21:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-03 7:56 [bug#68907] [PATCH] website: Fix language order Julien Lepiller
2024-02-03 16:27 ` pelzflorian (Florian Pelz)
2024-02-03 21:53 ` bug#68907: " Julien Lepiller
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).