summaryrefslogtreecommitdiffstats
path: root/khangman
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-27 03:12:08 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-28 17:51:29 +0200
commita084db175509b58e57a81d50b1688709f19758bf (patch)
tree0fdf4c3292e92897faf783775d038f7bf8ca21d2 /khangman
parent5255f3b93733410203e467b9442dca1948ffa361 (diff)
downloadtdeedu-a084db175509b58e57a81d50b1688709f19758bf.tar.gz
tdeedu-a084db175509b58e57a81d50b1688709f19758bf.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 'khangman')
-rw-r--r--khangman/khangman/CMakeL10n.txt6
-rw-r--r--khangman/khangman/CMakeLists.txt5
-rw-r--r--khangman/khangman/khangman.desktop125
3 files changed, 8 insertions, 128 deletions
diff --git a/khangman/khangman/CMakeL10n.txt b/khangman/khangman/CMakeL10n.txt
index 4c1710c6..f7f35124 100644
--- a/khangman/khangman/CMakeL10n.txt
+++ b/khangman/khangman/CMakeL10n.txt
@@ -4,3 +4,9 @@ tde_l10n_create_template(
CATALOG "khangman"
SOURCES "data.i18n" "."
)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/khangman.desktop/"
+ SOURCES khangman.desktop
+ DESTINATION ${CMAKE_SOURCE_DIR}/translations
+)
diff --git a/khangman/khangman/CMakeLists.txt b/khangman/khangman/CMakeLists.txt
index 40d0fe38..613f9081 100644
--- a/khangman/khangman/CMakeLists.txt
+++ b/khangman/khangman/CMakeLists.txt
@@ -52,10 +52,7 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/khangman
)
-install(
- FILES khangman.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( khangman.desktop )
install(
FILES khangman.kcfg
diff --git a/khangman/khangman/khangman.desktop b/khangman/khangman/khangman.desktop
index 721783bb..d44eaa3f 100644
--- a/khangman/khangman/khangman.desktop
+++ b/khangman/khangman/khangman.desktop
@@ -3,131 +3,8 @@ Type=Application
Exec=khangman -caption "%c" %i %m
Icon=khangman
X-DocPath=khangman/index.html
+Name=KHangMan
GenericName=Hangman Game
-GenericName[af]=Hangman Speletjie
-GenericName[ar]=لعبة الشنق
-GenericName[be]=Гульня "Віселіца"
-GenericName[bg]=Игра на бесеница
-GenericName[bn]=হ্যাংম্যান খেলা
-GenericName[br]=C'hoari an hini krouket
-GenericName[bs]=Igra vješala
-GenericName[ca]=Joc del penjat
-GenericName[cs]=Hra Hangman
-GenericName[csb]=Wisélc
-GenericName[cy]=Gêm Crogwr
-GenericName[da]=Hangman-spil
-GenericName[de]=Buchstabierspiel
-GenericName[el]=Παιχνίδι κρεμάλας
-GenericName[eo]=Pendigula ludo
-GenericName[es]=Juego del ahorcado
-GenericName[et]=Poomismäng
-GenericName[eu]=Urkatuaren jokoa
-GenericName[fa]=بازی جلاد
-GenericName[fi]=Hirsipuupeli
-GenericName[fr]=Jeu du pendu
-GenericName[ga]=Crochadóir
-GenericName[gl]=O Xogo do Aforcado
-GenericName[he]=משחק Hangman
-GenericName[hi]=हैंगमेन खेल
-GenericName[hr]=Igra vješala
-GenericName[hu]=Akasztófás játék
-GenericName[is]=Hengimann leikur
-GenericName[it]=Gioco dell'impiccato
-GenericName[ja]=ハングマンゲーム
-GenericName[ka]=თამაში "ჩამოხრჩობანა"
-GenericName[km]=ល្បែង​ព្យួរក
-GenericName[lt]=Budelio žaidimas
-GenericName[lv]=Karātavu Spēle
-GenericName[mk]=Бесилка
-GenericName[mn]=HangMan-ий Тоглоом
-GenericName[ms]=Permainan Gantung suka-suka
-GenericName[nb]=Hengtmann-spillet
-GenericName[nds]=Galgenmanntje-Speel
-GenericName[ne]=ह्याङम्यान खेल
-GenericName[nl]=Galgje
-GenericName[nn]=Hengtmann-spel
-GenericName[nso]=Papadi ya Hangman
-GenericName[pl]=Gra Hangman
-GenericName[pt]=Jogo da Forca
-GenericName[pt_BR]=Jogo da forca
-GenericName[ru]=Игра «Виселица»
-GenericName[se]=Hangman speallu
-GenericName[sk]=Hra Hangman
-GenericName[sl]=Igra vislic
-GenericName[sr]=Игра вешала
-GenericName[sr@Latn]=Igra vešala
-GenericName[sv]=Hänga gubben-spel
-GenericName[ta]= ஹாங்க்மேன் விளையாட்டு
-GenericName[tg]=Бозии Чӯбаи Дор
-GenericName[tr]=Adam Asmaca Oyunu
-GenericName[uk]=Гра Hangman
-GenericName[ven]=Mutambo wau nembeledza
-GenericName[vi]=Trò chơi Hangman
-GenericName[xh]=Umdlalo Wendoda ejingayo
-GenericName[zh_CN]=吊颈人游戏
-GenericName[zh_TW]=劊子手(hangman)遊戲
-GenericName[zu]=Umdlalo WeHangman
Comment=TDE Hangman Game
-Comment[be]=Гульня "Віселіца" для TDE
-Comment[bg]=Игра на бесеница
-Comment[bn]=কে.ডি.ই. উপস্থাপিত হ্যাংম্যান খেলা
-Comment[br]=C'hoari an hini krouket evit TDE
-Comment[bs]=TDE igra vješala
-Comment[ca]=Joc del penjat per a TDE
-Comment[cs]=Hra 'šibenice' pro TDE
-Comment[csb]=Gra w wisélca
-Comment[da]=Hangman-spil for TDE
-Comment[de]=Ein Buchstabierspiel für TDE
-Comment[el]=Παιχνίδι κρεμάλας του TDE
-Comment[eo]=TDE pendigula ludo
-Comment[es]=Juego del ahorcado de TDE
-Comment[et]=TDE poomismäng
-Comment[eu]=Urkatuaren jokoa
-Comment[fa]=بازی جلاد TDE
-Comment[fi]=Hirsipuupeli
-Comment[fr]=Jeu du pendu de TDE
-Comment[ga]=Crochadóir TDE
-Comment[gl]=Xogo do Aforcado para TDE
-Comment[he]=משחק איש תלוי של TDE
-Comment[hr]=TDE igra vješala
-Comment[hu]=TDE-s akasztófás játék
-Comment[is]=TDE Hengimann
-Comment[it]=Gioco dell'impiccato per TDE
-Comment[ja]=ハングマンゲーム
-Comment[ka]=TDE თამაში "ჩამოხრჩობანა"
-Comment[km]=ល្បែង​ព្យួរក​របស់ TDE
-Comment[lt]=TDE pakaruoklio žaidimas
-Comment[ms]=Permainan Hangman TDE
-Comment[nb]=Hengtmann-spillet i TDE-utgave
-Comment[nds]=Galgenmanntje-Speel för TDE
-Comment[ne]=TDE ह्याङम्यान खेल
-Comment[nl]=Het spel Galgje voor TDE
-Comment[nn]=Eit hengtmann-spel for TDE
-Comment[pl]=Gra w wisielca dla TDE
-Comment[pt]=Jogo da Forca do TDE
-Comment[pt_BR]=Jogo da forca do TDE
-Comment[ru]=Игра «Виселица»
-Comment[sk]=TDE hra Hangman
-Comment[sl]=Igra vislic
-Comment[sr]=TDE-ова игра вешала
-Comment[sr@Latn]=TDE-ova igra vešala
-Comment[sv]=Hänga gubben-spel för TDE
-Comment[tr]=Adam Asmaca Oyunu
-Comment[uk]=Гра Hangman
-Comment[vi]=Trò chơi Hangman TDE
-Comment[zh_CN]=TDE 吊颈人游戏
-Comment[zh_TW]=TDE 劊子手(hangman)遊戲
Terminal=false
-Name=KHangMan
-Name[af]=K-hangman
-Name[ar]=الشنق ك
-Name[bn]=কে-হ্যাংম্যান
-Name[cy]=Krogwr
-Name[hi]=के-हैंगमेन
-Name[hr]=KVješala
-Name[ne]=केडीई ह्याङम्यान
-Name[sv]=Khangman
-Name[ta]=கேஹாங்க்மேன்
-Name[tr]=Adam Asmaca
-Name[ven]=Munembeledzi wa K
Categories=Qt;TDE;Education;Languages;Game;X-TDE-KidsGame;