diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-29 22:43:34 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-30 16:00:07 +0200 |
commit | fe44776673b28ca94338f23d8e7ac71593fa88ba (patch) | |
tree | b900146c853acbd44900bfb77a35a1af3c77aa5d /src/profiles/IDE/ScriptingLanguageIDE | |
parent | c0b663c4c873df495743600b8f703744420eddfa (diff) | |
download | tdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.tar.gz tdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.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 <slavek.banko@axis.cz>
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 +) |