summaryrefslogtreecommitdiffstats
path: root/kvoctrain
diff options
context:
space:
mode:
Diffstat (limited to 'kvoctrain')
-rw-r--r--kvoctrain/kvoctrain/CMakeL10n.txt6
-rw-r--r--kvoctrain/kvoctrain/CMakeLists.txt11
-rw-r--r--kvoctrain/kvoctrain/kvoctrain.desktop70
-rw-r--r--kvoctrain/kvoctrain/x-kvtml.desktop60
4 files changed, 12 insertions, 135 deletions
diff --git a/kvoctrain/kvoctrain/CMakeL10n.txt b/kvoctrain/kvoctrain/CMakeL10n.txt
index ec9205db..f0358e4e 100644
--- a/kvoctrain/kvoctrain/CMakeL10n.txt
+++ b/kvoctrain/kvoctrain/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kvoctrain" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kvoctrain-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kvoctrain/kvoctrain/CMakeLists.txt b/kvoctrain/kvoctrain/CMakeLists.txt
index 46b4f2cb..e44da25c 100644
--- a/kvoctrain/kvoctrain/CMakeLists.txt
+++ b/kvoctrain/kvoctrain/CMakeLists.txt
@@ -84,9 +84,10 @@ tde_add_executable( spotlight2kvtml AUTOMOC
##### other data
-install(
- FILES x-kvtml.desktop
+tde_create_translated_desktop(
+ SOURCE x-kvtml.desktop
DESTINATION ${MIME_INSTALL_DIR}/text
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kvoctrain-desktops
)
install(
@@ -94,9 +95,9 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/kvoctrain
)
-install(
- FILES kvoctrain.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE kvoctrain.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kvoctrain-desktops
)
install(
diff --git a/kvoctrain/kvoctrain/kvoctrain.desktop b/kvoctrain/kvoctrain/kvoctrain.desktop
index a5e662ff..51d04c8f 100644
--- a/kvoctrain/kvoctrain/kvoctrain.desktop
+++ b/kvoctrain/kvoctrain/kvoctrain.desktop
@@ -1,76 +1,6 @@
[Desktop Entry]
GenericName=Vocabulary Trainer
-GenericName[af]=Woordeskat-afrigter
-GenericName[ar]=مدرب الكلمات
-GenericName[be]=Пашырэнне слоўнікавага запасу
-GenericName[bg]=Речникови тренировки
-GenericName[bn]=শব্দভাণ্ডার সমৃদ্ধকারী
-GenericName[bs]=Učitelj rječnika
-GenericName[ca]=Entrenador de vocabulari
-GenericName[cs]=Procvičování slovní zásoby
-GenericName[csb]=Trener słowiznë
-GenericName[cy]=Hyfforddwr Geirfa
-GenericName[da]=Ordforrådsøvelser
-GenericName[de]=Vokabeltrainer
-GenericName[el]=Εκπαιδευτής λεξιλογίου
-GenericName[eo]=Vortara trejnado
-GenericName[es]=Entrenador de vocabulario
-GenericName[et]=Sõnavara treening
-GenericName[eu]=Hiztegi entrenatzailea
-GenericName[fa]=مربی واژه‌ها
-GenericName[fi]=Sanaston harjoittaja
-GenericName[fr]=Tester son vocabulaire
-GenericName[gl]=Entrenador de Vocabulario
-GenericName[he]=מאמן אוצר מילים
-GenericName[hi]=शब्दावली प्रशिक्षक
-GenericName[hr]=Vježbanje vokabulara
-GenericName[hu]=Szótárfüzet
-GenericName[is]=Æfir orðaforða
-GenericName[it]=Apprendimento di vocaboli
-GenericName[ja]=ボキャブラリの強化
-GenericName[ka]=სიტყვათა მარაგის შემოწმება
-GenericName[km]=កម្មវិធី​បង្ហាត់​វាក្យសព្ទ
-GenericName[lt]=Žodyno treniruoklis
-GenericName[lv]=Mācību Vārdnīca
-GenericName[mk]=Тренер за речник
-GenericName[mn]=Эгшигийн дасгал
-GenericName[ms]=Jurulatih Perbendaharaan Kata
-GenericName[nb]=Glosetrening
-GenericName[nds]=Vokaveln lehren
-GenericName[ne]=शब्दकोश प्रशिक्षक
-GenericName[nl]=Woordenschattrainer
-GenericName[nn]=Glosetrening
-GenericName[nso]=Morutisi wa Tsebo ya Mantsu
-GenericName[pl]=Trening słownictwa
-GenericName[pt]=Treinar o Vocabulário
-GenericName[pt_BR]=Treinador de vocabulário
-GenericName[ru]=Тренировка словарного запаса
-GenericName[se]=Sátnehárjeheapmi
-GenericName[sk]=Tréning slovnej zásoby
-GenericName[sl]=Učitelj besednega zaklada
-GenericName[sr]=Тренер речника
-GenericName[sr@Latn]=Trener rečnika
-GenericName[sv]=Ordförrådsträning
-GenericName[ta]=சொல்லாக்க பயிற்சியாளர்
-GenericName[tg]=Машқи Луғат
-GenericName[uk]=Тренування словникового запасу
-GenericName[ven]=Mugudisi wa ndivho
-GenericName[vi]=Luyện tập Từ vựng
-GenericName[xh]=Uqeqeshi Wonobumba ababekwe ngokulandelelana
-GenericName[zh_CN]=单词练习
-GenericName[zh_TW]=字彙訓練師
-GenericName[zu]=Umlolongi Wokusetshenziswa kwamagama
Name=KVocTrain
-Name[af]=K-woord-leerder
-Name[ar]=معلم الكلمات ك
-Name[bn]=কে-ভকট্রেন
-Name[hi]=के-वॉक-ट्रेन
-Name[mn]=KЭгшигийн дасгал
-Name[sv]=Kvoctrain
-Name[ta]=கேவிஒசி பயிற்சி
-Name[ven]=U gudiswa ha K
-Name[vi]=Tập Từ vựng K
-Name[zu]=KVocIsitimela
MimeType=application/x-kvoctrain;text/x-kvtml;
Exec=kvoctrain
Icon=kvoctrain
diff --git a/kvoctrain/kvoctrain/x-kvtml.desktop b/kvoctrain/kvoctrain/x-kvtml.desktop
index f446947d..89350304 100644
--- a/kvoctrain/kvoctrain/x-kvtml.desktop
+++ b/kvoctrain/kvoctrain/x-kvtml.desktop
@@ -1,65 +1,5 @@
[Desktop Entry]
Comment=Vocabulary Trainer Document
-Comment[af]=Woordeskat-afrigter Dokument
-Comment[ar]=مستند معلم الكلمات
-Comment[be]=Дакумент слоўнікавага запасу
-Comment[bg]=Документ с речникови тренировки
-Comment[bn]=শব্দভাণ্ডার সমৃদ্ধকারী ডকুমেন্ট
-Comment[bs]=Vocabulary Trainer dokument
-Comment[ca]=Document de l'entrenador de vocabulari
-Comment[cs]=Dokument pro procvičování slovní zásoby
-Comment[csb]=Dokùment trenera słowiznë
-Comment[cy]=Dogfen Hyfforddwr Geirfa
-Comment[da]=Dokument til ordforrådsøvelser
-Comment[de]=Dokument für den Vokabeltrainer
-Comment[el]=Έγγραφο εκπαιδευτή λεξιλογίου
-Comment[eo]=Vorproviza trejnada dokumento
-Comment[es]=Documento de entrenador de vocabulario
-Comment[et]=Sõnavara treenija dokument
-Comment[eu]=Hiztegi entrenatzaile dokumentua
-Comment[fa]=سند مربی واژه‌ها
-Comment[fi]=Sanastoharjoitusasiakirja
-Comment[fr]=Document de test de vocabulaire
-Comment[gl]=Documento de KVocTrain
-Comment[he]=מסמך מאמן אוצר מילים
-Comment[hi]=शब्दावली प्रशिक्षक दस्तावेज़
-Comment[hr]=Dokument za vježbanje vokabulara
-Comment[hu]=KVocTrain-dokumentum
-Comment[is]=Orðaforða skjal
-Comment[it]=Documento KVocTrain
-Comment[ja]=ボキャブラリ強化のドキュメント
-Comment[ka]=სიტყვათა მარაგის დოკუმენტი
-Comment[km]=ឯកសារ​កម្មវិធី​បង្ហាត់​វាក្យសព្ទ
-Comment[lt]=Žodyno treniruoklio dokumentas
-Comment[lv]=Mācību Vārdnīcas Dokuments
-Comment[mk]=Документ на тренерот за речник
-Comment[mn]=KЭгшигийн дасгалын баримт бичгүүд
-Comment[ms]=Dokumen Jurulatih Perbendaharaan Kata
-Comment[nb]=Glosetreningsdokument
-Comment[nds]=Dokment för't Vokavel-Lehren
-Comment[ne]=शब्दकोश प्रशिक्षक कागजात
-Comment[nl]=Vocabulary Trainer-document
-Comment[nn]=Glosetreningsdokument
-Comment[nso]=Tokomane ya Morutisi wa Tsebo ya Mantsu
-Comment[pl]=Dokument treningu słownictwa
-Comment[pt]=Documento do Treinador de Vocabulário
-Comment[pt_BR]=Documento do treinador de vocabulário
-Comment[ru]=Тренировка словарного запаса
-Comment[se]=Sátnehárjehallan-dokumeanta
-Comment[sk]=Dokument KVocTrain
-Comment[sl]=Dokument za KVocTrain
-Comment[sr]=Документ тренера речника
-Comment[sr@Latn]=Dokument trenera rečnika
-Comment[sv]=Ordförrådsdokument
-Comment[ta]=சொல்லாக்க பயிற்சியாளர் ஆவணம்
-Comment[tg]=Ҳуҷҷати Машқи Луғат
-Comment[tr]=Sözlük Eğitmen Belgesi
-Comment[uk]=Документ тренування словникового запасу
-Comment[ven]=Manwalwa a mugudisi wa ndivho
-Comment[vi]=Tài liệu Luyện tập Từ vựng
-Comment[zh_CN]=单词练习文档
-Comment[zh_TW]=字彙訓練師文件
-Comment[zu]=Idokhumenti Yomlolongi Wokusetshenziswa kwamagama
MimeType=text/x-kvtml;
DefaultApp=kvoctrain
Icon=kvoctrain.xpm