diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-10 21:25:06 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-12 15:23:06 +0200 |
commit | 87f08539f4780f52819ddb9e7d291decbc14fa6f (patch) | |
tree | 902840117702b8d2c955b33f0402e0df6446a22c /kjumpingcube | |
parent | bd46b20a12f3634ad167206c497bb9a050ac533c (diff) | |
download | tdegames-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 <slavek.banko@axis.cz>
(cherry picked from commit a25cdc59c6302046b3121276f5a33f6b1b55a538)
Diffstat (limited to 'kjumpingcube')
-rw-r--r-- | kjumpingcube/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kjumpingcube/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kjumpingcube/kjumpingcube.desktop | 91 |
3 files changed, 7 insertions, 94 deletions
diff --git a/kjumpingcube/CMakeL10n.txt b/kjumpingcube/CMakeL10n.txt index d3de8e69..5c4a6495 100644 --- a/kjumpingcube/CMakeL10n.txt +++ b/kjumpingcube/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kjumpingcube" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kjumpingcube.desktop/" + SOURCES kjumpingcube.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kjumpingcube/CMakeLists.txt b/kjumpingcube/CMakeLists.txt index f3b87156..cf7b6d78 100644 --- a/kjumpingcube/CMakeLists.txt +++ b/kjumpingcube/CMakeLists.txt @@ -39,6 +39,4 @@ install( FILES kjumpingcubeui.rc DESTINATION ${DATA_INSTALL_DIR}/kjumpingcube ) -install( FILES kjumpingcube.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kjumpingcube.desktop ) diff --git a/kjumpingcube/kjumpingcube.desktop b/kjumpingcube/kjumpingcube.desktop index d24e04e7..d1668138 100644 --- a/kjumpingcube/kjumpingcube.desktop +++ b/kjumpingcube/kjumpingcube.desktop @@ -1,101 +1,10 @@ [Desktop Entry] Name=KJumpingCube -Name[af]=Kjumpingcube -Name[ar]=لعبة المكعب القافز (KJumpingCube) -Name[az]=K Hoppanan Kub -Name[be]=Скокаючы кубік -Name[bn]=কে-জাম্পিংকিউব -Name[br]=KDiñsALamm -Name[eo]=Saltanta kubo -Name[hi]=के-जम्पिंगक्यूब -Name[hu]=Ugráló kocka -Name[is]=Hoppandi kubbur -Name[ne]=केडीई जम्पिङ क्युब -Name[pa]=ਕੇ-ਜੰਪ ਘਣ -Name[pl]=Skaczący sześcian -Name[pt]=Cubo Saltitão -Name[pt_BR]=KSaltandoCubo -Name[ro]=Cubul săritor -Name[sk]=KSkákajúca kocka -Name[sv]=Kjumpingcube -Name[ta]=கேகுதிக்கும் கனசதுரம் -Name[tg]=KКубикҳои Ҷиҳанда -Name[tr]=Zıplayan Küp -Name[xh]=Ityhubhu yeKJumping -Name[zh_TW]=KJumpingCube 跳躍立方體 Exec=kjumpingcube -caption "%c" %i %m Icon=kjumpingcube Type=Application X-DocPath=kjumpingcube/index.html GenericName=Tactical Game -GenericName[af]=Taktiese Speletjie -GenericName[ar]=لعبة تكتيكية -GenericName[az]=Taktik oyunu -GenericName[be]=Тактычная гульня -GenericName[bg]=Тактическа игра -GenericName[bn]=কৌশলের খেলা -GenericName[br]=C'hoari a vrezelekaouriezh -GenericName[bs]=Taktička igra -GenericName[ca]=Joc de tàctica -GenericName[cs]=Taktická hra -GenericName[cy]=Gêm Dactegol -GenericName[da]=Taktisk spil -GenericName[de]=Taktikspiel -GenericName[el]=Παιχνίδι τακτικής -GenericName[eo]=Taktika ludo -GenericName[es]=Juego de táctica -GenericName[et]=Taktikamäng -GenericName[eu]=Joko taktikoa -GenericName[fa]=بازی برنامهریزیشده -GenericName[fi]=Taktiikkapeli -GenericName[fo]=Taktiskt spæl -GenericName[fr]=Jeu de tactique -GenericName[ga]=Cluiche Taicticiúil -GenericName[gl]=Xogo de Táctica -GenericName[he]=משחק טקטי -GenericName[hi]=रणनीतिक खेल -GenericName[hr]=Taktička igra -GenericName[hu]=Logikai -GenericName[id]=Permainan Taktik -GenericName[is]=Herkænskuleikur -GenericName[it]=Gioco di tattica -GenericName[ja]=戦略的ゲーム -GenericName[km]=ល្បែងក្បួនយុទ្ធសាស្ត្រ -GenericName[ko]=전략 게임 -GenericName[lt]=Taktinis žaidimas -GenericName[lv]=Taktiskā spēle -GenericName[mk]=Тактичка игра -GenericName[mt]=Logħba ta' tattika -GenericName[nb]=Taktikk-spill -GenericName[nds]=Taktikspeel -GenericName[ne]=युक्तिसंगत खेल -GenericName[nl]=Tactisch spel -GenericName[nn]=Taktisk spel -GenericName[pa]=ਟਾਕਟੀਕਲ ਖੇਡ -GenericName[pl]=Gra taktyczna -GenericName[pt]=Jogo de Estratégia -GenericName[pt_BR]=Jogo Tático -GenericName[ro]=Un joc de tactică -GenericName[ru]=Тактическая игра -GenericName[rw]=Umukino Mugambi -GenericName[se]=Taktihkkaspeallu -GenericName[sk]=Taktická hra -GenericName[sl]=Taktična igra -GenericName[sr]=Тактичка игра -GenericName[sr@Latn]=Taktička igra -GenericName[sv]=Taktikspel -GenericName[ta]=தந்திரமான விளையாட்டு -GenericName[tg]=Бозии Тактикӣ -GenericName[th]=เกมวางแผน -GenericName[tr]=Taktik oyunu -GenericName[uk]=Тактична гра -GenericName[ven]=Mutambo wa Tactical -GenericName[vi]=Trò chơi chiến thuật -GenericName[wa]=Djeu di tactike -GenericName[xh]=Umdlalo onamaqhinga -GenericName[zh_CN]=战术游戏 -GenericName[zh_TW]=戰術遊戲 -GenericName[zu]=Umdlalo wamasu Terminal=false X-TDE-StartupNotify=true X-DCOP-ServiceType=Multi |