svghmi/svghmi.py
branchsvghmi
changeset 3137 ac3ec66e9c6d
parent 3114 fb1e320836e8
child 3140 cae53fe54cf2
equal deleted inserted replaced
3136:784c839d4259 3137:ac3ec66e9c6d
   537         translations = ReadTranslations(self.CTNPath())
   537         translations = ReadTranslations(self.CTNPath())
   538             
   538             
   539         langs,translated_messages = MatchTranslations(translations, messages, 
   539         langs,translated_messages = MatchTranslations(translations, messages, 
   540             errcallback=self.GetCTRoot().logger.write_warning)
   540             errcallback=self.GetCTRoot().logger.write_warning)
   541 
   541 
   542         print(langs,translated_messages)
       
   543 
       
   544         return TranslationToEtree(langs,translated_messages)
   542         return TranslationToEtree(langs,translated_messages)
   545 
   543 
   546     def CTNGenerate_C(self, buildpath, locations):
   544     def CTNGenerate_C(self, buildpath, locations):
   547 
   545 
   548         location_str = "_".join(map(str, self.GetCurrentLocation()))
   546         location_str = "_".join(map(str, self.GetCurrentLocation()))