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 /parts/tipofday | |
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 'parts/tipofday')
-rw-r--r-- | parts/tipofday/CMakeLists.txt | 8 | ||||
-rw-r--r-- | parts/tipofday/kdevtipofday.desktop | 91 |
2 files changed, 13 insertions, 86 deletions
diff --git a/parts/tipofday/CMakeLists.txt b/parts/tipofday/CMakeLists.txt index 753f65e1..87389f57 100644 --- a/parts/tipofday/CMakeLists.txt +++ b/parts/tipofday/CMakeLists.txt @@ -27,7 +27,13 @@ link_directories( ##### other data ################################ tde_install_icons( ) -install( FILES kdevtipofday.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + +tde_create_translated_desktop( + SOURCE kdevtipofday.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) + install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/kdevtipofday ) install( FILES kdevpart_tipofday.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtipofday ) diff --git a/parts/tipofday/kdevtipofday.desktop b/parts/tipofday/kdevtipofday.desktop index 45a4dd3f..6a9e658c 100644 --- a/parts/tipofday/kdevtipofday.desktop +++ b/parts/tipofday/kdevtipofday.desktop @@ -1,91 +1,12 @@ [Desktop Entry] -Type=Service -Exec=blubb -Comment=Tip of the Day -Comment[br]=Lagadenn an deiz -Comment[ca]=Consell del dia -Comment[cy]=Awgrymiad y Dydd -Comment[da]=Dagens vink -Comment[de]=Tipp des Tages -Comment[el]=Συμβουλή της ημέρας -Comment[es]=Consejo del día -Comment[et]=Päeva nõuanne -Comment[eu]=Eguneko aholkua -Comment[fa]=نکتۀ روز -Comment[fr]=Astuce du jour -Comment[ga]=Leid an Lae -Comment[gl]=Consello do día -Comment[hi]=टिप ऑफ द डे -Comment[hu]=A nap tippje -Comment[it]=Suggerimento del giorno -Comment[ja]=今日の一言 -Comment[ms]=Tip Hari Ini -Comment[nds]=Tipp för Vundaag -Comment[ne]=आजको टिप -Comment[nl]=Tip van de dag -Comment[pa]=ਅੱਜ ਦਾ ਇਸ਼ਾਰਾ -Comment[pl]=Podpowiedź dnia -Comment[pt]=Dica do Dia -Comment[pt_BR]=Dica do Dia -Comment[ru]=Полезный совет -Comment[sk]=Tip dňa -Comment[sl]=Namig dneva -Comment[sr]=Савет дана -Comment[sr@Latn]=Savet dana -Comment[sv]=Dagens tips -Comment[ta]=இந்த நாளுக்கான யோசனை -Comment[tg]=Маслиҳати фоиданок -Comment[tr]=Günün İpucu -Comment[zh_CN]=日积月累 -Comment[zh_TW]=本日小提示 Name=KDevTipOfDay -Name[da]=TDevelop Dagens vink -Name[de]="Tipp des Tages"-Modul (TDevelop) -Name[hi]=के-डेव-टिप-ऑफ-डे -Name[nds]=TDevelop-"Tipp för Vundaag" -Name[pl]=KDevPodpowiedźDnia -Name[sk]=KDev tip dňa -Name[sv]=TDevelop dagens tips -Name[ta]=KDevஇந்த நாளுக்கான யோசனை -Name[tg]=KDevЛуқмаи рӯз -Name[zh_TW]=TDevelop 本日小提示 + GenericName=Tip of the Day -GenericName[br]=Lagadenn an deiz -GenericName[ca]=Consell del dia -GenericName[cy]=Awgrymiad y Dydd -GenericName[da]=Dagens vink -GenericName[de]=Tipp des Tages -GenericName[el]=Συμβουλή της ημέρας -GenericName[es]=Consejo del día -GenericName[et]=Päeva nõuanne -GenericName[eu]=Eguneko aholkua -GenericName[fa]=نکتۀ روز -GenericName[fr]=Astuce du jour -GenericName[ga]=Leid an Lae -GenericName[gl]=Consello do día -GenericName[hi]=टिप ऑफ द डे -GenericName[hu]=A nap tippje -GenericName[it]=Suggerimento del giorno -GenericName[ja]=今日の一言 -GenericName[ms]=Tip Hari Ini -GenericName[nds]=Tipp för Vundaag -GenericName[ne]=आजको टिप -GenericName[nl]=Tip van de dag -GenericName[pa]=ਅੱਜ ਦਾ ਇਸ਼ਾਰਾ -GenericName[pl]=Podpowiedź dnia -GenericName[pt]=Dica do Dia -GenericName[pt_BR]=Dica do Dia -GenericName[ru]=Полезный совет -GenericName[sk]=Tip dňa -GenericName[sl]=Namig dneva -GenericName[sr]=Савет дана -GenericName[sr@Latn]=Savet dana -GenericName[sv]=Dagens tips -GenericName[ta]=இந்த நாளுக்கான யோசனை -GenericName[tg]=Маслиҳати фоиданок -GenericName[tr]=Günün İpucu -GenericName[zh_CN]=日积月累 -GenericName[zh_TW]=本日小提示 + +Comment=Tip of the Day + +Type=Service +Exec=blubb Icon=tdevelop X-TDE-ServiceTypes=TDevelop/Plugin X-TDE-Library=libkdevtipofday |