#NEWLINE# def generate_po_install( self , d , elem ) : #NEWLINE# #INDENT# for p in self . build . pot : #NEWLINE# #INDENT# ( package_name , languages , subdir ) = p #NEWLINE# d . po_package_name = package_name #NEWLINE# for lang in languages : #NEWLINE# #INDENT# rel_src = os . path . join ( subdir , ( lang + '.gmo' ) ) #NEWLINE# src_file = os . path . join ( self . environment . get_build_dir ( ) , rel_src ) #NEWLINE# d . po . append ( ( src_file , self . environment . coredata . get_builtin_option ( 'localedir' ) , lang ) ) #NEWLINE# elem . add_dep ( rel_src )