summaryrefslogtreecommitdiffstats
path: root/translations/CMakeLists.txt
blob: 2ce6ef45427456832c9f0340e8fe596a6e2e7574 (plain)
1
2
3
4
5
6
7
8
9
# build translations if some are already available

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( )