summaryrefslogtreecommitdiffstats
path: root/konquest
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 15:23:06 +0200
commit87f08539f4780f52819ddb9e7d291decbc14fa6f (patch)
tree902840117702b8d2c955b33f0402e0df6446a22c /konquest
parentbd46b20a12f3634ad167206c497bb9a050ac533c (diff)
downloadtdegames-87f08539f4780f52819ddb9e7d291decbc14fa6f.tar.gz
tdegames-87f08539f4780f52819ddb9e7d291decbc14fa6f.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]> (cherry picked from commit a25cdc59c6302046b3121276f5a33f6b1b55a538)
Diffstat (limited to 'konquest')
-rw-r--r--konquest/CMakeL10n.txt6
-rw-r--r--konquest/CMakeLists.txt4
-rw-r--r--konquest/konquest.desktop63
3 files changed, 7 insertions, 66 deletions
diff --git a/konquest/CMakeL10n.txt b/konquest/CMakeL10n.txt
index cc427445..64801c5a 100644
--- a/konquest/CMakeL10n.txt
+++ b/konquest/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "konquest" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/konquest.desktop/"
+ SOURCES konquest.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/konquest/CMakeLists.txt b/konquest/CMakeLists.txt
index 0f567200..88e56e8d 100644
--- a/konquest/CMakeLists.txt
+++ b/konquest/CMakeLists.txt
@@ -34,9 +34,7 @@ tde_install_icons( konquest )
##### other data ################################
-install( FILES konquest.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( konquest.desktop )
install( FILES konquestui.rc
DESTINATION ${DATA_INSTALL_DIR}/konquest
diff --git a/konquest/konquest.desktop b/konquest/konquest.desktop
index 141e30e7..7b7d955b 100644
--- a/konquest/konquest.desktop
+++ b/konquest/konquest.desktop
@@ -1,72 +1,9 @@
[Desktop Entry]
Icon=konquest
Name=Konquest
-Name[ar]=لعبة الإحتلال (Konquest)
-Name[be]=Заваёва
-Name[bn]=কনকোয়েস্ট
-Name[br]=KAloubadur
-Name[da]=Erobring
-Name[eo]=Konkero
-Name[et]=Vallutus
-Name[hi]=कॉन्क्वेस्ट
-Name[hu]=Hódítás
-Name[is]=Geimstyrjöld
-Name[lt]=Užkariautojas
-Name[ne]=कनक्वेष्ट
-Name[pt]=Conquista
-Name[ta]=கான்க்குவெஸ்ட்
-Name[tg]=Истило
-Name[zh_TW]=Konquest 征服
Exec=konquest %i %m -caption %c
Type=Application
GenericName=Galactic Strategy Game
-GenericName[be]=Стратэгічная галактычная гульня
-GenericName[bg]=Галактическа игра
-GenericName[bn]=গ্যালাকটিক কৌশলের খেলা
-GenericName[bs]=Galaktička strateška igra
-GenericName[ca]=Joc d'estratègia galàctica
-GenericName[cs]=Strategická galaktická hra
-GenericName[cy]=Gêm Strategaeth Galaethol
-GenericName[da]=Galaktisk strategispil
-GenericName[de]=Galaktisches Strategiespiel
-GenericName[el]=Γαλαξιακό παιχνίδι στρατηγικής
-GenericName[eo]=Galaksia Strategiludo
-GenericName[es]=Juego de estrategia espacial
-GenericName[et]=Galaktiline strateegiamäng
-GenericName[eu]=Estrategia galaktikoaren jokoa
-GenericName[fa]=بازی Galactic Strategy
-GenericName[fi]=Galaktinen avaruuspeli
-GenericName[fr]=Jeu de stratégie galactique
-GenericName[he]=משחק אסטרטגיה גלקטי
-GenericName[hr]=Galaktička igra strategije
-GenericName[hu]=Stratégiai
-GenericName[is]=Herkænskuleikur
-GenericName[it]=Gioco galattico di strategia
-GenericName[ja]=宇宙戦略ゲーム
-GenericName[km]=ល្បែង​យុទ្ធសាស្ត្រ​ផ្កាយ
-GenericName[ko]=우주 전략 게임
-GenericName[lt]=Galaktikos strateginis žaidimas
-GenericName[lv]=Stratēģiska kosmiskā spēle
-GenericName[mk]=Игра на галактичка стратегија
-GenericName[nb]=Strategispillet Galactic
-GenericName[nds]= Galaktsch Strategiespeel
-GenericName[ne]=ग्यालाक्टिक रणनीति खेल
-GenericName[nl]=Strategisch ruimtespel
-GenericName[nn]=Strategispelet Galactic
-GenericName[pl]=Gra strategiczna w kosmosie
-GenericName[pt]=Jogo de Estratégia Galáctica
-GenericName[pt_BR]=Jogo de Estratégia galáctico
-GenericName[ru]=Завоевание
-GenericName[se]=Strategiijaspeallu Galactic
-GenericName[sk]=Galaktická strategická hra
-GenericName[sl]=Galaktična strateška igra
-GenericName[sr]=Галактичка стратешка игра
-GenericName[sr@Latn]=Galaktička strateška igra
-GenericName[sv]=Galaktiskt strategispel
-GenericName[ta]=கலாட்டிக் தந்திர விளையாட்டு
-GenericName[uk]=Галактична гра на стратегію
-GenericName[wa]=Djeu di stratedjeye galactike
-GenericName[zh_TW]=銀河戰略遊戲
Terminal=false
X-DocPath=konquest/index.html
X-TDE-StartupNotify=true