diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-16 18:30:12 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-17 02:50:29 +0200 |
commit | 7fa2dd79a4f7711a65b45724448c1529dfb94e9f (patch) | |
tree | 0192394f73f297cd56aa972df31bf8bfc07a71d3 /kompare/komparenavtreepart | |
parent | 29e1ae5e34974950ff7965b1522db70b4ff273dc (diff) | |
download | tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.tar.gz tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.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 'kompare/komparenavtreepart')
-rw-r--r-- | kompare/komparenavtreepart/CMakeLists.txt | 7 | ||||
-rw-r--r-- | kompare/komparenavtreepart/komparenavtreepart.desktop | 5 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kompare/komparenavtreepart/CMakeLists.txt b/kompare/komparenavtreepart/CMakeLists.txt index 732d27d5..44f32ece 100644 --- a/kompare/komparenavtreepart/CMakeLists.txt +++ b/kompare/komparenavtreepart/CMakeLists.txt @@ -23,8 +23,11 @@ link_directories( ##### other data ################################ -install( FILES komparenavtreepart.desktop - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE komparenavtreepart.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kompare-desktops +) ##### libkomparenavtreepart (module) ############ diff --git a/kompare/komparenavtreepart/komparenavtreepart.desktop b/kompare/komparenavtreepart/komparenavtreepart.desktop index 5f0b6bc1..5ac03783 100644 --- a/kompare/komparenavtreepart/komparenavtreepart.desktop +++ b/kompare/komparenavtreepart/komparenavtreepart.desktop @@ -1,9 +1,6 @@ [Desktop Entry] Name=KompareNavTreePart -Name[pl]=Komponent drzewa nawigacyjnego Kompare -Name[pt_BR]=Componente da árvore do Kompare -Name[sv]=Kompare-navigeringsträdsdel -Name[ta]=கோம்பெர் மரம் பாகம் + MimeType=text/x-diff X-TDE-ServiceTypes=Kompare/NavigationPart X-TDE-Library=libkomparenavtreepart |