summaryrefslogtreecommitdiffstats
path: root/kspaceduel
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-10 21:25:06 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-12 14:19:33 +0200
commita25cdc59c6302046b3121276f5a33f6b1b55a538 (patch)
tree5c41c38d0c81e99bfe2d3a8564af42cc2d92941f /kspaceduel
parentdc556f3e9a46e749b36cf773f9211db4ce58d96b (diff)
downloadtdegames-a25cdc59c6302046b3121276f5a33f6b1b55a538.tar.gz
tdegames-a25cdc59c6302046b3121276f5a33f6b1b55a538.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>
Diffstat (limited to 'kspaceduel')
-rw-r--r--kspaceduel/CMakeL10n.txt6
-rw-r--r--kspaceduel/CMakeLists.txt4
-rw-r--r--kspaceduel/kspaceduel.desktop63
3 files changed, 7 insertions, 66 deletions
diff --git a/kspaceduel/CMakeL10n.txt b/kspaceduel/CMakeL10n.txt
index dd86c871..d9382d20 100644
--- a/kspaceduel/CMakeL10n.txt
+++ b/kspaceduel/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kspaceduel" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kspaceduel.desktop/"
+ SOURCES kspaceduel.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kspaceduel/CMakeLists.txt b/kspaceduel/CMakeLists.txt
index 8775757f..3593a4ff 100644
--- a/kspaceduel/CMakeLists.txt
+++ b/kspaceduel/CMakeLists.txt
@@ -34,9 +34,7 @@ tde_install_icons( kspaceduel )
##### other data ################################
-install( FILES kspaceduel.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( kspaceduel.desktop )
install( FILES kspaceduelui.rc
DESTINATION ${DATA_INSTALL_DIR}/kspaceduel
diff --git a/kspaceduel/kspaceduel.desktop b/kspaceduel/kspaceduel.desktop
index f8d52f0e..0151ad56 100644
--- a/kspaceduel/kspaceduel.desktop
+++ b/kspaceduel/kspaceduel.desktop
@@ -1,71 +1,8 @@
[Desktop Entry]
Name=KSpaceDuel
-Name[af]=K-ruimte-uitdaging
-Name[ar]=لعبة مبارزة الفضاء (KSpaceDuel)
-Name[be]=Касмічная дуэль
-Name[bn]=কে-স্পেসডুয়েল
-Name[hi]=के-स्पेसड्यूएल
-Name[hr]=KSvemirski dvoboj
-Name[hu]=Űrpárbaj
-Name[is]=Geimeinvígi
-Name[nb]=Rom-duell
-Name[ne]=केडीई स्पेस ड्युल
-Name[nn]=Romduell
-Name[ro]=Duel spaţial
-Name[sv]=Kspaceduel
-Name[ta]=Kஸ்பேஸ்டுயல்
-Name[tg]=KМуҳорибаи Кайҳонӣ
-Name[tr]=Uzay Düellosu
-Name[zh_TW]=KSpaceDuel 決戰星空
-Name[zu]=I-KSpaceDuel
MimeType=
Exec=kspaceduel %i %m -caption "%c"
GenericName=Space Arcade Game
-GenericName[be]=Касмічная аркадная гульня
-GenericName[bg]=Космическа игра
-GenericName[bn]=মহাশূন্য নিয়ে একটি আর্কেড (Arcade) খেলা
-GenericName[bs]=Svemirska arkadna igra
-GenericName[ca]=Joc arcade d'espai
-GenericName[cs]=Vesmírná arkádová hra
-GenericName[cy]=Gêm Arcêd Ofod
-GenericName[da]=Rum arkadespil
-GenericName[de]=Weltraum Arkade-Spiel
-GenericName[el]=Διαστημικό Arcade παιχνίδι
-GenericName[eo]=Kosma arkadoludo
-GenericName[es]=Juego recreativo espacial
-GenericName[et]=Põnevusmäng kosmoses
-GenericName[eu]=Espazioko arcade jokoa
-GenericName[fa]=بازی گذرگاه فضایی
-GenericName[fi]=Arcade-peli
-GenericName[fr]=Jeu d'arcade dans l'espace
-GenericName[he]=משחק ארקייד חללי
-GenericName[hr]=Arkadna igra u Svemiru
-GenericName[hu]=Lövöldözős
-GenericName[is]=Skotgeimleikur
-GenericName[it]=Gioco arcade nello spazio
-GenericName[ja]=宇宙アーケードゲーム
-GenericName[km]=ល្បែង​ទូ​លំហ
-GenericName[ko]=우주 아케이드 게임
-GenericName[lv]=Kosmiskā dueļa spēle
-GenericName[mk]=Вселенска аркадна игра
-GenericName[nb]=Arkade-romspill
-GenericName[nds]=Speelhall-Weltruumspeel
-GenericName[ne]=स्पेस आर्केड खेल
-GenericName[nl]=Ruimte-arcadespel
-GenericName[nn]=Arkade-romspel
-GenericName[pl]=Kosmiczna gra zręcznościowa
-GenericName[pt]=Jogo de Arcada Espacial
-GenericName[pt_BR]=Jogo de Arcade espacial
-GenericName[ru]=Космическая дуэль
-GenericName[sk]=Vesmírna dobrodružná hra
-GenericName[sl]=Vesoljska arkadna igra
-GenericName[sr]=Свемирска аркадна игра
-GenericName[sr@Latn]=Svemirska arkadna igra
-GenericName[sv]=Rymdarkadspel
-GenericName[ta]=விண்வெளி ஆர்கேட் விளையாட்டு
-GenericName[uk]=Космічна аркадна гра - дуель
-GenericName[wa]=Djeu d' årcåde di l' espåce
-GenericName[zh_TW]=大型遊戲機遊戲
Icon=kspaceduel
Path=
X-DocPath=kspaceduel/index.html