Ignore:
Timestamp:
2021-02-26T19:39:51+13:00 (3 years ago)
Author:
anupama
Message:

Committing the improvements to EmbeddedMetaPlugin's processing of Keywords vs other metadata fields. Keywords were literally stored as arrays of words rather than phrases in PDFs (at least in Diego's sample PDF), whereas other meta fields like Subjects and Creators stored them as arrays of phrases. To get both to work, Kathy updated EXIF to a newer version, to retrieve the actual EXIF values stored in the PDF. And Kathy and Dr Bainbridge came up with a new option that I added called apply_join_before_split_to_metafields that's a regex which can list the metadata fields to apply the join_before_split to and whcih previously always got applied to all metadata fields. Now it's applied to any *Keywords metafields by default, as that's the metafield we have experience of that behaves differently to the others, as it stores by word instead of phrases. Tested on Diego's sample PDF. Diego has double-checked it to works on his sample PDF too, setting the split char to ; and turning on the join_before_split and leaving apply_join_before_split_to_metafields at its default of .*Keywords. File changes are strings.properties for the tooltip, the plugin introducing the option and working with it and Kathy's EXIF updates affecting cpan/File and cpan/Image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/cpan/Image/ExifTool/Lang/cs.pm

    r24107 r34921  
    1212use vars qw($VERSION);
    1313
    14 $VERSION = '1.04';
     14$VERSION = '1.07';
    1515
    1616%Image::ExifTool::Lang::cs::Translate = (
     
    227227      Description => 'BarevnÃœ prostor',
    228228      PrintConv => {
     229        'ICC Profile' => 'ICC Profil',
    229230        'Uncalibrated' => 'Nekalibrován',
    230231      },
     
    450451   'ExposureTime2' => 'Expoziční čas 2',
    451452   'FNumber' => 'F hodnota',
     453   'FaceOrientation' => {
     454      PrintConv => {
     455        'Horizontal (normal)' => '0° (nahoru/vlevo)',
     456        'Rotate 180' => '180° (dolů/vpravo)',
     457        'Rotate 270 CW' => '90° po směru HR (vlevo/dolů)',
     458        'Rotate 90 CW' => '90° ptoti směru HR (vpravo/nahoru)',
     459      },
     460    },
    452461   'FaxProfile' => {
    453462      PrintConv => {
     
    471480    },
    472481   'FileType' => 'Typ',
     482   'Filename' => 'Jméno',
    473483   'FillOrder' => {
    474484      Description => 'Pořadí vÃœplně',
     
    788798   'HostComputer' => 'Host',
    789799   'Hue' => 'Odstín',
     800   'ICCProfile' => 'ICC-Profil',
    790801   'IPTC-NAA' => 'IPTC-NAA metadata',
    791802   'ISO' => 'Citlivost ISO',
     
    841852   'InteropVersion' => 'Verze kompatibility',
    842853   'JFIFVersion' => 'JFIF verze',
     854   'JPEGQuality' => {
     855      PrintConv => {
     856        'Standard' => 'Normální',
     857      },
     858    },
    843859   'Keyword' => 'Klíčová slova',
    844860   'Keywords' => 'Klíčová slova',
     
    11711187      PrintConv => {
    11721188        'None' => 'Ŝádná',
    1173         'cm' => 'pixely/cm',
     1189        'cm' => 'Pixely/cm',
    11741190        'inches' => 'Palce',
    11751191      },
     
    14591475   'WBAdjLighting' => {
    14601476      PrintConv => {
    1461         'Daylight' => 'Denní světlo',
     1477        'Daylight (direct sunlight)' => 'Denní světlo (0)',
     1478        'Daylight (shade)' => 'Denní světlo (1)',
     1479        'Daylight (cloudy)' => 'Denní světlo (2)',
    14621480        'Flash' => 'Blesk',
    14631481        'None' => 'Ŝádná',
     
    15531571=head1 AUTHOR
    15541572
    1555 Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
     1573Copyright 2003-2021, Phil Harvey (philharvey66 at gmail.com)
    15561574
    15571575This library is free software; you can redistribute it and/or modify it
Note: See TracChangeset for help on using the changeset viewer.