- Timestamp:
- 2003-04-17T14:03:08+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/inittranslation.pl
r4163 r4177 47 47 # Get the name of the target language 48 48 my $targetlang = shift(@_); 49 my $usecvs = shift(@_); 49 50 50 51 # Check that both arguments were supplied … … 144 145 } 145 146 146 # Use CVS to initialise the update database 147 &initialise_update_db($sourcelang, $targetlang, $targethash, $macrosdir); 147 # Use CVS to initialise the update database, if desired 148 if ($usecvs && $usecvs eq "true") { 149 &initialise_update_db($sourcelang, $targetlang, $targethash, $macrosdir); 150 } 148 151 149 152 # Clean up … … 417 420 my $sourcedate = $annotatedsourcehash1->{$targetkey}; 418 421 if (&is_date_before($targetdate, $sourcedate) eq "true") { 419 print "Macro needs updating!!\n";422 # print "Macro needs updating!!\n"; 420 423 $targetkey = &get_macrofile_name($targetlang, "") . "::" . $targetkey; 421 print "Target key: $targetkey";422 print " Original target text: $targethash->{$targetkey}\n";424 # print "Target key: $targetkey"; 425 # print " Original target text: $targethash->{$targetkey}\n"; 423 426 $updatedata{$targetkey} = $targethash->{$targetkey}; 424 427 } … … 429 432 my $sourcedate = $annotatedsourcehash2->{$targetkey}; 430 433 if (&is_date_before($targetdate, $sourcedate) eq "true") { 431 print "Macro needs updating!!\n";434 # print "Macro needs updating!!\n"; 432 435 $targetkey = &get_macrofile_name($targetlang, "2") . "::" . $targetkey; 433 print "Target key: $targetkey";434 print " Original target text: $targethash->{$targetkey}\n";436 # print "Target key: $targetkey"; 437 # print " Original target text: $targethash->{$targetkey}\n"; 435 438 $updatedata{$targetkey} = $targethash->{$targetkey}; 436 439 }
Note:
See TracChangeset
for help on using the changeset viewer.