Changeset 10020
- Timestamp:
- 2005-06-08T10:52:21+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/gti.pl
r10019 r10020 247 247 # The code of the target language (ensure it is lowercase) 248 248 my $target_language_code = lc(shift(@_)); 249 print STDERR "Getting language status for " . $target_language_code . "\n";250 249 251 250 # Check that the necessary arguments were supplied … … 319 318 my $translation_file_key = lc(shift(@_)); 320 319 # The query string 321 my $query_string = shift(@_); 320 my $query_string = join(' ', @_); 321 # &log_message("Query string: $query_string"); 322 322 323 323 # Check that the necessary arguments were supplied … … 325 325 &throw_fatal_error("Missing command argument."); 326 326 } 327 328 # !! Need to check that multiple words works329 print STDERR "Query string: $query_string\n";330 327 331 328 # Get (and check) the translation configuration … … 368 365 print "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"; 369 366 print "<GTIResponse>\n"; 370 # print " <TranslationFile"371 # . " key=\"" . $translation_file_key . "\""372 # . " target_file_path=\"" . $target_file . "\"\/>\n";373 367 374 368 print " <ChunksMatchingQuery size=\"" . scalar(@target_file_keys_matching_query) . "\">\n";
Note:
See TracChangeset
for help on using the changeset viewer.