summaryrefslogtreecommitdiff
path: root/net-mail/sympa/files/sympa-5.4.locale.patch
blob: d47ef07e78c93572334deebcc54c837faa86cf41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/sympa.pl.orig	2008-04-25 11:14:22.778440706 +0200
+++ src/sympa.pl	2008-04-25 11:15:04.042853056 +0200
@@ -203,6 +203,7 @@
 ## Set locale configuration
 $main::options{'lang'} =~ s/\.cat$//; ## Compatibility with version < 2.3.3
 $Language::default_lang = $main::options{'lang'} || $Conf{'lang'};
+&Language::SetLang($Language::default_lang);
 
 ## Main program
 if (!chdir($Conf{'home'})) {
@@ -827,8 +828,6 @@
 ## them, sleeps a while and continues the good job.
 while (!$signal) {
 
-    &Language::SetLang($Language::default_lang);
-
     &List::init_list_cache();
 
     if (!opendir(DIR, $spool)) {