1 |
From 03701c986cd1082c5cd9aea7b479811c7a079bca Mon Sep 17 00:00:00 2001 |
2 |
From: David Tardon <dtardon@redhat.com> |
3 |
Date: Mon, 16 May 2016 14:52:47 +0200 |
4 |
Subject: [PATCH] rhbz#1327847 emit .desktop trans. in predictable order |
5 |
|
6 |
Change-Id: Ib07e27a9df6a08868ea505e141e2526435d2a0ef |
7 |
--- |
8 |
solenv/bin/desktop-translate.pl | 2 +- |
9 |
1 file changed, 1 insertion(+), 1 deletion(-) |
10 |
|
11 |
diff --git a/solenv/bin/desktop-translate.pl b/solenv/bin/desktop-translate.pl |
12 |
index 0680431..259e7da 100644 |
13 |
--- a/solenv/bin/desktop-translate.pl |
14 |
+++ b/solenv/bin/desktop-translate.pl |
15 |
@@ -144,7 +144,7 @@ foreach $template (keys %templates) { |
16 |
print OUTFILE $keyline; |
17 |
if (/$key/) { |
18 |
my $translations = $templates{$template}->{'translations'}; |
19 |
- foreach my $locale (keys %{$translations}) { |
20 |
+ foreach my $locale (sort (keys %{$translations})) { |
21 |
my $value = $translations->{$locale}; |
22 |
# print "locale is $locale\n"; |
23 |
# print "value is $value\n"; |
24 |
-- |
25 |
2.7.4 |
26 |
|