Package translate :: Package convert :: Module rc2po :: Class rc2po
[hide private]
[frames] | no frames]

Class rc2po

source code

convert a .rc file to a .po file for handling the translation...

Instance Methods [hide private]
 
__init__(self, charset=None) source code
 
convertstore(self, thercfile, duplicatestyle='msgctxt')
converts a .rc file to a .po file...
source code
 
mergestore(self, origrcfile, translatedrcfile, blankmsgstr=False, duplicatestyle='msgctxt')
converts two .rc files to a .po file...
source code
 
convertunit(self, rcunit, commenttype)
Converts a .rc unit to a .po unit.
source code
Method Details [hide private]

convertunit(self, rcunit, commenttype)

source code 

Converts a .rc unit to a .po unit. Returns None if empty or not for translation.