aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-05 20:45:46 -0700
committerFriendika <info@friendika.com>2011-06-05 20:45:46 -0700
commit8e3cc8669bbae9e55e7147c811a98228ab947799 (patch)
treeddf9896a58a65dc003cdccb572ad8fbd2c97b840
parentedbad772bacb25e23f4a8e26379e26b13e5765cd (diff)
downloadvolse-hubzilla-8e3cc8669bbae9e55e7147c811a98228ab947799.tar.gz
volse-hubzilla-8e3cc8669bbae9e55e7147c811a98228ab947799.tar.bz2
volse-hubzilla-8e3cc8669bbae9e55e7147c811a98228ab947799.zip
alphabetically sort the language selector
-rw-r--r--boot.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index a67b96a08..3c8208339 100644
--- a/boot.php
+++ b/boot.php
@@ -2773,6 +2773,7 @@ function lang_selector() {
if(is_array($langs) && count($langs)) {
if(! in_array('view/en/strings.php',$langs))
$langs[] = 'view/en/';
+ asort($langs);
foreach($langs as $l) {
$ll = substr($l,5);
$ll = substr($ll,0,strrpos($ll,'/'));