Changeset 32783


Ignore:
Timestamp:
2019-02-19T11:50:13+13:00 (5 years ago)
Author:
kjdon
Message:

adding missing strings and tidying up some mislabelling

Location:
main/trunk/greenstone2/perllib
Files:
5 edited

Legend:

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

    r32643 r32783  
    7474my $rollback_on_cancel_list =
    7575    [ { 'name' => "true",
    76         'desc' => "{GreenstoneSQLPlug.rollback_on_cancel}" },     
     76        'desc' => "{common.true}" },     
    7777      { 'name' => "false",
    78         'desc' => "{GreenstoneSQLPlug.rollbacl_on_cancel}" } ];
     78        'desc' => "{common.false}" } ];
    7979
    8080# NOTE: If subclassing gsmysql for other supporting databases and if they have different required
  • main/trunk/greenstone2/perllib/plugins/HathiTrustMETSPlugin.pm

    r31492 r32783  
    9494    'type' => "flag",
    9595    'reqd' => "no" },
    96 #      { 'name' => "documenttype",
    97 #   'desc' => "{HathiTrustMETSPlugin.documenttype}",
    98 #   'type' => "enum",
    99 #   'list' => $type_list,
    100 #   'deft' => "auto",
    101 #   'reqd' => "no" },
    10296      {'name' => "processing_tmp_files",
    10397       'desc' => "{BaseImporter.processing_tmp_files}",
     
    107101
    108102my $doc_type_opt = { 'name' => "documenttype",
    109              'desc' => "{HathiTrustMETSPlugin.documenttype}",
     103             'desc' => "{PagedImagePlugin.documenttype}",
    110104             'type' => "enum",
    111              'deft' => "auto",
     105             'deft' => "hierarchy",
    112106             'reqd' => "no" };
    113107
  • main/trunk/greenstone2/perllib/plugins/ImageConverter.pm

    r32192 r32783  
    116116    'desc' => "{ImageConverter.aspectpad_mode}",
    117117    'type' => "enum",
    118     'list' => [{'name' => "al", 'desc' => "{aspectpad.al}"},
    119            {'name' => "ap", 'desc' => "{aspectpad.ap}"},
    120            {'name' => "l",  'desc' => "{aspectpad.l}"},
    121            {'name' => "p",  'desc' => "{aspectpad.p}"}],
     118    'list' => [{'name' => "al", 'desc' => "{ImageConverter.aspectpad_mode.al}"},
     119           {'name' => "ap", 'desc' => "{ImageConverter.aspectpad_mode.ap}"},
     120           {'name' => "l",  'desc' => "{ImageConverter.aspectpad_mode.l}"},
     121           {'name' => "p",  'desc' => "{ImageConverter.aspectpad_mode.p}"}],
    122122    'deft' => "al",
    123123    'reqd' => "no" },
  • main/trunk/greenstone2/perllib/plugins/PDFv1Plugin.pm

    r32303 r32783  
    9393       'type' => "flag" },
    9494     { 'name' => "zoom",
    95        'desc' => "{PDFv1Plugin.zoom}",
     95       'desc' => "{PDFPlugin.zoom}",
    9696       'deft' => "2",
    9797       'range' => "1,3", # actually the range is 0.5-3
  • main/trunk/greenstone2/perllib/strings.properties

    r32594 r32783  
    939939GISExtractor.place_list:When extracting placements, include list of placenames at start of the document. Requires GIS extension to Greenstone.
    940940
     941HathiTrustMETSPlugin.desc:Plugin that processes HathiTrust METS files which are accompanied by page-by-page OCR'd text files (in a subfolder with the same name as the METS file).
     942
     943HathiTrustMETSPlugin.headerpage:Add a top level header page (containing dunny text) to each document.
     944
     945
    941946HBPlugin.desc:Plugin which processes an HTML book directory. This plugin is used by the Humanity Development Library collections and does not handle input encodings other than ASCII or extended ASCII. This code is not very clean and could no doubt be made to run faster, by leaving it in this state we hope to encourage the utilisation of BookPlugin instead ;-)\n\nUse BookPlugin if creating a new collection and marking up files like the Humanity Library collections. BookPlugin accepts all input encodings but expects the marked up files to be cleaner than those used by the Humanity Library collections
    942947
     
    10221027BaseMediaConverter.enable_cache:Cache automatically generated files (such as thumbnails and screen-size images) so they don't need to be repeatedly generated.
    10231028
     1029ImageConverter.apply_aspectpad: Pad images with a colour to a specified aspect ratio and orientation
     1030ImageConverter.aspectpad_colour: The desired padding colour.
     1031ImageConverter.aspectpad_mode: Padding mode
     1032ImageConverter.aspectpad_mode.al: Preserve the aspect orientation of the original image, but pad a square image to landscape format.
     1033ImageConverter.aspectpad_mode.ap: Preserve the aspect orientation of the original image, but pad a square image to portrait format.
     1034ImageConverter.aspectpad_mode.l: Force the result orientation to be landscape.
     1035ImageConverter.aspectpad_mode.p: Force the result orientation to be portrait.
     1036ImageConverter.aspectpad_ratio: The desired aspect ratio.
     1037ImageConverter.aspectpad_tolerance: Aspect tolerance. If the difference between existing and desired aspect is less than tolerance, no padding will be applied.
    10241038ImageConverter.converttotype:Convert main image to format 's'.
    10251039
     
    10401054
    10411055ImageConverter.screenviewtype:Make screenview images in format 's'.
     1056
     1057ImageConverter.store_original_image: Save the original image as an associated file. Only useful if -converttotype is used, as otherwise the original image is already stored.
    10421058
    10431059ImageConverter.thumbnailsize:Make thumbnails of size nxn.
     
    12041220PDFv1Plugin.win_old_pdftotext_unsupported:*** On Windows, PDFv1Plugin does not support pdf to text. PDFs will be converted to HTML instead.\n*** Use PDFv2Plugin if you want pdf to actual text conversion.
    12051221
    1206 PDFv1Plugin.zoom:The factor by which to zoom the PDF for output. Only useful if -complex is set.
     1222PDFPlugin.zoom:The factor by which to zoom the PDF for output. Only useful if -complex is set.
    12071223
    12081224PDFv2Plugin.dpi:The resolution in DPI of background images generated when convert_to is set to any of the pagedimg(txt) and (paged_)pretty_html formats.
     
    13031319
    13041320StructuredHTMLPlugin.toc_header:possible user-defined header styles for the table of contents, table of figures etc, to be removed if delete_toc is set.
     1321
     1322TabSeparatedPlugin.desc: A plugin for tab-separated metadata files.
    13051323
    13061324TextPlugin.desc:Creates simple single-level document. Adds Title metadata of first line of text (up to 100 characters long).
Note: See TracChangeset for help on using the changeset viewer.