/[smecontribs]/rpms/smeserver-vacation/contribs9/smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch
ViewVC logotype

Annotation of /rpms/smeserver-vacation/contribs9/smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Fri Jul 15 10:19:31 2016 UTC (8 years, 4 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-20_el6_sme, smeserver-vacation-1_1-19_el6_sme
Changes since 1.2: +37 -6 lines
* Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-19.sme
- corrected the object email issue [SME: 8772]
- modified smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch

1 stephdl 1.2 diff -Nur smeserver-vacation-1.1.bz8772.old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/uservacations smeserver-vacation-1.1.bz8772.new/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/uservacations
2     --- smeserver-vacation-1.1.bz8772.old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/uservacations 2016-07-13 14:09:44.470013967 +0200
3 stephdl 1.3 +++ smeserver-vacation-1.1.bz8772.new/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/uservacations 2016-07-13 21:38:38.050822215 +0200
4 stephdl 1.2 @@ -80,19 +80,15 @@
5 stephdl 1.1 and don't translate $SUBJECT -->
6     <entry>
7     <base>AWAY_FROM_MAIL</base>
8     - <trans> <![CDATA[ Subject: Re: $SUBJECT - Away from my email
9     -<p>
10     -I will not be reading my mail for a while. Your mail regarding
11     -</p><p>
12     - $SUBJECT
13     -</p><p>
14     -will be read when I return.
15     -</p>
16     - ]]>
17     - </trans>
18 stephdl 1.2 + <trans>I will not be reading my mail for a while. Your mail regarding $SUBJECT will be read when I return.</trans>
19 stephdl 1.1 </entry>
20     <entry>
21     <base>NO_USERS_IN_GRANTED_GROUPS</base>
22 stephdl 1.2 <trans>There are no users in the group(s) that you are granted to manage.</trans>
23     </entry>
24     + <entry>
25     + <base>ANSWER_TO_OBJECT_SENDER</base>
26 stephdl 1.3 + <trans>Re: $SUBJECT - Away from my email </trans>
27 stephdl 1.2 + </entry>
28     +
29     </lexicon>
30     diff -Nur smeserver-vacation-1.1.bz8772.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/uservacations.pm smeserver-vacation-1.1.bz8772.new/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/uservacations.pm
31     --- smeserver-vacation-1.1.bz8772.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/uservacations.pm 2016-07-13 14:09:44.471013965 +0200
32 stephdl 1.3 +++ smeserver-vacation-1.1.bz8772.new/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/uservacations.pm 2016-07-13 21:37:43.779937434 +0200
33 stephdl 1.2 @@ -165,9 +165,10 @@
34    
35     my $from = 'From:';
36     my $away = $self->localise('AWAY_FROM_MAIL');
37     + my $return = $self->localise('ANSWER_TO_OBJECT_SENDER');
38    
39     - my $ExistingMessage = "$from $fullname &lt\;$user\@$domain&gt\;\n".
40     - "$away";
41 stephdl 1.3 + my $ExistingMessage = "$from $fullname &lt\;$user\@$domain&gt\;\n"."subject: $return\n".
42 stephdl 1.2 + "\n$away";
43    
44     # if exists and is not empty
45     if (( -e $vfile ) && (! -z $vfile ))
46 stephdl 1.3 @@ -218,9 +219,10 @@
47    
48     my $from = 'From:';
49     my $away = $self->localise('AWAY_FROM_MAIL');
50     + my $return = $self->localise('ANSWER_TO_OBJECT_SENDER');
51    
52     - my $vacation_text = "$from $fullname \<$user\@$domain\>\n".
53     - "$away \n";
54     + my $vacation_text = "$from $fullname \<$user\@$domain\>\n"."subject: $return\n".
55     + "\n$away \n";
56    
57     my $reset = $vacation_text;
58    
59     @@ -322,9 +324,10 @@
60 stephdl 1.2
61     my $from = 'From:';
62     my $away = $self->localise('AWAY_FROM_MAIL');
63     + my $return = $self->localise('ANSWER_TO_OBJECT_SENDER');
64    
65     - my $ExistingMessage = "$from $fullname &lt\;$user\@$domain&gt\;\n".
66     - "$away";
67 stephdl 1.3 + my $ExistingMessage = "$from $fullname &lt\;$user\@$domain&gt\;\n"."subject: $return\n".
68 stephdl 1.2 + "\n$away";
69    
70     # if exists and is not empty
71     if (( -e $vfile ) && (! -z $vfile ))
72 stephdl 1.3 @@ -377,9 +380,10 @@
73    
74     my $from = 'From:';
75     my $away = $self->localise('AWAY_FROM_MAIL');
76     + my $return = $self->localise('ANSWER_TO_OBJECT_SENDER');
77    
78     - my $vacation_text = "$from $fullname \<$user\@$domain\>\n".
79     - "$away \n";
80     + my $vacation_text = "$from $fullname \<$user\@$domain\>\n"."subject: $return\n".
81     + "\n$away \n";
82    
83     my $reset = $vacation_text;
84    
85     @@ -438,3 +442,4 @@
86     }
87    
88     1;
89     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed