]> git.openstreetmap.org Git - rails.git/commitdiff
sort untranslated_keys output again
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 22 Jun 2009 18:40:35 +0000 (18:40 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 22 Jun 2009 18:40:35 +0000 (18:40 +0000)
script/locale/diff

index 7ddfb3eb3f5ca99692462703f4abbf02a11cdc28..d0dce719a5974bed0b8fa2fb1ee0de56cb59184f 100755 (executable)
@@ -124,7 +124,7 @@ sub print_key_differences
 sub untranslated_keys
 {
     my ($from_parsed, $to_parsed) = @_;
-    grep { not exists $to_parsed->{$_} or $from_parsed->{$_} eq $to_parsed->{$_} } keys %$from_parsed;
+    sort grep { not exists $to_parsed->{$_} or $from_parsed->{$_} eq $to_parsed->{$_} } keys %$from_parsed;
 }
 
 sub prune_untranslated_with_blacklist