|  | 
        
          | po2prop(self,
        posource) helper that converts po source to .properties source without 
      requiring files
 | source code |  | 
    |  | 
        
          | merge2prop(self,
        propsource,
        posource,
        personality= 'java')helper that merges po translations to .properties source without 
      requiring files
 | source code |  | 
    |  | 
        
          | test_merging_simple(self) check the simplest case of merging a translation
 | source code |  | 
    |  | 
        
          | test_hard_newlines_preserved(self) check that we preserver hard coded newlines at the start and end of 
      sentence
 | source code |  | 
    |  | 
        
          | test_space_preservation(self) check that we preserve any spacing in properties files when merging
 | source code |  | 
    |  | 
        
          | test_merging_blank_entries(self) check that we can correctly merge entries that are blank in the 
      template
 | source code |  | 
    |  | 
        
          | test_merging_fuzzy(self) check merging a fuzzy translation
 | source code |  | 
    |  | 
        
          | test_merging_propertyless_template(self) check that when merging with a template with no property values that 
      we copy the template
 | source code |  | 
    |  |  |