guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: website: Fix language order.


From: julien lepiller
Subject: branch master updated: website: Fix language order.
Date: Sat, 03 Feb 2024 16:37:33 -0500

This is an automated email from the git hooks/post-receive script.

roptat pushed a commit to branch master
in repository guix-artwork.

The following commit(s) were added to refs/heads/master by this push:
     new 8dfafa0  website: Fix language order.
8dfafa0 is described below

commit 8dfafa0a91f1e3ca84f7fe7fb8e5e31bf1bb1e8f
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Feb 3 08:42:12 2024 +0100

    website: Fix language order.
    
    * 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]