/[smeserver]/rpms/e-smith-manager/sme8/e-smith-manager-1.14.0-lexiconSpaces.patch2
ViewVC logotype

Contents of /rpms/e-smith-manager/sme8/e-smith-manager-1.14.0-lexiconSpaces.patch2

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:44:02 2008 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf
2 --- e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf 2007-01-26 18:51:30.000000000 -0700
3 +++ mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf 2008-01-07 07:10:08.000000000 -0700
4 @@ -110,11 +110,16 @@
5 $lexicon->{$base} = $trans;
6 }
7 }
8 - $rec->merge_props(
9 - Heading => localise($lexicon, $heading),
10 - Description => localise($lexicon, $description),
11 - HeadingWeight => localise($lexicon, $heading_weight),
12 - DescriptionWeight => localise($lexicon, $description_weight));
13 +
14 + my $loc_heading = localise($lexicon, $heading);
15 + $loc_heading =~ s/^\s*(\w.*?)\s*$/$1/;
16 + my $loc_description = localise($lexicon, $description);
17 + $loc_description =~ s/^\s*(\w.*?)\s*$/$1/;
18 + $rec->merge_props(
19 + Heading => $loc_heading,
20 + Description => $loc_description,
21 + HeadingWeight => localise($lexicon, $heading_weight),
22 + DescriptionWeight => localise($lexicon, $description_weight));
23 }
24 }
25 foreach my $lang (@langs)

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