summaryrefslogtreecommitdiffstats
path: root/konsolekalendar
diff options
context:
space:
mode:
Diffstat (limited to 'konsolekalendar')
-rw-r--r--konsolekalendar/CMakeL10n.txt6
-rw-r--r--konsolekalendar/CMakeLists.txt2
-rw-r--r--konsolekalendar/konsolekalendar.desktop21
3 files changed, 8 insertions, 21 deletions
diff --git a/konsolekalendar/CMakeL10n.txt b/konsolekalendar/CMakeL10n.txt
index 0edda3726..da5b28282 100644
--- a/konsolekalendar/CMakeL10n.txt
+++ b/konsolekalendar/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "konsolekalendar" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/konsolekalendar.desktop/"
+ SOURCES konsolekalendar.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/konsolekalendar/CMakeLists.txt b/konsolekalendar/CMakeLists.txt
index 8738d401a..d2952ba11 100644
--- a/konsolekalendar/CMakeLists.txt
+++ b/konsolekalendar/CMakeLists.txt
@@ -32,7 +32,7 @@ link_directories(
##### other data ################################
-install( FILES konsolekalendar.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop( konsolekalendar.desktop )
##### helper ####################################
diff --git a/konsolekalendar/konsolekalendar.desktop b/konsolekalendar/konsolekalendar.desktop
index 179fd81bb..a13e1ace1 100644
--- a/konsolekalendar/konsolekalendar.desktop
+++ b/konsolekalendar/konsolekalendar.desktop
@@ -1,25 +1,6 @@
[Desktop Entry]
Name=KonsoleKalendar
-Name[af]=Konsole Kalender
-Name[cs]=Konzolový kalendář
-Name[de]=Konsolen-Kalender
-Name[eo]=KonzolKalendaro
-Name[fy]=Konsole-aginda
-Name[hi]=कंसोल-कैलेंडर
-Name[hu]=Konsole-naptár
-Name[ja]=コンソールカレンダー
-Name[mk]=КонзоленКалендар
-Name[ms]=Kalendar Konsole
-Name[nb]=KonsoleKalender
-Name[nds]=Konsole-Kalenner
-Name[ne]=कन्सोल क्यालेन्डर
-Name[nl]=Konsole-agenda
-Name[nn]=KonsoleKalender
-Name[ro]=Calendar de consolă
-Name[sr]=Конзолни календар
-Name[sr@Latn]=Konzolni kalendar
-Name[ta]=கான்சோல் நாள்காட்டி
-Name[uk]=Календар для консолі
+
Exec=kdialog --sorry "konsolekalendar is a command-line only program. Please read the handbook at help:/konsolekalendar for more info."
Icon=konsolekalendar
Type=Application