summaryrefslogtreecommitdiffstats
path: root/kshisen
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 /kshisen
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 'kshisen')
-rw-r--r--kshisen/CMakeL10n.txt6
-rw-r--r--kshisen/CMakeLists.txt4
-rw-r--r--kshisen/kshisen.desktop66
3 files changed, 7 insertions, 69 deletions
diff --git a/kshisen/CMakeL10n.txt b/kshisen/CMakeL10n.txt
index 5b920a5a..c632f9ca 100644
--- a/kshisen/CMakeL10n.txt
+++ b/kshisen/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kshisen" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kshisen.desktop/"
+ SOURCES kshisen.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kshisen/CMakeLists.txt b/kshisen/CMakeLists.txt
index da63cb64..d9104fcc 100644
--- a/kshisen/CMakeLists.txt
+++ b/kshisen/CMakeLists.txt
@@ -40,6 +40,4 @@ install( FILES kshisenui.rc
DESTINATION ${DATA_INSTALL_DIR}/kshisen
)
-install( FILES kshisen.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( kshisen.desktop )
diff --git a/kshisen/kshisen.desktop b/kshisen/kshisen.desktop
index 6ee930bf..878ca715 100644
--- a/kshisen/kshisen.desktop
+++ b/kshisen/kshisen.desktop
@@ -3,73 +3,7 @@ Exec=kshisen %i %m -caption "%c"
Type=Application
X-DocPath=kshisen/index.html
Name=Shisen-Sho
-Name[af]=Shisen-sho
-Name[be]=Ші-сен-сёе
-Name[bn]=শিসেন-শো
-Name[cs]=Šisen-Šo
-Name[eo]=Ŝisen-Ŝo
-Name[fr]=Shisen-sho
-Name[he]=שישן־שו
-Name[hi]=शाईसेन-शो
-Name[ja]=四川省
-Name[ne]=सिसेन शो
-Name[pa]=ਸ਼ਿਸੀਨ-ਸ਼ੋ
-Name[sk]=Šisen-Šo
-Name[ta]=ஷிசென்-ஷோ
-Name[tg]=Шисен-Шо
-Name[th]=ชิเซน-โช - K
-Name[uk]=Шісен-Шо
-Name[zh_CN]=连连看
-Name[zu]=I-Shisen-Sho
GenericName=Shisen-Sho Mahjongg-like Tile Game
-GenericName[be]=Варыянт маджонга Шысен-сё
-GenericName[bg]=Игра с плочки
-GenericName[bn]=শিসেন-শো মাহজং-জাতীয় টালির খেলা
-GenericName[br]=Ur c'hoari teol a seurt gant Shisen*Sho Mahjongg
-GenericName[bs]=Shisen-Sho igra nalik na Mahjongg
-GenericName[ca]=Joc de mosaics Shisen-Sho a l'estil Mahjongg
-GenericName[cs]=Hra s dlaždicemi Šisen-Šo
-GenericName[cy]=Gêm Deiliau Shisen-Sho sy'n debyg i Mahjongg
-GenericName[da]=Shisen-Sho Mahjongg-lignende flisespil
-GenericName[de]=Mahjongg-ähnliches Shisen-Sho Spiel
-GenericName[el]=Παιχνίδι παρόμοιο με το Shisen-Sho Mahjongg
-GenericName[eo]=Shisen-Sho Mahjongg-simila kahel-ludo
-GenericName[es]=Juego de fichas similar al Shisen-Sho Mahjongg
-GenericName[et]=Mahjonggi moodi klotsimäng
-GenericName[eu]=Shisen-Sho Mahjongg-en antzeko fitxa-jokoa
-GenericName[fa]=بازی کاشی شبیه Shisen-Sho Mahjongg
-GenericName[fi]=Shisen-Sho Mahjongg--tyylinen palikkapeli
-GenericName[fr]=Jeu de tuiles Shisen-Sho dans le style Mahjongg
-GenericName[he]=Shisen Sho, חיקוי מה ג'ונג, משחק קלפים
-GenericName[hr]=Shisen-Sho igra s pločicama poput Mahjongga
-GenericName[hu]=Mahjongg-változat
-GenericName[is]=Shisen-Sho kubbaleikur líkur Mahjongg
-GenericName[it]=Shisen-Sho, gioco di tessere simile a Mahjongg
-GenericName[ja]=四川省マージャン牌ゲーム
-GenericName[km]=ល្បែង​ក្បឿង​ដូច Shisen-Sho Mahjongg
-GenericName[ko]=시센-쇼 마작과 같은 타일 게임
-GenericName[lv]=Shisen-Sho Mahjongg līdzīga spēle
-GenericName[mk]=Игра со плочки слична на Shisen-Sho Mahjongg
-GenericName[nb]=Shisen-Sho Mahjongg-lignende brikkespill
-GenericName[nds]=Mahjongg-liek Speel
-GenericName[ne]=सिनसेन शो माहाजोङ जस्तै टायल खेल
-GenericName[nl]=Shisen-Sho Mahjongg-achtig stenenspel
-GenericName[nn]=Shisen-Sho Mahjongg-liknande brikkespel
-GenericName[pa]=ਸ਼ਿਸੀਨ-ਸ਼ੋ ਮਹਿਜ਼ੋਗ ਵਰਗੀ ਖੇਡ
-GenericName[pl]=Gra typu Shisen-Sho Mahjongg
-GenericName[pt]=Jogo de Padrões Shisen-Sho
-GenericName[pt_BR]=Jogo de Ladrilhos parecido com Shisen-Sho Mahjongg
-GenericName[ru]=Ши-сен-сё
-GenericName[se]=Shisen-Sho Mahjongg-lágan bihttáspeallu
-GenericName[sk]=Dlaždičková hra typu Shisen-Sho Mahjongg
-GenericName[sl]=Igra s ploščicami Shisen-Sho, podobna Mahjonggu
-GenericName[sr]=Shisen-Sho, игра са пољима налик на Mahjongg
-GenericName[sr@Latn]=Shisen-Sho, igra sa poljima nalik na Mahjongg
-GenericName[sv]=Shisen-Sho Mahjongg-liknande brickspel
-GenericName[ta]=ஷிசெந்ஷோ மாஹ்ஜோங் போன்ற ஓடு விளையாட்டு
-GenericName[uk]=Шісен-Шо Махжонг-на кшталт гри Плитки
-GenericName[zh_CN]=类似连连看的麻将游戏
-GenericName[zh_TW]=四川省麻將牌遊戲
Icon=kshisen
X-TDE-StartupNotify=true
X-DCOP-ServiceType=Multi