Create translation template.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f323cfef18
)
r14.0.x
parent
a3d3a5906d
commit
227d462421
@ -0,0 +1,23 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2018 Slávek Banko
|
||||
# slavek.banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
cmake_minimum_required( VERSION 2.8 )
|
||||
|
||||
|
||||
##### include our cmake modules #################
|
||||
|
||||
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
|
||||
include( TDEL10n )
|
||||
|
||||
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_auto_add_subdirectories( )
|
@ -0,0 +1,3 @@
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_create_template( "kdirstat" )
|
@ -1 +1,6 @@
|
||||
tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
|
||||
# build translations if some are already available
|
||||
|
||||
file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
|
||||
if( _srcs )
|
||||
tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
|
||||
endif( )
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue