/[packages]/updates/5/libreoffice/current/SOURCES/0001-rhbz-1327847-emit-.desktop-trans.-in-predictable-ord.patch
ViewVC logotype

Contents of /updates/5/libreoffice/current/SOURCES/0001-rhbz-1327847-emit-.desktop-trans.-in-predictable-ord.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1188168 - (show annotations) (download)
Sat Dec 30 21:57:44 2017 UTC (6 years, 3 months ago) by luigiwalser
File size: 1022 byte(s)
5.1.6 (sync with f24)
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

  ViewVC Help
Powered by ViewVC 1.1.30