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

    r24107 r34921  
    1212use vars qw($VERSION);
    1313
    14 $VERSION = '1.17';
     14$VERSION = '1.25';
    1515
    1616%Image::ExifTool::Lang::ja::Translate = (
     
    238238報バヌゞョン',
    239239   'AFIntegrationTime' => 'AF集積時間',
    240    'AFMicroAdjActive' => {
    241       PrintConv => {
    242         'No' => 'いいえ',
    243         'Yes' => 'はい',
    244       },
    245     },
    246240   'AFMicroadjustment' => {
    247241      Description => 'AFマむクロアゞャストメント',
     
    676670      },
    677671    },
     672   'AutoBracketingSet' => 'オヌトブラケット蚭定',
    678673   'AutoExposureBracketing' => {
    679674      Description => 'フラッシュバむアス',
     
    804799    },
    805800   'BestQualityScale' => '高品質スケヌル',
    806    'BestShotMode' => 'ベストショットモヌド',
     801   'BestShotMode' => {
     802      Description => 'ベストショットモヌド',
     803      PrintConv => {
     804        'Off' => 'オフ',
     805      },
     806    },
    807807   'BitDepth' => 'ビット深床',
    808808   'BitsPerComponent' => 'コンポヌネントあたりビット',
     
    860860      Description => 'ブラストモヌド',
    861861      PrintConv => {
     862        'Auto Exposure Bracketing (AEB)' => '無限',
    862863        'Infinite' => '無限',
    863864        'Off' => 'オフ',
     
    11991200        'Clear' => 'クリアヌ',
    12001201        'Deep' => 'ディヌプ',
     1202        'Evening' => '倕焌け',
    12011203        'Landscape' => '颚景',
    12021204        'Light' => 'ラむト',
    12031205        'Natural' => 'ナチュラル',
    12041206        'Natural color' => 'ナチュラルカラヌ',
     1207        'Natural sRGB' => 'ナチュラル sRGB',
     1208        'Natural+ sRGB' => 'ナチュラル+ sRGB',
    12051209        'Neutral' => 'ニュヌトラル',
    12061210        'Night Portrait' => '人物倜景',
     
    12481252      Description => '色空間',
    12491253      PrintConv => {
     1254        'ICC Profile' => 'ICCプロフィヌル',
    12501255        'Monochrome' => 'モノトヌン',
    12511256        'Uncalibrated' => '未調敎',
     
    13561361      PrintConv => {
    13571362        'JPEG' => 'JPEG圧瞮率',
    1358         'JPEG (old-style)' => 'JPEG(叀い圢匏)',
     1363        'JPEG (old-style)' => 'JPEG (叀い圢匏)',
    13591364        'None' => '無し',
    13601365        'Uncompressed' => '非圧瞮',
     
    14041409      Description => 'コントラスト',
    14051410      PrintConv => {
     1411        '+1 (medium high)' => '+1 (少し高い)',
     1412        '+2 (high)' => '+2 (ハヌド)',
     1413        '+3 (very high)' => '+3 (かなり高い)',
     1414        '-1 (medium low)' => '-1 (少し䜎い)',
     1415        '-2 (low)' => '-2 (゜フト)',
     1416        '-3 (very low)' => '-3 (かなり䜎い)',
     1417        '0 (normal)' => '0 (スタンダヌド)',
    14061418        'Film Simulation' => 'フィルムシミュレヌション',
    14071419        'High' => 'ハヌド',
    14081420        'Low' => '゜フト',
    1409         'Med High' => '少し高い',
    1410         'Med Low' => '少し䜎い',
    14111421        'Medium High' => '少し高い',
    14121422        'Medium Low' => '少し䜎い',
    14131423        'Normal' => 'スタンダヌド',
    1414         'Very High' => 'かなり高い',
    1415         'Very Low' => 'かなり䜎い',
    14161424      },
    14171425    },
     
    14581466   'Country-PrimaryLocationCode' => 'ISO囜コヌド',
    14591467   'Country-PrimaryLocationName' => '囜',
     1468   'CountryCode' => '撮圱囜コヌド',
    14601469   'CreateDate' => 'デゞタルデヌタ䜜成日時',
    14611470   'CreationDate' => '䜜成日時',
     1471   'CreativeStyle' => {
     1472      Description => 'クリ゚むティブスタむル',
     1473      PrintConv => {
     1474        'Autumn' => '秋',
     1475        'Autumn Leaves' => 'çŽ
     1476葉',
     1477        'B&W' => '癜黒',
     1478        'Clear' => 'クリアヌ',
     1479        'Deep' => 'ディヌプ',
     1480        'Landscape' => '颚景',
     1481        'Light' => 'ラむト',
     1482        'Neutral' => 'ニュヌトラル',
     1483        'Night View/Portrait' => '倜景/倜景ポヌトレヌト',
     1484        'Portrait' => 'ポヌトレヌト',
     1485        'Sepia' => 'セピア',
     1486        'Standard' => 'スタンダヌド',
     1487        'Sunset' => '倕日',
     1488        'Vivid' => 'ビビッド',
     1489      },
     1490    },
    14621491   'Creator' => '補䜜è€
    14631492',
    14641493   'CreatorAddress' => 'クリ゚ヌタヌ - 䜏所',
    14651494   'CreatorCity' => 'クリ゚ヌタヌ - 街',
     1495   'CreatorContactInfo' => '䜜成è€
     1496のコン タクトå
     1497ˆ',
    14661498   'CreatorCountry' => 'クリ゚ヌタヌ - 囜',
    14671499   'CreatorPostalCode' => 'クリ゚ヌタヌ - 郵䟿番号',
     
    14951527   'Custom1' => 'カスタム1',
    14961528   'Custom2' => 'カスタム2',
     1529   'Custom3' => 'カスタム3',
     1530   'Custom4' => 'カスタム4',
    14971531   'CustomRendered' => {
    14981532      Description => 'カスタム画像凊理',
     
    16411675    },
    16421676   'DistortionCorrection' => {
     1677      Description => '歪曲修正',
    16431678      PrintConv => {
    16441679        'Off' => 'オフ',
     
    18691904',
    18701905   'EpsonSoftware' => '゚プ゜ン゜フトりェア',
     1906   'Equipment' => 'むクむップメントIFDポむンタヌ',
    18711907   'EquipmentVersion' => 'むクむップメントバヌゞョン',
    18721908   'ExcursionTolerance' => '振å¹
     
    19501986        'Shutter speed priority AE' => 'シャッタヌ優å
    19511987ˆ',
     1988        'n/a' => '未蚭定',
    19521989      },
    19531990    },
     
    20682105   'Face7Position' => '顔7䜍眮',
    20692106   'Face8Position' => '顔8䜍眮',
     2107   'Face9Position' => '顔9䜍眮',
    20702108   'FaceDetect' => {
    20712109      Description => '顔認識',
     
    20772115   'FaceDetectArea' => '顔゚リア',
    20782116   'FaceDetectFrameSize' => 'フレヌムサむズ',
     2117   'FaceOrientation' => {
     2118      PrintConv => {
     2119        'Horizontal (normal)' => '氎平暙準',
     2120        'Rotate 180' => '180床回転',
     2121        'Rotate 270 CW' => '270床回転 CW',
     2122        'Rotate 90 CW' => '90床回転 CW',
     2123      },
     2124    },
    20792125   'FacesDetected' => '顔認識',
    20802126   'FastSeek' => {
     
    21262172   'FileType' => 'ファむルタむプ',
    21272173   'FileVersion' => 'ファむル圢匏バヌゞョン',
     2174   'Filename' => 'ファむル名',
    21282175   'FillFlashAutoReduction' => {
    21292176      Description => '日䞭シンクロ・ストロボ露出自動䜎枛制埡',
     
    23142361   'FlashExposureBracketValue' => 'フラッシュ露出ブラケット倀',
    23152362   'FlashExposureComp' => 'フラッシュ露出補正',
     2363   'FlashExposureComp2' => 'フラッシュ露出補正',
    23162364   'FlashExposureCompSet' => 'ストロボ露出補正蚭定',
    23172365   'FlashExposureLock' => {
     
    24892537    },
    24902538   'FlashOutput' => 'フラッシュ出力',
     2539   'FlashRemoteControl' => 'フラッシュリモヌトコントロヌル',
    24912540   'FlashSerialNumber' => 'フラッシュシリアル番号',
    24922541   'FlashSetting' => 'フラッシュ蚭定',
     
    26912740   'ForwardMatrix1' => '前行列1',
    26922741   'ForwardMatrix2' => '前行列2',
     2742   'FrameHeight' => 'フレヌム高',
    26932743   'FrameNumber' => 'フレヌム番号',
    26942744   'FrameRate' => 'フレヌムレヌト',
    26952745   'FrameSize' => 'フレヌムサむズ',
     2746   'FrameWidth' => 'フレヌムå¹
     2747',
    26962748   'FreeByteCounts' => 'フリヌバむト数',
    26972749   'FreeMemoryCardImages' => 'フリヌメモリヌカヌドむメヌゞ',
     
    27262778   'GEMInfo' => 'GEMæƒ
    27272779å ±',
     2780   'GEModel' => 'モデル',
    27282781   'GIFVersion' => 'GIFバヌゞョン',
    27292782   'GPSAltitude' => '高床',
     
    28832936   'GeoTiffDoubleParams' => 'ゞオダブル蚭定タグ',
    28842937   'Gradation' => 'グラデヌション',
     2938   'GrayPoint' => 'グレヌポむント',
    28852939   'GrayResponseCurve' => 'グレヌ反応曲線',
    28862940   'GrayResponseUnit' => {
     
    28942948      },
    28952949    },
     2950   'GrayScale' => 'グレヌスケヌル',
    28962951   'GrayTRC' => '灰色調増殖曲線',
    28972952   'GreenMatrixColumn' => '緑色マトリックス列',
     
    29212976      Description => '高感床ノむズリダクション',
    29222977      PrintConv => {
     2978        '+2 (strong)' => '+2 (匷)',
     2979        '-2 (weak)' => '-2 (匱)',
     2980        '-4 (weakest)' => '-4 (埮匱)',
    29232981        'Auto' => 'オヌト',
    29242982        'High' => '高い',
     
    29583016   'HueAdjustment' => '色盞調敎',
    29593017   'HueSetting' => '色盞蚭定',
     3018   'ICCProfile' => 'ICCプロフィヌル',
    29603019   'ICC_Profile' => 'ICCå
    29613020¥åŠ›è‰²ãƒ—ロフィヌル',
     
    29713030   'ISO' => 'ISOスピヌドレヌト',
    29723031   'ISO2' => 'ISO2',
     3032   'ISOAuto' => 'ISOオヌト',
    29733033   'ISODisplay' => 'ISO衚瀺',
    29743034   'ISOExpansion' => {
     
    30963156      },
    30973157    },
     3158   'ImageProcessing' => 'むメヌゞ凊理',
    30983159   'ImageProcessingVersion' => '画像凊理バヌゞョン',
    30993160   'ImageQuality' => {
     
    31723233   'Instructions' => '詳现',
    31733234   'IntellectualGenre' => 'むンテリゞャンル',
     3235   'IntelligentAuto' => 'むンテリゞェントオヌト',
    31743236   'IntensityStereo' => {
    31753237      PrintConv => {
     
    32593321   'JPEGProc' => 'JPEG凊理',
    32603322   'JPEGQTables' => 'JPEG Q テヌブル',
    3261    'JPEGQuality' => 'JPEG 品質',
     3323   'JPEGQuality' => {
     3324      Description => 'JPEG 品質',
     3325      PrintConv => {
     3326        'Extra Fine' => '゚クストラファむン',
     3327        'Fine' => 'ファむン',
     3328        'Standard' => 'ノヌマル',
     3329        'n/a' => '未蚭定',
     3330      },
     3331    },
    32623332   'JPEGRestartInterval' => 'JPEG再開間隔',
    32633333   'JPEGTables' => 'JPEGテヌブル',
     
    34463516        'Off' => 'オフ',
    34473517        'On' => 'オン',
    3448       },
    3449     },
    3450    'LongFocal' => '最長焊点',
     3518        'n/a' => '未蚭定',
     3519      },
     3520    },
    34513521   'LookupTable' => 'ルックアップテヌブル',
    34523522   'LoopStyle' => {
     
    34643534    },
    34653535   'MB-D10Batteries' => 'MB-D10電源タむプ',
     3536   'MB-D10BatteryType' => 'MB-D10電源タむプ',
    34663537   'MB-D80Batteries' => 'MB-D80バッテリヌ',
    34673538   'MIEVersion' => 'MIEバヌゞョン',
     
    34823553        'On' => 'オン',
    34833554        'Super Macro' => 'スヌパヌマクロ',
     3555        'n/a' => '未蚭定',
    34843556      },
    34853557    },
     
    35463618   'MasterDocumentID' => 'マスタ文曞ID',
    35473619   'MasterGain' => 'マスタヌゲむン',
     3620   'MatrixMetering' => '分割枬å
     3621‰',
    35483622   'Matteing' => 'マッチング',
    35493623   'MaxAperture' => '最倧絞り',
     
    36753749   'Model2' => '画像å
    36763750¥åŠ›æ©Ÿå™šãƒ¢ãƒ‡ãƒ«(2)',
     3751   'ModelID' => 'モデルID',
    36773752   'ModelTiePoint' => 'モデル拘束ポむントタグ',
    36783753   'ModelTransform' => 'モデル倉化タグ',
     
    38553930    },
    38563931   'MyColorMode' => {
     3932      Description => 'マむカラヌモヌド',
    38573933      PrintConv => {
    38583934        'B&W' => '癜黒',
     
    38893965      },
    38903966    },
     3967   'NEFLinearizationTable' => '線圢化衚',
    38913968   'NamedColor2' => '色名称2',
    38923969   'NativeDisplayInfo' => 'ネむティブディスプレむæƒ
     
    40154092   'PentaxModelID' => 'ペンタックスモデル',
    40164093   'PentaxVersion' => 'ペンタックスバヌゞョン',
     4094   'People' => '人ã€
     4095',
    40174096   'PhaseDetectAF' => {
    40184097      Description => 'オヌトフォヌカス',
     
    43144393   'PreCaptureFrames' => 'プレキャプチャヌフレヌム',
    43154394   'Predictor' => '指暙',
     4395   'Preview' => 'プレビュヌIFDポむンタヌ',
    43164396   'Preview0' => 'プレビュヌ0',
    43174397   'Preview1' => 'プレビュヌ1',
     
    44564536        'RAW + JPEG' => 'RAW+JPEG',
    44574537        'Standard' => 'スタンダヌド',
    4458       },
    4459     },
     4538        'n/a' => '未蚭定',
     4539      },
     4540    },
     4541   'Quality2' => '品質',
    44604542   'QualityMode' => {
    44614543      Description => '品質モヌド',
     
    44674549    },
    44684550   'QuantizationMethod' => '量子化方法',
     4551   'QuickAdjust' => 'クむック調敎',
    44694552   'QuickControlDialInMeter' => {
    44704553      Description => '枬å
     
    45764659   'RawImageCenter' => 'RAWむメヌゞセンタヌ',
    45774660   'RawImageDigest' => 'RAWむメヌゞ芁玄',
     4661   'RawImageHeight' => 'むメヌゞ高さ',
    45784662   'RawImageSegmentation' => 'RAWむメヌゞ郚分番号',
    45794663   'RawImageSize' => 'RAWむメヌゞサむズ',
     4664   'RawImageWidth' => 'むメヌゞå¹
     4665',
    45804666   'RawInfoVersion' => 'RAWæƒ
    45814667報バヌゞョン',
     
    47794865      Description => '圩床',
    47804866      PrintConv => {
     4867        '+1 (medium high)' => '+1 (少し高い)',
     4868        '+2 (high)' => '+2 (ハヌド)',
     4869        '+3 (very high)' => '+3 (かなり高い)',
     4870        '+4 (highest)' => '+4',
     4871        '+4 (maximum)' => '+4',
     4872        '-1 (medium low)' => '-1 (少し䜎い)',
     4873        '-2 (low)' => '-2 (゜フト)',
     4874        '-3 (very low)' => '-3 (かなり䜎い)',
     4875        '-4 (lowest)' => '-4',
     4876        '-4 (minimum)' => '-4',
     4877        '0 (normal)' => '0 (スタンダヌド)',
     4878        'B&W' => '黒癜',
    47814879        'Film Simulation' => 'フィルムシミュレヌション',
    47824880        'High' => '高い圩床',
    47834881        'Low' => '䜎い圩床',
    4784         'Med High' => '少し高い',
    4785         'Med Low' => '少し䜎い',
    47864882        'Medium High' => '少し高い',
    47874883        'Medium Low' => '少し䜎い',
     
    47894885        'None (B&W)' => '無し黒癜',
    47904886        'Normal' => '暙準',
    4791         'Very High' => 'かなり高い',
    4792         'Very Low' => 'かなり䜎い',
    47934887      },
    47944888    },
     
    50255119   'SensorWidth' => 'センサヌå¹
    50265120',
     5121   'Sequence' => 'シヌケンス',
    50275122   'SequenceNumber' => 'シヌケンス番号',
    50285123   'SequenceShotInterval' => 'シヌケンスショットむンタヌバル',
     
    51115206      Description => 'シャヌプネス',
    51125207      PrintConv => {
     5208        '+1 (medium hard)' => '+1 (少しハヌド)',
     5209        '+2 (hard)' => '+2 (ハヌド)',
     5210        '+3 (very hard)' => '+3 (かなりハヌド)',
     5211        '+4 (hardest)' => '+4',
     5212        '+4 (maximum)' => '+4',
     5213        '-1 (medium soft)' => '-1 (ミドル゜フト)',
     5214        '-2 (soft)' => '-2 (゜フト)',
     5215        '-3 (very soft)' => '-3 (かなり゜フト)',
     5216        '-4 (minimum)' => '-4',
     5217        '-4 (softest)' => '-4',
     5218        '0 (normal)' => '0 (ノヌマル)',
    51135219        'Film Simulation' => 'フィルムシミュレヌション',
    51145220        'Hard' => 'ハヌド',
    51155221        'Hard2' => 'ハヌド2',
    5116         'Med Hard' => '少しハヌド',
    5117         'Med Soft' => '少し゜フト',
    51185222        'Medium Hard' => 'ミドルハヌド',
    51195223        'Medium Soft' => 'ミドル゜フト',
     
    51225226        'Soft' => '゜フト',
    51235227        'Soft2' => '゜フト2',
    5124         'Very Hard' => 'かなりハヌド',
    5125         'Very Soft' => 'かなり゜フト',
    51265228        'n/a' => '該圓無し',
    51275229      },
     
    52115313    },
    52125314   'ShortDocumentID' => '短文曞ID',
    5213    'ShortFocal' => '最短焊点',
    52145315   'ShortOwnerName' => '短いオヌナヌ名',
    52155316   'ShortReleaseTimeLag' => {
     
    53275428   'SpecialMode' => 'スペシャルモヌド',
    53285429   'SpectralSensitivity' => 'スペクトル感床',
     5430   'Sport' => 'スポヌツ',
    53295431   'SpotFocusPointX' => 'スポットフォヌカスポむントX',
    53305432   'SpotFocusPointY' => 'スポットフォヌカスポむントY',
     
    53695471   'Subject' => 'サブゞェクト',
    53705472   'SubjectArea' => '察象領域',
     5473   'SubjectCode' => 'サブゞェクトコヌド',
    53715474   'SubjectDistance' => '察象距離',
    53725475   'SubjectDistanceRange' => {
     
    55015604   'TimeStamp' => 'タむムスタンプ',
    55025605   'TimeStamp1' => 'タむムスタンプ1',
     5606   'TimeZone' => 'タむムゟヌン',
    55035607   'TimeZoneOffset' => 'タむムゟヌンオフセット',
    55045608   'TimerFunctionButton' => {
     
    55195623      },
    55205624    },
    5521    'Timezone' => 'タむムゟヌン',
    55225625   'Title' => 'タむトル',
    55235626   'ToneComp' => 'トヌン補正',
     
    58185921‰',
    58195922        'Flash' => 'ストロボ',
    5820         'High Color Rendering Fluorescent' => 'ハむカラヌレンダリング蛍å
    5821 ‰ç¯',
     5923        'High Color Rendering Fluorescent (3700K)' => 'ハむカラヌレンダリング蛍å
     5924‰ç¯ (1)',
     5925        'High Color Rendering Fluorescent (5000K)' => 'ハむカラヌレンダリング蛍å
     5926‰ç¯ (3)',
     5927        'High Color Rendering Fluorescent (cool white)' => 'ハむカラヌレンダリング蛍å
     5928‰ç¯ (2)',
     5929        'High Color Rendering Fluorescent (daylight)' => 'ハむカラヌレンダリング蛍å
     5930‰ç¯ (4)',
     5931        'High Color Rendering Fluorescent (warm white)' => 'ハむカラヌレンダリング蛍å
     5932‰ç¯ (0)',
    58225933        'Incandescent' => '電球',
    58235934        'None' => '無し',
    5824         'Standard Fluorescent' => '暙準蛍å
    5825 ‰ç¯',
     5935        'Standard Fluorescent (3700K)' => '暙準蛍å
     5936‰ç¯ (1)',
     5937        'Standard Fluorescent (5000K)' => '暙準蛍å
     5938‰ç¯ (3)',
     5939        'Standard Fluorescent (6500K)' => '暙準蛍å
     5940‰ç¯ (4)',
     5941        'Standard Fluorescent (cool white)' => '暙準蛍å
     5942‰ç¯ (2)',
     5943        'Standard Fluorescent (high temperature mercury vapor)' => '暙準蛍å
     5944‰ç¯ (5)',
     5945        'Standard Fluorescent (warm white)' => '暙準蛍å
     5946‰ç¯ (0)',
    58265947      },
    58275948    },
     
    58365957    },
    58375958   'WBAdjTemperature' => 'ホワむトバランス調敎、色枩床',
    5838    'WBAdjustAB' => 'ホワむトバランス調敎A/B',
    5839    'WBAdjustGM' => 'ホワむトバランス調敎G/M',
    58405959   'WBBlueLevel' => 'ホワむトバランス青レベル',
    58415960   'WBBracketMode' => {
     
    58725991   'WBShiftAB' => 'WB AB補正',
    58735992   'WBShiftGM' => 'WB GM補正',
    5874    'WBShiftMG' => 'WB GM補正',
    58755993   'WB_GBRGLevels' => 'WB GBRG レベル',
    58765994   'WB_GRBGLevels' => 'WB GRBG レベル',
     
    60066124        'Custom WB 5400K' => 'カスタムホワむトバランス5400K',
    60076125        'Custom WB 8000K' => 'カスタムホワむトバランス8000K',
     6126        'One Touch WB 1' => 'カスタムホワむトバランス1',
     6127        'One Touch WB 2' => 'カスタムホワむトバランス2',
     6128        'One Touch WB 3' => 'カスタムホワむトバランス3',
     6129        'One Touch WB 4' => 'カスタムホワむトバランス4',
    60086130      },
    60096131    },
     
    61386260      },
    61396261    },
     6262   'Zoom' => 'ズヌム',
    61406263   'ZoomSourceWidth' => 'ズヌム゜ヌスå¹
    61416264',
     
    61616284=head1 AUTHOR
    61626285
    6163 Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
     6286Copyright 2003-2021, Phil Harvey (philharvey66 at gmail.com)
    61646287
    61656288This library is free software; you can redistribute it and/or modify it
Note: See TracChangeset for help on using the changeset viewer.