Changeset 38547 for main/trunk


Ignore:
Timestamp:
2024-01-16T15:17:35+13:00 (5 months ago)
Author:
anupama
Message:

My previous commit's bugfix didn't work a couple of complex translations strings later. An additional fix.

File:
1 edited

Legend:

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

    r38504 r38547  
    738738
    739739        # Make sure the submitted source chunk matches the source file chunk
    740         if ($source_file_key_to_submission_mapping{$chunk_key} ne trim($source_file_key_to_text_mapping{$chunk_key})
    741             && $source_file_key_to_submission_mapping{$chunk_key} ne &unmake_text_xml_safe(trim($source_file_key_to_text_mapping{$chunk_key}))) {
     740        if (trim($source_file_key_to_submission_mapping{$chunk_key}) ne trim($source_file_key_to_text_mapping{$chunk_key})
     741            && trim($source_file_key_to_submission_mapping{$chunk_key}) ne &unmake_text_xml_safe(trim($source_file_key_to_text_mapping{$chunk_key}))) {
    742742        #if (&unmake_text_xml_safe($source_file_key_to_submission_mapping{$chunk_key}) ne &unmake_text_xml_safe($source_file_key_to_text_mapping{$chunk_key})) {
    743743                    #&log_message("**** submission source:\n|$source_file_key_to_submission_mapping{$chunk_key}|\n");
Note: See TracChangeset for help on using the changeset viewer.