diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-18 07:35:18 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-18 07:35:18 +0000 |
commit | c40a61d9dc27d235e35e4db28fc637f027d45e80 (patch) | |
tree | e1b7d49b1fa67201cf151cbf270dc4e02d19b853 /solenv/bin/modules/installer/languagepack.pm | |
parent | 52d20eaae94e6f1f57bfff07e4475dd5a00c915c (diff) |
INTEGRATION: CWS nativefixer1 (1.3.2); FILE MERGED
2004/10/27 10:02:35 is 1.3.2.2: #i34221# searching for openofficeorg instead of openoffice.org
2004/10/22 13:06:42 is 1.3.2.1: #i34501# library for language pack
Diffstat (limited to 'solenv/bin/modules/installer/languagepack.pm')
-rw-r--r-- | solenv/bin/modules/installer/languagepack.pm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/solenv/bin/modules/installer/languagepack.pm b/solenv/bin/modules/installer/languagepack.pm index 27fdc6e71f49..3a7d08b4f77c 100644 --- a/solenv/bin/modules/installer/languagepack.pm +++ b/solenv/bin/modules/installer/languagepack.pm @@ -2,9 +2,6 @@ # # $RCSfile: languagepack.pm,v $ # -# $Revision: 1.3 $ -# -# last change: $Author: obo $ $Date: 2004-10-18 13:52:41 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -90,6 +87,13 @@ sub select_language_items if (!($ismultilingual)) { + # Files with style "LANGUAGEPACK" also have to be included into the language pack + + my $styles = ""; + if ( $oneitem->{'Styles'} ) { $styles = $oneitem->{'Styles'}; } + + if ( $styles =~ /\bLANGUAGEPACK\b/ ) { push(@itemsarray, $oneitem); } + next; # single language files are not included into language pack } @@ -260,6 +264,7 @@ sub put_productname_into_script my $productname = $variableshashref->{'PRODUCTNAME'}; $productname = lc($productname); + $productname =~ s/\.//g; # openoffice.org -> openofficeorg my $infoline = "Adding productname $productname into language pack script\n"; push( @installer::globals::logfileinfo, $infoline); |