diff options
author | Slávek Banko <[email protected]> | 2020-07-29 22:43:34 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-30 16:00:07 +0200 |
commit | fe44776673b28ca94338f23d8e7ac71593fa88ba (patch) | |
tree | b900146c853acbd44900bfb77a35a1af3c77aa5d /buildtools/custommakefiles | |
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 <[email protected]>
Diffstat (limited to 'buildtools/custommakefiles')
-rw-r--r-- | buildtools/custommakefiles/CMakeLists.txt | 7 | ||||
-rw-r--r-- | buildtools/custommakefiles/kdevcustomproject.desktop | 90 |
2 files changed, 12 insertions, 85 deletions
diff --git a/buildtools/custommakefiles/CMakeLists.txt b/buildtools/custommakefiles/CMakeLists.txt index 55036324..8d477200 100644 --- a/buildtools/custommakefiles/CMakeLists.txt +++ b/buildtools/custommakefiles/CMakeLists.txt @@ -30,7 +30,12 @@ link_directories( ##### other data ################################ -install( FILES kdevcustomproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kdevcustomproject.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) + install( FILES kdevcustomproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevcustomproject ) diff --git a/buildtools/custommakefiles/kdevcustomproject.desktop b/buildtools/custommakefiles/kdevcustomproject.desktop index 90cdac04..0540feae 100644 --- a/buildtools/custommakefiles/kdevcustomproject.desktop +++ b/buildtools/custommakefiles/kdevcustomproject.desktop @@ -1,90 +1,12 @@ [Desktop Entry] -Type=Service -Exec=blubb -Comment=Custom Project -Comment[br]=Raktres diouzhoc'h -Comment[ca]=Projecte a mida -Comment[cs]=Vlastní projekt -Comment[da]=Brugerdefineret projekt -Comment[de]=Benutzerdefiniertes Projekt für TDevelop -Comment[el]=Προσαρμοσμένo έργο -Comment[es]=Proyecto personalizado -Comment[et]=Kohandatav projekt -Comment[eu]=Proiektu pertsonalizatua -Comment[fa]=پروژۀ سفارشی -Comment[fr]=Projet personnalisé -Comment[ga]=Tionscadal Saincheaptha -Comment[gl]=Proxecto persoalizado -Comment[hi]=कस्टम परियोजना -Comment[hu]=Egyedi projekt -Comment[is]=Sérsniðið verkefni -Comment[it]=Progetto personalizzato -Comment[ja]=カスタムプロジェクト -Comment[ms]=Projek Tersendiri -Comment[nds]=Egen Projekt -Comment[ne]=अनुकूल परियोजना -Comment[nl]=Aangepast project -Comment[pl]=Własny projekt -Comment[pt]=Projecto Personalizado -Comment[pt_BR]=Projeto Personalizado -Comment[ru]=Особый проект -Comment[sk]=Vlastný projekt -Comment[sl]=Poljuben projekt -Comment[sr]=Произвољан пројекат -Comment[sr@Latn]=Proizvoljan projekat -Comment[sv]=Eget projekt -Comment[ta]=தனிப்பயன் பிராஜக்ட் -Comment[tg]=Лоиҳаи оддӣ -Comment[tr]=Özel Proje -Comment[zh_CN]=自定义工程 -Comment[zh_TW]=自訂專案 Name=KDevCustomProject -Name[da]=TDevelop brugerdefineret projekt -Name[de]=Benutzerdefiniertes Projekt (TDevelop) -Name[hi]=के-डेव-कस्टम-परियोजना -Name[nds]=Egen Projekt (TDevelop) -Name[ne]=केडीई विकास अनुकूल परियोजना -Name[pl]=KDevWłasnyProjekt -Name[sk]=KDevVlastnýProjekt -Name[sv]=TDevelop eget projekt -Name[ta]=கெடெவ் தனிப்பயன் பிராஜக்ட் -Name[tg]=Лоиҳаи оддӣKDev -Name[zh_TW]=TDevelop 自訂專案 + GenericName=Custom Project -GenericName[br]=Raktres diouzhoc'h -GenericName[ca]=Projecte a mida -GenericName[da]=Brugerdefineret projekt -GenericName[de]=Benutzerdefiniertes Projekt -GenericName[el]=Προσαρμοσμένο έργο -GenericName[es]=Proyecto personalizado -GenericName[et]=Kohandatav projekt -GenericName[eu]=Proiektu pertsonalizatua -GenericName[fa]=پروژۀ سفارشی -GenericName[fr]=Projet personnalisé -GenericName[ga]=Tionscadal Saincheaptha -GenericName[gl]=Proxecto persoalizado -GenericName[hi]=कस्टम परियोजना -GenericName[hu]=Egyedi projekt -GenericName[it]=Progetto personalizzato -GenericName[ja]=カスタムプロジェクト -GenericName[ms]=Projek Tersendiri -GenericName[nds]=Egen Projekt -GenericName[ne]=अनुकूल परियोजना -GenericName[nl]=Aangepast project -GenericName[pl]=Projekt: własny -GenericName[pt]=Projecto Personalizado -GenericName[pt_BR]=Projeto Personalizado -GenericName[ru]=Особый проект -GenericName[sk]=Vlastný projekt -GenericName[sl]=Poljuben projekt -GenericName[sr]=Произвољан пројекат -GenericName[sr@Latn]=Proizvoljan projekat -GenericName[sv]=Eget projekt -GenericName[ta]=தனிப்பயன் பிராஜக்ட் -GenericName[tg]=Лоиҳаи оддӣ -GenericName[tr]=Özel Proje -GenericName[zh_CN]=自定义工程 -GenericName[zh_TW]=自訂專案 + +Comment=Custom Project + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/Project X-TDE-Library=libkdevcustomproject X-TDevelop-Version=5 |