summaryrefslogtreecommitdiffstats
path: root/kasteroids
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 /kasteroids
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 'kasteroids')
-rw-r--r--kasteroids/CMakeL10n.txt6
-rw-r--r--kasteroids/CMakeLists.txt5
-rw-r--r--kasteroids/kasteroids.desktop66
3 files changed, 8 insertions, 69 deletions
diff --git a/kasteroids/CMakeL10n.txt b/kasteroids/CMakeL10n.txt
index fa315682..379499b3 100644
--- a/kasteroids/CMakeL10n.txt
+++ b/kasteroids/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kasteroids" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kasteroids.desktop/"
+ SOURCES kasteroids.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kasteroids/CMakeLists.txt b/kasteroids/CMakeLists.txt
index b28f564d..4d63e1f2 100644
--- a/kasteroids/CMakeLists.txt
+++ b/kasteroids/CMakeLists.txt
@@ -32,9 +32,8 @@ tde_install_icons( kasteroids )
##### other data ################################
-install( FILES kasteroids.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+
+tde_create_translated_desktop( kasteroids.desktop )
install( FILES kasteroidsui.rc
DESTINATION ${DATA_INSTALL_DIR}/kasteroids
diff --git a/kasteroids/kasteroids.desktop b/kasteroids/kasteroids.desktop
index c10120dc..13be1143 100644
--- a/kasteroids/kasteroids.desktop
+++ b/kasteroids/kasteroids.desktop
@@ -1,74 +1,8 @@
[Desktop Entry]
Name=KAsteroids
-Name[af]=Kasteroids
-Name[ar]=لعبة الكويكبات (KAsteroids)
-Name[be]=Астэроіды
-Name[bn]=কে-অ্যাস্টেরয়েড
-Name[eo]=Asteroidoj
-Name[hi]=के-एस्टरॉइड्स
-Name[nb]=KAsteroider
-Name[ne]=केडीई एस्टेरोइड
-Name[pa]=ਕੇ-ਉਲਕਾ
-Name[pl]=Asteroidy
-Name[pt_BR]=KAsteróides
-Name[sv]=Kasteroids
-Name[ta]=கேஅஸ்டராய்ட்ஸ்
-Name[tg]=KАстероидҳо
-Name[th]=ยิงอุกาบาต - K
-Name[tr]=Göktaşları
-Name[uz]=Asteroidlar
-Name[uz@cyrillic]=Астероидлар
-Name[wa]=KAsteroyides
-Name[zh_TW]=KAsteroids 小行星
MimeType=
Exec=kasteroids %i %m -caption "%c"
GenericName=Space Game
-GenericName[be]=Касмічная гульня
-GenericName[bg]=Космическа игра
-GenericName[bn]=মহাশূন্যের খেলা
-GenericName[bs]=Svemirska igra
-GenericName[ca]=Joc de l'espai
-GenericName[cs]=Vesmírná hra
-GenericName[cy]=Gêm Ofod
-GenericName[da]=Rumspil
-GenericName[de]=Weltraumspiel
-GenericName[el]=Διαστημικό παιχνίδι
-GenericName[eo]=Kosmoludo
-GenericName[es]=Juego espacial
-GenericName[et]=Kosmoselahing
-GenericName[eu]=Espazio-jokoa
-GenericName[fa]=بازی فضایی
-GenericName[fi]=Avaruuspeli
-GenericName[fr]=Jeu dans l'espace
-GenericName[he]=משחק חלל
-GenericName[hr]=Igra u Svemiru
-GenericName[hu]=Űrhajós
-GenericName[is]=Geimleikur
-GenericName[it]=Gioco spaziale
-GenericName[ja]=宇宙ゲーム
-GenericName[km]=ល្បែង​អាវកាស
-GenericName[lt]=Kosminis žaidimas
-GenericName[lv]=Kosmiska spēle
-GenericName[mk]=Вселенска игра
-GenericName[nb]=Romspill
-GenericName[nds]=Weltruumspeel
-GenericName[ne]=खाली स्थान खेल
-GenericName[nl]=Ruimtespel
-GenericName[nn]=Romspel
-GenericName[pa]=ਪੁਲਾੜ ਖੇਡ
-GenericName[pl]=Gra kosmiczna
-GenericName[pt]=Jogo Espacial
-GenericName[pt_BR]=Jogo espacial
-GenericName[ru]=Астероиды
-GenericName[sk]=Vesmírna hra
-GenericName[sl]=Vesoljska igra
-GenericName[sr]=Свемирска игра
-GenericName[sr@Latn]=Svemirska igra
-GenericName[sv]=Rymdspel
-GenericName[ta]=விண்வெளி விளையாட்டு
-GenericName[uk]=Космічна гра
-GenericName[zh_CN]=空间游戏
-GenericName[zh_TW]=太空遊戲
Icon=kasteroids
Path=
X-DocPath=kasteroids/index.html