Changeset 29411 for main/trunk
- Timestamp:
- 2014-11-04T18:49:04+13:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gti.pl
r28992 r29411 54 54 '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" }, 55 55 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" },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 60 61 61 # GLI dictionary … … 94 94 'source_file' => "greenstoneorg/website/classes/Gsc.properties", 95 95 'target_file' => "greenstoneorg/website/classes/Gsc_{target_language_code}.properties" 96 } 97 98 #{ 'key' => "gs3interface",99 #'file_type' => "resource_bundle",100 #'source_file' => "greenstone3",101 #'target_file' => "greenstone3"102 #}96 }, 97 98 { 'key' => "gs3interface", 99 'file_type' => "resource_bundle", 100 'source_file' => "greenstone3", 101 'target_file' => "greenstone3" 102 } 103 103 ]; 104 104 105 my @gs3_interface_files = ("AbstractBrowse", "AbstractGS2FieldSearch", "AbstractSearch", "A uthentication", "CrossCollectionSearch", "GS2Construct", "GS2LuceneSearch", "interface_default", "interface_default2", "IViaSearch", "LuceneSearch", "MapRetrieve", "MapSearch", "metadata_names", "PhindPhraseBrowse", "SharedSoleneGS2FieldSearch");105 my @gs3_interface_files = ("AbstractBrowse", "AbstractGS2FieldSearch", "AbstractSearch", "AbstractTextSearch", "Authentication", "CrossCollectionSearch", "GS2Construct", "GS2LuceneSearch", "interface_default", "interface_default2", "IViaSearch", "LuceneSearch", "MapRetrieve", "MapSearch", "metadata_names", "PhindPhraseBrowse", "SharedSoleneGS2FieldSearch"); 106 106 107 107 # Auxilliary GS3 interface files. This list is not used at present … … 119 119 120 120 # for GS3, set gsdl_root_dir to GSDL3HOME 121 if($module && $module eq "gs3interface"){ # module is empty when the gti-command is create-glihelp-zip-file122 if($ENV{'GSDL3SRCHOME'}) {123 $gsdl_root_directory = (defined $ENV{'GSDL3HOME'}) ? $ENV{'GSDL3HOME'} : &util::filename_cat($ENV{'GSDL3SRCHOME'}, "web");124 $gti_log_file = &util::filename_cat($gsdl_root_directory, "logs", "gti.log");125 }126 }121 #if($module && $module eq "gs3interface"){ # module is empty when the gti-command is create-glihelp-zip-file 122 #if($ENV{'GSDL3SRCHOME'}) { 123 # $gsdl_root_directory = (defined $ENV{'GSDL3HOME'}) ? $ENV{'GSDL3HOME'} : &util::filename_cat($ENV{'GSDL3SRCHOME'}, "web"); 124 # $gti_log_file = &util::filename_cat($gsdl_root_directory, "logs", "gti.log"); 125 #} 126 #} 127 127 128 128 # Open the GTI log file for appending, or write to STDERR if that fails
Note:
See TracChangeset
for help on using the changeset viewer.