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

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