- Timestamp:
- 2023-08-09T17:34:57+12:00 (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gti.pl
r37907 r37908 167 167 168 168 # For the first translation of glihelp into a new language, glihelp folders need to be 169 # initialised. The folders & files are not yet present on submit , so do this then:169 # initialised. The folders & files are not yet present on submit press, so do this then: 170 170 if($gti_command =~ /^submit-translations$/i && $module && $module eq "glihelp") { 171 &create_glihelp_zip_file(@gti_command_arguments); 171 my $langcode = shift(@_); 172 my $target_language_code = lc($langcode); 173 unshift(@_, $langcode); # put it back into args list 174 175 my $glihelp_lang_dir = &util::filename_cat($gsdl_root_directory, "gli", "help",$target_language_code); 176 177 if(!&FileUtils::directoryExists($glihelp_lang_dir)) { 178 # This command cannot produce any output since it reads input 179 &create_glihelp_zip_file(@gti_command_arguments); 180 } 181 #&log_message("@@@ Got cmd: $gti_command"); 172 182 } 173 183
Note:
See TracChangeset
for help on using the changeset viewer.