Changeset 899 for trunk

Show
Ignore:
Timestamp:
04/08/08 06:03:45 (9 months ago)
Author:
james
Message:

add US correction, don't shrink ellipses at end of line

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/en/output_english.tcl

    r862 r899  
    6363 
    6464        #fix double-period at end of line 
    65         regsub -all "\\.\\.$" $line "." line 
     65        regsub -all "\[^.\]\\.\\.$" $line "." line 
     66 
     67        # fix american spellings 
     68        # TODO: make this an option or US bots can talk wrong english and UK bots can talk right english 
     69        set line [string map -nocase { color colour neighbor neighbour aluminum aluminium favorite favourite center centre } $line] 
    6670 
    6771  return $line