[Pkg-mozext-commits] [adblock-plus] 76/464: Sort localized sections of the install manifest by locale ID

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:04 UTC 2014


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

taffit pushed a commit to branch master
in repository adblock-plus.

commit 2e7fdb758eea3f384de54a8ee634b92fef00e907
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Wed Apr 28 10:57:37 2010 +0200

    Sort localized sections of the install manifest by locale ID
---
 Packager.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Packager.pm b/Packager.pm
index b54fa33..6e05b55 100644
--- a/Packager.pm
+++ b/Packager.pm
@@ -88,7 +88,7 @@ sub readLocaleData
 
   my $info = "";
   my %translators = ();
-  foreach my $locale (values %{$self->{localeData}})
+  foreach my $locale (sort {$a->{id} cmp $b->{id}} values %{$self->{localeData}})
   {
     next unless (exists($locale->{translator}) && $locale->{translator}) ||
                 (exists($locale->{name}) && $locale->{name} && $locale->{name} ne $self->{name}) ||

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list