diff options
Diffstat (limited to 'kspread')
-rw-r--r-- | kspread/CMakeL10n.txt | 29 | ||||
-rw-r--r-- | kspread/plugins/CMakeL10n.txt | 3 | ||||
-rw-r--r-- | kspread/plugins/calculator/CMakeL10n.txt | 3 | ||||
-rw-r--r-- | kspread/plugins/insertcalendar/CMakeL10n.txt | 3 |
4 files changed, 38 insertions, 0 deletions
diff --git a/kspread/CMakeL10n.txt b/kspread/CMakeL10n.txt new file mode 100644 index 00000000..c53d930f --- /dev/null +++ b/kspread/CMakeL10n.txt @@ -0,0 +1,29 @@ +##### prepare strings from data files ########### + +file( GLOB_RECURSE _kspread_data_files + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/extensions/*.xml +) +list( SORT _kspread_data_files ) +unset( _kspread_data_l10n ) +foreach( _kspread_file ${_kspread_data_files} ) + tde_l10n_prepare_xml( + SOURCE ${_kspread_file} + TAGS "Example" "GroupName" "Text" "Comment" "Syntax" "TypeName" + ) + list( APPEND _kspread_data_l10n "${_kspread_file}.tde_l10n" ) +endforeach( ) + + +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kspread" + SOURCES + "." + ${_kspread_data_l10n} + EXCLUDES + "^plugins/" +) + +tde_l10n_auto_add_subdirectories( ) diff --git a/kspread/plugins/CMakeL10n.txt b/kspread/plugins/CMakeL10n.txt new file mode 100644 index 00000000..b585ce4a --- /dev/null +++ b/kspread/plugins/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/kspread/plugins/calculator/CMakeL10n.txt b/kspread/plugins/calculator/CMakeL10n.txt new file mode 100644 index 00000000..d93fae61 --- /dev/null +++ b/kspread/plugins/calculator/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kspreadcalc_calc" ) diff --git a/kspread/plugins/insertcalendar/CMakeL10n.txt b/kspread/plugins/insertcalendar/CMakeL10n.txt new file mode 100644 index 00000000..a906118b --- /dev/null +++ b/kspread/plugins/insertcalendar/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kspreadinsertcalendar" ) |