summaryrefslogtreecommitdiffstats
path: root/twin4
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 /twin4
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 'twin4')
-rw-r--r--twin4/CMakeL10n.txt6
-rw-r--r--twin4/CMakeLists.txt4
-rw-r--r--twin4/twin4.desktop84
3 files changed, 7 insertions, 87 deletions
diff --git a/twin4/CMakeL10n.txt b/twin4/CMakeL10n.txt
index b585ce4a..1c05936e 100644
--- a/twin4/CMakeL10n.txt
+++ b/twin4/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/twin4.desktop/"
+ SOURCES twin4.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/twin4/CMakeLists.txt b/twin4/CMakeLists.txt
index 64dd715c..07286391 100644
--- a/twin4/CMakeLists.txt
+++ b/twin4/CMakeLists.txt
@@ -10,6 +10,4 @@ tde_install_icons( twin4 )
##### other data ################################
-install( FILES twin4.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( twin4.desktop )
diff --git a/twin4/twin4.desktop b/twin4/twin4.desktop
index 60561000..b21d098c 100644
--- a/twin4/twin4.desktop
+++ b/twin4/twin4.desktop
@@ -1,90 +1,6 @@
[Desktop Entry]
Name=TWin4
-Name[af]=TWin4
-Name[be]=Перамога чатырох
-Name[bn]=কে-উইন-ফোর
-Name[de]=Vier gewinnt
-Name[eo]=Kvar venkas
-Name[es]=TWin4
-Name[hi]=के-विन4
-Name[hu]=Négy a nyerő
-Name[is]=TWin4
-Name[nds]=Veer winnt
-Name[ne]=केडीई विन ४
-Name[sv]=TWin4
-Name[ta]=Kவிண்4
-Name[tg]=TWin4 Ғолиб мешавад
-Name[th]=เรียงหมาก 4 - K
-Name[tr]=4 Kazanır
-Name[zu]=I-TWin4
GenericName=Strategy Game
-GenericName[af]=Strategie Speletjie
-GenericName[ar]=لعبة استراتيجية
-GenericName[be]=Стратэгічная гульня
-GenericName[bg]=Морски шах
-GenericName[bn]=কৌশলের খেলা
-GenericName[br]=C'hoari a gadouriezh
-GenericName[bs]=Strateška igra
-GenericName[ca]=Joc d'estratègia
-GenericName[cs]=Strategická hra
-GenericName[cy]=Gêm Strategaeth
-GenericName[da]=Strategispil
-GenericName[de]=Strategiespiel
-GenericName[el]=Παιχνίδι στρατηγικής
-GenericName[eo]=Strategiludo
-GenericName[es]=Juego de estrategia
-GenericName[et]=Strateegiamäng
-GenericName[eu]=Estrategia jokoa
-GenericName[fa]=بازی Strategy
-GenericName[fi]=Strategiapeli
-GenericName[fo]=Strategispæl
-GenericName[fr]=Jeu de stratégie
-GenericName[ga]=Cluiche Straitéise
-GenericName[gl]=Xogo de estratexia
-GenericName[he]=משחק אסטרטגיה
-GenericName[hi]=कौशल का खेल
-GenericName[hr]=Igra strategije
-GenericName[hu]=Stratégiai
-GenericName[is]=Herkænskuleikur
-GenericName[it]=Gioco di strategia
-GenericName[ja]=戦略ゲーム
-GenericName[km]=ល្បែង​យុទ្ធសាស្ត្រ
-GenericName[ko]=우주 전략 게임
-GenericName[lt]=Strateginis žaidimas
-GenericName[lv]=Stratēģiskā Game
-GenericName[mk]=Стратешка игра
-GenericName[mt]=Logħba ta' strateġija
-GenericName[nb]=Strategispill
-GenericName[nds]=Strategiespeel
-GenericName[ne]=रणनीति खेल
-GenericName[nl]=Strategisch spel
-GenericName[nn]=Strategispel
-GenericName[pa]=ਨੀਤੀ ਖੇਡ
-GenericName[pl]=Gra strategiczna
-GenericName[pt]=Jogo de Estratégia
-GenericName[pt_BR]=Jogo de Estratégia
-GenericName[ro]=Joc de strategie
-GenericName[ru]=Четыре побеждают
-GenericName[rw]=Umukino w'Ingamba
-GenericName[se]=Strategiijaspeallu
-GenericName[sk]=Strategická hra
-GenericName[sl]=Strateška igra
-GenericName[sr]=Стратешка игра
-GenericName[sr@Latn]=Strateška igra
-GenericName[sv]=Strategispel
-GenericName[ta]=தந்திர விளையாட்டு
-GenericName[tg]=Бозии Стратегӣ
-GenericName[th]=เกมกลยุทธ์
-GenericName[tr]=Strateji Oyunu
-GenericName[uk]=Стратегічна гра "Чотири виграють"
-GenericName[uz]=Strategiya oʻyini
-GenericName[uz@cyrillic]=Стратегия ўйини
-GenericName[ven]=Mutambo wa Maitele
-GenericName[wa]=Djeu di stratedjeye
-GenericName[xh]=Indlela yokudlala umdlalo
-GenericName[zh_CN]=策略游戏
-GenericName[zh_TW]=策略遊戲
-GenericName[zu]=Umdlalo wamaqhinga
Exec=twin4
Icon=twin4
MimeType=