Changeset 7506


Ignore:
Timestamp:
2004-05-31T14:49:00+12:00 (20 years ago)
Author:
kjdon
Message:

changed 'dummy text to sidestep display bug' to 'this document has no text' and made it language dependent

Location:
trunk/gsdl/perllib
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ImagePlug.pm

    r7504 r7506  
    375375
    376376    #create an empty text string so we don't break downstream plugins
    377     my $text = "Dummy text to sidestep display bug.";
    378 
     377    my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
    379378    # include any metadata passed in from previous plugins
    380379    # note that this metadata is associated with the top level section
  • trunk/gsdl/perllib/plugins/MP3Plug.pm

    r7504 r7506  
    343343
    344344    #create an empty text string so we don't break downstream plugins
    345     my $text = "Dummy text inserted by MP3Plug..";
     345    my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
    346346    $text .= "[img1]<br>";
    347347    $text .= "[img2]<br>";
  • trunk/gsdl/perllib/plugins/PagedImgPlug.pm

    r7362 r7506  
    613613        } else {
    614614        # otherwise add in some dummy text
    615         $doc_obj->add_text($cursection, "Dummy text to sidestep display bug");
     615        $doc_obj->add_text($cursection, &gsprintf::lookup_string("{BasPlug.dummy_text}"));
    616616        }
    617617    }
  • trunk/gsdl/perllib/plugins/UnknownPlug.pm

    r7504 r7506  
    199199
    200200    #create an empty text string so we don't break downstream plugins
    201     my $text = "Dummy text inserted by UnknownPlug...";
     201    my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
    202202
    203203    # include any metadata passed in from previous plugins
  • trunk/gsdl/perllib/strings.rb

    r7490 r7506  
    426426BasPlug.done_email_extract:done extracting e-mail addresses.
    427427
     428BasPlug.dummy_text:This document has no text.
     429
    428430BasPlug.empty_file:file contains no text
    429431
Note: See TracChangeset for help on using the changeset viewer.