Ignore:
Timestamp:
2018-07-13T21:02:27+12:00 (6 years ago)
Author:
ak19
Message:

Moving another fixed English language string into strings.properties from PDF and PDFv1 plugins, so that it becomes translatable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/PDFPlugin.pm

    r32273 r32275  
    143143    # PDFv1Plugin, if they want to use the old pdftohtml tool's capabilities,
    144144    # and PDFv2Plugin, if they want to use pdfbox or the new xpdftools capabilities.
    145     &gsprintf::gsprintf(STDERR, "{PDFPlugin.deprecated_plugin}");
     145    &gsprintf::gsprintf(STDERR, "{PDFPlugin.deprecated_plugin}\n");
    146146   
    147147    # these are passed through to gsConvert.pl by ConvertBinaryFile.pm
     
    158158
    159159    # check convert_to
    160     # TODO: Start supporting PDF to txt on Windows if we're going to be using XPDF Tools (incl pdftotext) on Windows/Linux/Mac
    161160    if ($self->{'convert_to'} eq "text" && $ENV{'GSDLOS'} =~ /^windows$/i) {
    162     #print STDERR "On Windows, Greenstone now uses Xpdf tools to support pdf to text conversion.\n";
    163     print STDERR "Windows does not support pdf to text. PDFs will be converted to HTML instead\n";
     161    &gsprintf::gsprintf(STDERR, "{PDFPlugin.win_old_pdftotext_unsupported}\n", "PDFPlugin");
    164162    $self->{'convert_to'} = "html";
    165163    }
Note: See TracChangeset for help on using the changeset viewer.