Changeset 13243 for trunk/gsdl/perllib/plugins/PagedImgPlug.pm
- Timestamp:
- 2006-11-13T15:49:38+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/PagedImgPlug.pm
r13222 r13243 742 742 $self->process_text ($self->{'base_dir'}.$txtfile, $txtfile, $doc_obj, $self->{'current_section'}); 743 743 } else { 744 # otherwise add in some dummy text 745 $doc_obj->add_text($self->{'current_section'}, &gsprintf::lookup_string("{BasPlug.dummy_text}")); 744 # otherwise add in some dummy text 745 #create an empty text string so we don't break downstream plugins 746 &gsprintf::output_strings_in_UTF8; 747 my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}"); 748 $doc_obj->add_utf8_text($self->{'current_section'}, $text); 746 749 } 747 750 } elsif ($element eq "Metadata") {
Note:
See TracChangeset
for help on using the changeset viewer.