summaryrefslogtreecommitdiffstats
path: root/lib/tdeio-msits
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdeio-msits')
-rw-r--r--lib/tdeio-msits/CMakeL10n.txt6
-rw-r--r--lib/tdeio-msits/CMakeLists.txt9
-rw-r--r--lib/tdeio-msits/Makefile.am14
-rw-r--r--lib/tdeio-msits/msits.protocol14
4 files changed, 9 insertions, 34 deletions
diff --git a/lib/tdeio-msits/CMakeL10n.txt b/lib/tdeio-msits/CMakeL10n.txt
new file mode 100644
index 0000000..81e35fd
--- /dev/null
+++ b/lib/tdeio-msits/CMakeL10n.txt
@@ -0,0 +1,6 @@
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kchmviewer-desktops"
+ SOURCES *.desktop *.protocol
+)
diff --git a/lib/tdeio-msits/CMakeLists.txt b/lib/tdeio-msits/CMakeLists.txt
index 3f61de2..d0ab1ae 100644
--- a/lib/tdeio-msits/CMakeLists.txt
+++ b/lib/tdeio-msits/CMakeLists.txt
@@ -31,12 +31,9 @@ tde_add_kpart( tdeio_msits
##### other data
-install(
- FILES msits.protocol
+tde_create_translated_desktop(
+ SOURCE msits.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
)
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
diff --git a/lib/tdeio-msits/Makefile.am b/lib/tdeio-msits/Makefile.am
deleted file mode 100644
index 93a8f89..0000000
--- a/lib/tdeio-msits/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-METASOURCES = AUTO
-INCLUDES = $(TQT_INCLUDES) $(CHM_INCLUDES) $(KDE_INCLUDES) $(LIBCHMFILE_INCLUDES)
-
-kde_module_LTLIBRARIES = tdeio_msits.la
-
-tdeio_msits_la_SOURCES = msits.cpp
-tdeio_msits_la_LIBADD = -ltdeio $(CHM_LIBS)
-tdeio_msits_la_LDFLAGS = -module -avoid-version $(KDE_LDFLAGS) $(LIB_TQT) $(LIB_TDEIO) $(LIB_TDECORE) $(KDE_PLUGIN) $(QT_LDFLAGS)
-
-protocol_DATA = msits.protocol
-protocoldir = $(kde_servicesdir)
-
-# Put it here to avoid creating another directory
-kde_apps_DATA = kchmviewer.desktop
diff --git a/lib/tdeio-msits/msits.protocol b/lib/tdeio-msits/msits.protocol
index 835e935..e58ed02 100644
--- a/lib/tdeio-msits/msits.protocol
+++ b/lib/tdeio-msits/msits.protocol
@@ -7,19 +7,5 @@ reading=true
listing=Name,Type,Size
defaultMimetype=text/html
Description=A tdeioslave for displaying WinHelp files
-Description[da]=En tdeioslave til visning af Windows hjælpefiler
-Description[de]=Ein Ein-/Ausgabemodul zur Anzeige von WinHelp-Dateien
-Description[es]=Un tdeioslave para mostrar archivos WinHelp
-Description[et]=WinHelp-failide kuvamise IO-moodul
-Description[fr]=Un module d'entrée / sortie pour l'affichage des fichiers WinHelp
-Description[hu]=TDE-protokoll WinHelp-fájlok megjelenítéséhez
-Description[it]=Un tdeioslave per mostrare i file WinHelp
-Description[nl]=Een tdeioslave voor het weergeven van WinHelp-bestanden
-Description[pl]=tdeioslave do pokazywania plików WinHelp
-Description[pt]=A 'tdeioslave' para mostrar ficheiros WinHelp
-Description[pt_BR]=Um tdeioslave para exibir arquivos WinHelp
-Description[ru]=Обработчик ввода-вывода для файлов WinHelp
-Description[sv]=En I/O-slav för att visa WinHelp-filer
-Description[xx]=xxA tdeioslave for displaying WinHelp filesxx
Icon=help
X-DocPath=tdeioslave/msits/index.html