[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#216647: openoffice.org: Autopilot->Forms broken [still here ?]



Am Di, den 09.12.2003 schrieb Chris Halls um 11:12:

> Anyway, on to the bug itself.  I think this must be one of those strange
> localised-but-not-localised directories, that gets duplicated into every
> language upstream.  Because of our language packs we don't have this
> massive duplication, and the directory is empty.

Attached is a patch to make the language pack script consider all
template directories as localised. This is currently true (i.e. there
will be no conflicts between different langpacks).

>   I guess a fairly quick
> fix will be to create a soft link in each language pack to the english
> bitmaps directory.  I'll try and get it in for -4.

HTH
	Martin
--- debian/local/openoffice-dpack-lang.~1.5.~	2003-08-11 13:31:31.000000000 +0200
+++ debian/local/openoffice-dpack-lang	2003-12-09 12:04:20.000000000 +0100
@@ -137,7 +137,8 @@ while (my ($key, $value) = each (%{$setu
 		
 		# Find language-specific candidates
 		# Exclude crash_dump.res because the filename isn't properly localised
-		if ((($key =~ /_Lang$/) || ($value->{Name} =~ /\.res$/))
+		if ((($key =~ /_Lang$/) || ($value->{Name} =~ /\.res$/) 
+		     || ($value->{Dir} =~ /_Template_/))
 		     && ($value->{Name} ne "crash_dump.res") ) {
 			# Prefer NetDir path over simple Dir
 			my $outpath = GetFullPath \%{$setup->{Directory}}, $value->{NetDir} ? $value->{NetDir} : $value->{Dir};

Reply to: