summaryrefslogtreecommitdiffstats
path: root/po/CMakeLists.txt
blob: dd31c6728f17bb333f8d4113ddb046e49571b9a1 (plain)
1
2
3
4
5
6
7
file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )

foreach( _po ${po_files} )
  string( REPLACE "/" ";" _path "${_po}" )
  list( GET _path 0 _lang )
  tde_create_translation( FILES ${_po} LANG ${_lang} )
endforeach( )