Changeset 38500 for main/trunk/greenstone2
- Timestamp:
- 2023-12-18T10:59:36+13:00 (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gti.pl
r37908 r38500 45 45 my $gti_translation_files = 46 46 [ # Greenstone macrofiles 47 { 'key' => "coredm",48 'file_type' => "macrofile",49 'source_file' => "macros/english.dm",50 'target_file' => "macros/{bn:bengali;fa:farsi;gd:gaelic;id:indo;lv:latvian;pt-br:port-br;pt-pt:port-pt;sr-bh-cyr:serbian-bh-cyr;sr-bh-lat:serbian-bh-lat;zh-tr:chinese-trad;iso_639_1_target_language_name}.dm" },51 52 { 'key' => "auxdm",53 'file_type' => "macrofile",54 'source_file' => "macros/english2.dm",55 '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" },56 57 #{ 'key' => "paperspastdm",58 # 'file_type' => "macrofile",59 # 'source_file' => "macros/paperspast-english.dm",60 # '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" },61 62 # GLI dictionary63 { 'key' => "glidict",64 'file_type' => "resource_bundle",65 'source_file' => "gli/classes/dictionary.properties",66 'target_file' => "gli/classes/dictionary_{target_language_code}.properties" },67 68 # GLI help69 { 'key' => "glihelp",70 'file_type' => "greenstone_xml",71 'source_file' => "gli/help/en/help.xml",72 'target_file' => "gli/help/{target_language_code}/help.xml" },73 74 # Greenstone Perl modules75 { 'key' => "perlmodules",76 'file_type' => "resource_bundle",77 'source_file' => "perllib/strings.properties",78 'target_file' => "perllib/strings_{target_language_code}.properties" },79 80 # Greenstone Installer interface81 { 'key' => "gsinstaller",82 'file_type' => "resource_bundle",83 'source_file' => "gsinstaller/LanguagePack.properties",84 'target_file' => "gsinstaller/LanguagePack_{target_language_code}.properties" },85 86 # Greenstone tutorial exercises87 # { 'key' => "tutorials",88 # 'file_type' => "greenstone_xml",89 # 'source_file' => "gsdl-documentation/tutorials/xml-source/tutorial_en.xml",90 # 'target_file' => "gsdl-documentation/tutorials/xml-source/tutorial_{target_language_code}.xml" },91 92 # new Greenstone.org93 { 'key' => "greenorg",94 'file_type' => "resource_bundle",95 'source_file' => "greenstoneorg/website/classes/Gsc.properties",96 'target_file' => "greenstoneorg/website/classes/Gsc_{target_language_code}.properties"97 },98 47 99 48 # greenstone 3 interface files, from https://svn.greenstone.org/main/trunk/greenstone3/web/WEB-INF/classes … … 103 52 'source_file' => "greenstone3", 104 53 'target_file' => "greenstone3" 54 }, 55 56 # GLI dictionary 57 { 'key' => "glidict", 58 'file_type' => "resource_bundle", 59 'source_file' => "gli/classes/dictionary.properties", 60 'target_file' => "gli/classes/dictionary_{target_language_code}.properties" }, 61 62 # Greenstone Installer interface 63 { 'key' => "gsinstaller", 64 'file_type' => "resource_bundle", 65 'source_file' => "gsinstaller/LanguagePack.properties", 66 'target_file' => "gsinstaller/LanguagePack_{target_language_code}.properties" }, 67 68 # Greenstone Perl modules 69 { 'key' => "perlmodules", 70 'file_type' => "resource_bundle", 71 'source_file' => "perllib/strings.properties", 72 'target_file' => "perllib/strings_{target_language_code}.properties" }, 73 74 # GLI help 75 { 'key' => "glihelp", 76 'file_type' => "greenstone_xml", 77 'source_file' => "gli/help/en/help.xml", 78 'target_file' => "gli/help/{target_language_code}/help.xml" }, 79 80 # Greenstone 2 core 81 { 'key' => "coredm", 82 'file_type' => "macrofile", 83 'source_file' => "macros/english.dm", 84 'target_file' => "macros/{bn:bengali;fa:farsi;gd:gaelic;id:indo;lv:latvian;pt-br:port-br;pt-pt:port-pt;sr-bh-cyr:serbian-bh-cyr;sr-bh-lat:serbian-bh-lat;zh-tr:chinese-trad;iso_639_1_target_language_name}.dm" }, 85 86 #Greenstone 2 aux 87 { 'key' => "auxdm", 88 'file_type' => "macrofile", 89 'source_file' => "macros/english2.dm", 90 '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" }, 91 92 #{ 'key' => "paperspastdm", 93 # 'file_type' => "macrofile", 94 # 'source_file' => "macros/paperspast-english.dm", 95 # '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" }, 96 97 98 99 100 # Greenstone tutorial exercises 101 # { 'key' => "tutorials", 102 # 'file_type' => "greenstone_xml", 103 # 'source_file' => "gsdl-documentation/tutorials/xml-source/tutorial_en.xml", 104 # 'target_file' => "gsdl-documentation/tutorials/xml-source/tutorial_{target_language_code}.xml" }, 105 106 # new Greenstone.org 107 { 'key' => "greenorg", 108 'file_type' => "resource_bundle", 109 'source_file' => "greenstoneorg/website/classes/Gsc.properties", 110 'target_file' => "greenstoneorg/website/classes/Gsc_{target_language_code}.properties" 105 111 }, 106 112
Note:
See TracChangeset
for help on using the changeset viewer.