diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-29 22:43:34 +0200 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-08-01 17:56:29 +0900 |
commit | 96fa25303818e6107b72ba624659004751d45ad1 (patch) | |
tree | 89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /src/profiles/IDE/CompiledLanguageIDE | |
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 <slavek.banko@axis.cz>
(cherry picked from commit fe44776673b28ca94338f23d8e7ac71593fa88ba)
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 +) |