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/CompiledLanguageIDE | |
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/CompiledLanguageIDE')
10 files changed, 50 insertions, 30 deletions
diff --git a/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt index d7c38929..01e77a32 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/AdaIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/AdaIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt index e681daaf..cfbe15fa 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt @@ -16,6 +16,8 @@ add_subdirectory( FortranIDE ) add_subdirectory( HaskellIDE ) add_subdirectory( PascalIDE ) -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt index 9fedc767..4186dee7 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt index 21eee3b2..62a1afb6 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt @@ -12,6 +12,8 @@ add_subdirectory( CIDE ) add_subdirectory( CppIDE ) -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt index 20e256e4..1b415dd6 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt @@ -11,6 +11,8 @@ add_subdirectory( KDECppIDE ) -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt index c87e4747..9aa7d82b 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt index a3a56986..f059d070 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/FortranIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/FortranIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt index e9b3e62e..12ab4d50 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/HaskellIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/HaskellIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt index 726990ec..b8a2e403 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/JavaIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/JavaIDE + PO_DIR tdevelop-desktops +) diff --git a/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt index 5b3a61c0..8f8c9dfb 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# -install( FILES - profile.config - DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/PascalIDE ) +tde_create_translated_desktop( + SOURCE profile.config + DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/PascalIDE + PO_DIR tdevelop-desktops +) |