summaryrefslogtreecommitdiffstats
path: root/po/CMakeLists.txt
blob: c7308e2e885c0763e3f2000cd4bfaba42df8b2e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

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