Changeset 1098


Ignore:
Timestamp:
12/03/10 12:20:54 (18 months ago)
Author:
james
Message:

fix some errors in english fixing plugin

File:
1 edited

Legend:

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

    r1084 r1098  
    5353    #captials at start, . at end 
    5454    if [regexp {^([a-z])(.+)} $line matches first rest] { 
    55       set line "[string toupper $first]$rest" 
     55                        if {!([string range $line 0 1] == "r ")} { 
     56                                set line "[string toupper $first]$rest" 
     57                        } 
    5658    } 
    5759 
     
    6567        regsub -all "you is " $line "you are " line 
    6668 
    67         regsub -all "the an?" $line "the" line 
     69        regsub -all "the an? " $line "the " line 
    6870 
    6971        #fix double (or more) spaces 
Note: See TracChangeset for help on using the changeset viewer.