Ignore:
Timestamp:
2012-03-23T16:46:29+13:00 (12 years ago)
Author:
ak19
Message:

Updated to deal with paperspast.dm: added a new module into gti.pl for this. Because getting chunks from the paperspast.dm file results in attribute like values in the source and target strings, there are now functions in ApplyXSLT.java to remove and retrieve these. Finally, the function to remove these attribute-like values in the source and target strings is called in the gti-generate-tmx-xml.xslt file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/gti.pl

    r25249 r25285  
    5454    'target_file' => "macros/{bn:bengali;fa:farsi;gd:gaelic;id:indo;lv:latvian;pt-br:port-br;pt-pt:port-pt;zh-tr:chinese-trad;iso_639_1_target_language_name}2.dm" },
    5555
     56{ 'key' => "paperspastdm",
     57    'file_type' => "macrofile",
     58    'source_file' => "macros/paperspast-english.dm",
     59    'target_file' => "macros/paperspast-{bn:bengali;fa:farsi;gd:gaelic;id:indo;lv:latvian;pt-br:port-br;pt-pt:port-pt;zh-tr:chinese-trad;iso_639_1_target_language_name}.dm" },
     60
    5661# GLI dictionary
    5762{ 'key' => "glidict",
Note: See TracChangeset for help on using the changeset viewer.