diff options
author | Slávek Banko <[email protected]> | 2020-07-29 22:43:34 +0200 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-08-01 17:56:29 +0900 |
commit | 96fa25303818e6107b72ba624659004751d45ad1 (patch) | |
tree | 89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /src/profiles/IDE/ScriptingLanguageIDE | |
parent | 3248c8c2f99f71bb2ca5972828754fdabacd7c90 (diff) | |
download | tdevelop-96fa25303818e6107b72ba624659004751d45ad1.tar.gz tdevelop-96fa25303818e6107b72ba624659004751d45ad1.zip |
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit fe44776673b28ca94338f23d8e7ac71593fa88ba)
Diffstat (limited to 'src/profiles/IDE/ScriptingLanguageIDE')
6 files changed, 30 insertions, 18 deletions
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt index 9ef55326..bd79f289 100644 --- a/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt +++ b/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt @@ -15,6 +15,8 @@ add_subdirectory( PHPIDE ) add_subdirectory( PythonIDE ) add_subdirectory( ShellIDE ) -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt index 98cf1375..cbddbf54 100644 --- a/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt +++ b/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PHPIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PHPIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt index 1b4e7733..1fa9a331 100644 --- a/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt +++ b/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PerlIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PerlIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt index 27930052..44b7d406 100644 --- a/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt +++ b/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PythonIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/PythonIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt index 6bfeeeae..6c10d581 100644 --- a/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt +++ b/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/RubyIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/RubyIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt index ec21b7e9..93bdc951 100644 --- a/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt +++ b/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/ShellIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/ScriptingLanguageIDE/ShellIDE + PO_DIR tdevelop-desktops +) |