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/sv.pm

    r24107 r34921  
    1212use vars qw($VERSION);
    1313
    14 $VERSION = '1.03';
     14$VERSION = '1.05';
    1515
    1616%Image::ExifTool::Lang::sv::Translate = (
     
    3535        'Fluorescent' => 'Lysrörsbelysning',
    3636        'ISO Studio Tungsten' => 'ISO tungsten studiobelysning',
    37         'Other' => 'annan ljuskÀlla',
     37        'Other' => 'Annan ljuskÀlla',
    3838        'Shade' => 'Skugga',
    3939        'Standard Light A' => 'Standardljus A',
     
    4141        'Standard Light C' => 'Standardljus C',
    4242        'Tungsten (Incandescent)' => 'Tungsten',
    43         'Unknown' => 'okÀnt',
     43        'Unknown' => 'OkÀnt',
    4444        'Warm White Fluorescent' => 'Varmt vitt fluorescerande (L 2600 - 3250k)',
    4545        'White Fluorescent' => 'Vit lysrörsbelysning (WW 3250 - 3800 k)',
     
    5757        'Fluorescent' => 'Lysrörsbelysning',
    5858        'ISO Studio Tungsten' => 'ISO tungsten studiobelysning',
    59         'Other' => 'annan ljuskÀlla',
     59        'Other' => 'Annan ljuskÀlla',
    6060        'Shade' => 'Skugga',
    6161        'Standard Light A' => 'Standardljus A',
     
    6363        'Standard Light C' => 'Standardljus C',
    6464        'Tungsten (Incandescent)' => 'Tungsten',
    65         'Unknown' => 'okÀnt',
     65        'Unknown' => 'OkÀnt',
    6666        'Warm White Fluorescent' => 'Varmt vitt fluorescerande (L 2600 - 3250k)',
    6767        'White Fluorescent' => 'Vit lysrörsbelysning (WW 3250 - 3800 k)',
     
    106106      PrintConv => {
    107107        'JPEG' => 'JPEG-komprimering',
    108         'Uncompressed' => 'ingen komprimering',
     108        'Uncompressed' => 'Ingen komprimering',
    109109      },
    110110    },
     
    180180   'ExposureTime' => 'Exponeringstid',
    181181   'FNumber' => 'BlÀndare',
     182   'FaceOrientation' => {
     183      PrintConv => {
     184        'Horizontal (normal)' => 'Positiv riktning',
     185        'Rotate 90 CW' => 'Rotera 90° medurs',
     186      },
     187    },
    182188   'FileFormat' => 'Format',
    183189   'FileModifyDate' => 'Uppdateringsdatum',
     
    193199    },
    194200   'FileType' => 'Filtyp',
     201   'Filename' => 'Filnamn',
    195202   'Flash' => {
    196203      Description => 'Blixt',
     
    345352    },
    346353   'Hue' => 'Nyans',
     354   'ICCProfile' => 'ICC profil',
    347355   'ISO' => 'ISO vÀrde',
    348356   'ImageHeight' => 'Bildhöjd',
     
    355363   'InteropOffset' => 'Interoperability tag',
    356364   'InteropVersion' => 'Interoperability Version',
     365   'JPEGQuality' => {
     366      Description => 'Bildkvalitet',
     367      PrintConv => {
     368        'Extra Fine' => 'Extra fin',
     369        'Fine' => 'Fin',
     370        'Standard' => 'Standardkvalitet',
     371      },
     372    },
    357373   'Keywords' => 'Nyckelord',
    358374   'Lens' => 'Objektiv',
     
    370386        'Fluorescent' => 'Lysrörsbelysning',
    371387        'ISO Studio Tungsten' => 'ISO tungsten studiobelysning',
    372         'Other' => 'annan ljuskÀlla',
     388        'Other' => 'Annan ljuskÀlla',
    373389        'Shade' => 'Skugga',
    374390        'Standard Light A' => 'Standardljus A',
     
    376392        'Standard Light C' => 'Standardljus C',
    377393        'Tungsten (Incandescent)' => 'Tungsten',
    378         'Unknown' => 'okÀnt',
     394        'Unknown' => 'OkÀnt',
    379395        'Warm White Fluorescent' => 'Varmt vitt fluorescerande (L 2600 - 3250k)',
    380396        'White Fluorescent' => 'Vit lysrörsbelysning (WW 3250 - 3800 k)',
     
    400416        'Multi-segment' => 'Mönster',
    401417        'Multi-spot' => 'MultiSpot',
    402         'Other' => 'annat',
     418        'Other' => 'Annat',
    403419        'Partial' => 'Delvis',
    404         'Unknown' => 'okÀnt',
     420        'Unknown' => 'OkÀnt',
    405421      },
    406422    },
     
    491507        'Portrait' => 'PortrÀtt',
    492508        'Sports' => 'SporthÀndelse',
    493         'Standard' => '',
    494509        'Sunset' => 'SolnedgÃ¥ng',
    495510        'Sweep Panorama' => 'Panorering',
     
    576591        'Shade' => 'Skugga',
    577592        'Tungsten' => 'Glödlampa',
    578         'Unknown' => 'okÀnt',
     593        'Unknown' => 'OkÀnt',
    579594        'Warm White Fluorescent' => 'Varmt vitt fluorescerande',
    580595        'White Fluorescent' => 'Vit lysrörsbelysning',
     
    587602      Description => 'Y- och C-placering',
    588603      PrintConv => {
    589         'Centered' => 'centrerad',
    590         'Co-sited' => 'co-sited',
     604        'Centered' => 'Centrerad',
    591605      },
    592606    },
     
    618632=head1 AUTHOR
    619633
    620 Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
     634Copyright 2003-2021, Phil Harvey (philharvey66 at gmail.com)
    621635
    622636This library is free software; you can redistribute it and/or modify it
Note: See TracChangeset for help on using the changeset viewer.