summaryrefslogtreecommitdiffstats
path: root/ktron
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-10 21:25:06 +0200
committerSlávek Banko <[email protected]>2020-06-12 14:19:33 +0200
commita25cdc59c6302046b3121276f5a33f6b1b55a538 (patch)
tree5c41c38d0c81e99bfe2d3a8564af42cc2d92941f /ktron
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 <[email protected]>
Diffstat (limited to 'ktron')
-rw-r--r--ktron/CMakeL10n.txt6
-rw-r--r--ktron/CMakeLists.txt4
-rw-r--r--ktron/ktron.desktop57
3 files changed, 8 insertions, 59 deletions
diff --git a/ktron/CMakeL10n.txt b/ktron/CMakeL10n.txt
index ffc43ca7..8386f395 100644
--- a/ktron/CMakeL10n.txt
+++ b/ktron/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "ktron" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/ktron.desktop/"
+ SOURCES ktron.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/ktron/CMakeLists.txt b/ktron/CMakeLists.txt
index e5ea84e2..60ff826a 100644
--- a/ktron/CMakeLists.txt
+++ b/ktron/CMakeLists.txt
@@ -28,9 +28,7 @@ tde_add_executable( ktron AUTOMOC
##### other data ################################
-install( FILES ktron.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ktron.desktop )
install( FILES ktron.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
diff --git a/ktron/ktron.desktop b/ktron/ktron.desktop
index 46ebb314..ac006744 100644
--- a/ktron/ktron.desktop
+++ b/ktron/ktron.desktop
@@ -3,64 +3,9 @@ Type=Application
Exec=ktron -caption "%c" %i %m
Icon=ktron
X-DocPath=ktron/index.html
+Name=KTron
GenericName=Tron-like Game
-GenericName[be]=Гульня Трон
-GenericName[bg]=Логическа игра
-GenericName[bn]=ট্রন-জাতীয় খেলা
-GenericName[br]=C'hoari doare Tron
-GenericName[bs]=Igra nalik na Tron
-GenericName[ca]=Joc a l'estil Tron
-GenericName[cs]=Hra podobná Tronu
-GenericName[cy]=Gêm sy'n debyg i Tron
-GenericName[da]=Tron-lignende spil
-GenericName[de]=Tron-ähnliches Spiel
-GenericName[el]=Παιχνίδι παρόμοιο με το Tron
-GenericName[eo]="Tron"-simila ludo
-GenericName[es]=Juego similar a Tron
-GenericName[et]=Tron
-GenericName[eu]=Tron-en antzeko jokoa
-GenericName[fa]=بازی شبیهTron
-GenericName[fi]=Tron-tyylinen peli
-GenericName[fr]=Jeu dans le style de Tron
-GenericName[he]=משחק חיקוי Tron
-GenericName[hr]=Igra poput Trona
-GenericName[hu]=Tron-szerű
-GenericName[is]=Leikur sem líkist Tron
-GenericName[it]=Gioco simile a Tron
-GenericName[ja]=トロンのようなゲーム
-GenericName[km]=ល្បែង​ដូច Tron
-GenericName[lv]=Tron līdzīga spēle
-GenericName[mk]=Игра слична на Tron
-GenericName[nb]=Tron-lignende spill
-GenericName[nds]=Tron-liek Speel
-GenericName[ne]=ट्रोन जस्तै खेल
-GenericName[nl]=Tron-achtig spel
-GenericName[nn]=Tron-liknande spel
-GenericName[pl]=Gra typu Tron
-GenericName[pt]=Jogo tipo Tron
-GenericName[pt_BR]=Jogo parecido com Tron
-GenericName[ru]=Трон
-GenericName[se]=Tron-lágan speallu
-GenericName[sk]=Hra typu Tron
-GenericName[sl]=Igra podobna Tronu
-GenericName[sr]=Игра налик на Tron
-GenericName[sr@Latn]=Igra nalik na Tron
-GenericName[sv]=Tron-liknande spel
-GenericName[ta]=ட்ரோன் போன்ற விளையாட்டு
-GenericName[uk]=Гра схожа на гру "Трон"
-GenericName[zh_TW]=類似 Tron 遊戲
Terminal=false
-Name=KTron
-Name[af]=Ktron
-Name[be]=Трон
-Name[bn]=কে-ট্রন
-Name[hi]=के-ट्रान
-Name[nb]=Tron
-Name[ne]=केडीई ट्रोन
-Name[sv]=Ktron
-Name[ta]=Kட்ரான்
-Name[tg]=KТрон
-Name[zu]=I-KTron
X-TDE-StartupNotify=true
X-DCOP-ServiceType=Multi
Categories=Qt;TDE;Game;ArcadeGame;