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 14:19:33 +0200 |
commit | a25cdc59c6302046b3121276f5a33f6b1b55a538 (patch) | |
tree | 5c41c38d0c81e99bfe2d3a8564af42cc2d92941f /kbounce | |
parent | dc556f3e9a46e749b36cf773f9211db4ce58d96b (diff) | |
download | tdegames-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 'kbounce')
-rw-r--r-- | kbounce/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kbounce/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kbounce/kbounce.desktop | 56 |
3 files changed, 7 insertions, 59 deletions
diff --git a/kbounce/CMakeL10n.txt b/kbounce/CMakeL10n.txt index 49d4c146..930a50da 100644 --- a/kbounce/CMakeL10n.txt +++ b/kbounce/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kbounce" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kbounce.desktop/" + SOURCES kbounce.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kbounce/CMakeLists.txt b/kbounce/CMakeLists.txt index 34f96dff..29180ee9 100644 --- a/kbounce/CMakeLists.txt +++ b/kbounce/CMakeLists.txt @@ -47,6 +47,4 @@ install( FILES kbounceui.rc DESTINATION ${DATA_INSTALL_DIR}/kbounce ) -install( FILES kbounce.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kbounce.desktop ) diff --git a/kbounce/kbounce.desktop b/kbounce/kbounce.desktop index 58fb9aca..bef82081 100644 --- a/kbounce/kbounce.desktop +++ b/kbounce/kbounce.desktop @@ -1,17 +1,5 @@ [Desktop Entry] Name=KBounce -Name[af]=K-hop -Name[ar]=لعبة الإرتداد (KBounce) -Name[be]=Несуцішныя шарыкі -Name[bn]=কে-বাউন্স -Name[hi]=के-बाउंस -Name[ne]=केडीई उफ्रिने -Name[pa]=ਕੇ-ਬਾਊਂਸ -Name[sv]=Kbounce -Name[ta]=கேபவுன்ஸ் -Name[tg]=KТӯби ҷаҳанда -Name[tr]=Zıplayan toplar -Name[zh_TW]=KBounce 彈力球 Type=Application Exec=kbounce %i %m -caption "%c" @@ -19,49 +7,5 @@ X-DocPath=kbounce/index.html Icon=kbounce GenericName=Bounce Ball Game -GenericName[be]=Гульня ў шарыкі -GenericName[bg]=Подскачащи топки -GenericName[bn]=বাউন্স বল খেলা -GenericName[bs]=Igra odbijajuće loptice -GenericName[ca]=Joc de boles rebotadores -GenericName[cs]=Hra s poskakujícími míčky -GenericName[cy]=Gêm Bêl Sboncio -GenericName[da]=Spil med springende bolde -GenericName[de]=Ballspiel -GenericName[el]=Παιχνίδι αναπηδούμενης μπάλας -GenericName[eo]=Saltpilka ludo -GenericName[es]=Juego de pelotas que rebotan -GenericName[et]=Põrkava palli mäng -GenericName[eu]=Pilota errebotatzeko jokoa -GenericName[fa]=بازی Bounce Ball -GenericName[fi]=Lautapeli -GenericName[fr]=Jeu de balles rebondissantes -GenericName[he]=משחק כדורים קופצים -GenericName[hr]=Igra s poskakujućom loptom -GenericName[hu]=Labdás -GenericName[is]=Skoppandi boltaleikur -GenericName[it]=Gioco del BounceBall -GenericName[ja]=跳ねるボールのゲーム -GenericName[km]=ល្បែងបាល់លោត -GenericName[lt]=Bounce Ball žaidimas -GenericName[lv]=Lēkājošo bumbu spēle -GenericName[mk]=Игра со топки што скокаат -GenericName[nb]=Sprettballspill -GenericName[nds]=Ballspeel -GenericName[ne]=बल हिर्काउने खेल -GenericName[nl]=Bal-stuiter spel -GenericName[nn]=Sprettballspel -GenericName[pl]=Piłki -GenericName[pt]=Jogo de Bola Saltitante -GenericName[pt_BR]=Jogo de bolas que pulam -GenericName[ru]=Неуёмные шарики -GenericName[sk]=Bounce loptová hra -GenericName[sl]=Igra odbijajoče žoge -GenericName[sr]=Игра одбијања лопте -GenericName[sr@Latn]=Igra odbijanja lopte -GenericName[sv]=Studsande boll spel -GenericName[ta]=திரும்பும் பந்து விளையாட்டு -GenericName[uk]=Кульки-стрибунці -GenericName[zh_TW]=彈跳球遊戲 X-DCOP-ServiceType=Multi Categories=Qt;TDE;Game;ArcadeGame; |