summaryrefslogtreecommitdiffstats
path: root/kblackbox
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 /kblackbox
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 'kblackbox')
-rw-r--r--kblackbox/CMakeL10n.txt6
-rw-r--r--kblackbox/CMakeLists.txt5
-rw-r--r--kblackbox/kblackbox.desktop65
3 files changed, 8 insertions, 68 deletions
diff --git a/kblackbox/CMakeL10n.txt b/kblackbox/CMakeL10n.txt
index 68a62bde..403ff771 100644
--- a/kblackbox/CMakeL10n.txt
+++ b/kblackbox/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kblackbox" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kblackbox.desktop/"
+ SOURCES kblackbox.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kblackbox/CMakeLists.txt b/kblackbox/CMakeLists.txt
index 057c1119..c1c063d0 100644
--- a/kblackbox/CMakeLists.txt
+++ b/kblackbox/CMakeLists.txt
@@ -31,9 +31,8 @@ tde_install_icons( kblackbox )
##### other data ################################
-install( FILES kblackbox.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+
+tde_create_translated_desktop( kblackbox.desktop )
install( FILES kblackboxui.rc
DESTINATION ${DATA_INSTALL_DIR}/kblackbox
diff --git a/kblackbox/kblackbox.desktop b/kblackbox/kblackbox.desktop
index 12444041..bea46f83 100644
--- a/kblackbox/kblackbox.desktop
+++ b/kblackbox/kblackbox.desktop
@@ -1,72 +1,7 @@
[Desktop Entry]
GenericName=Blackbox Logic Game
-GenericName[be]=Лагічная гульня з чорнай скрыняй
-GenericName[bg]=Логическа игра
-GenericName[bn]=যুক্তির খেলা ব্ল্যাকবক্স
-GenericName[bs]=Logička igra "Crna kutija"
-GenericName[ca]=Joc de lògica Blackbox
-GenericName[cs]=Logická hra s černou skříňkou
-GenericName[cy]=Gêm Resymeg Blackbox
-GenericName[da]=Blackbox logikspil
-GenericName[de]=Logikspiel
-GenericName[el]=Παιχνίδι λογικής Blackbox
-GenericName[eo]=Divenlogika ludo
-GenericName[es]=Juego de lógica Blackbox
-GenericName[et]=Blackboxi loogikamäng
-GenericName[eu]=Blackbox joko logikoa
-GenericName[fa]=بازی Blackbox Logic
-GenericName[fi]=Logiikkapeli
-GenericName[fr]=Jeu de logique Blackbox
-GenericName[he]=משחק לוגיקה
-GenericName[hr]=Blackbox logička igra
-GenericName[hu]=Logikai
-GenericName[is]=Blackbox kænskuleikur
-GenericName[it]=Gioco di logica Blackbox
-GenericName[ja]=ブラックボックス論理ゲーム
-GenericName[km]=ល្បែង​តក្កវិជ្ជា Blackbox
-GenericName[ko]=블랙박스 논리 게임
-GenericName[lt]=Blackbox loginis žaidimas
-GenericName[lv]=Melnās kastes loģikas spēle
-GenericName[mk]=Логичка игра Blackbox
-GenericName[nb]=Logikkspillet Blackbox
-GenericName[nds]=Blackbox Logikspeel
-GenericName[ne]=कालोबाकस युक्तिसंगत खेल
-GenericName[nl]=Blackbox: Logisch spel
-GenericName[nn]=Logikkspelet Blackbox
-GenericName[pl]=Gra logiczna - Czarna skrzynka
-GenericName[pt]=Jogo de Lógica Caixa Preta
-GenericName[pt_BR]=Jogo lógico de Caixa Preta
-GenericName[ru]=Чёрный ящик
-GenericName[se]=Logihkkaspeallu Blackbox
-GenericName[sk]=Blackbox logická hra
-GenericName[sl]=Logična igra Blackbox
-GenericName[sr]=Логичка игра црне кутије
-GenericName[sr@Latn]=Logička igra crne kutije
-GenericName[sv]=Svart låda logiskt spel
-GenericName[ta]=கறுப்புபெட்டி லாஜிக் விளையாட்டு
-GenericName[uk]=Гра на логіку (чорний ящик)
-GenericName[wa]=Djeu d' lodjike noere boesse
-GenericName[zh_TW]=黑盒子智力遊戲
Exec=kblackbox %i %m -caption "%c"
Name=KBlackBox
-Name[af]=Kblackbox
-Name[ar]=لعبة الصندوق الأسود (KBlackBox)
-Name[be]=Чорная скрыня
-Name[bn]=কে-ব্ল্যাকবক্স
-Name[hi]=के-ब्लेकबॉक्स
-Name[hu]=Fekete doboz
-Name[is]=Svarti kassinn
-Name[ne]=केडीई कालोबाकस
-Name[pa]=ਕੇ-ਬਲੈਕ ਬਾਕਸ
-Name[pl]=Czarna skrzynka
-Name[pt_BR]=KCaixa Preta
-Name[sv]=Kblackbox
-Name[ta]=கேகருப்பு பெட்டி
-Name[tg]=KҚуттии Сиёҳ
-Name[th]=กล่องดำ - K
-Name[tr]=Kara Kutu
-Name[uk]=Чорна скринька
-Name[zh_TW]=KBlackBox 黑盒子
Icon=kblackbox
Path=
X-DocPath=kblackbox/index.html