[Unicode]   Unicode Localization Interoperability Technical Committee : Bug Tracking Home | Site Map | Search
 

Ignore:
Timestamp:
07/03/13 17:06:28 (13 months ago)
Author:
srloomis
Message:

ticket:7336: move pt_BR to pt. Update XML generator with latest CLDR DTD and latest proposal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abbrs/src/json2cldr.py

    r24 r34  
    8282    if variant: 
    8383        identity.append(etree.Element('variant',type=variant)) 
    84      
     84 
    8585    ldml.append(identity) 
    8686    segmentations = etree.Element('segmentations') 
    8787    segmentation = etree.Element('segmentation',type='SentenceBreak') 
    88     exceptions = etree.Element('exceptions', draft=draft) 
    89     exceptionText = '' 
     88    exceptions = etree.Element('exceptions') 
    9089    for k in abbrs: 
    91         exceptionText = exceptionText + '\n       ' + k 
    92     exceptionText = exceptionText + '\n     ' 
    93     exceptions.text = exceptionText 
     90        exception = etree.Element('exception', draft=draft) 
     91        exception.text = k 
     92        exceptions.append(exception) 
    9493    segmentation.append(etree.Comment(comment)) 
    9594    segmentation.append(exceptions) 
Note: See TracChangeset for help on using the changeset viewer.