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 /kpoker | |
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 'kpoker')
-rw-r--r-- | kpoker/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kpoker/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kpoker/kpoker.desktop | 64 |
3 files changed, 7 insertions, 67 deletions
diff --git a/kpoker/CMakeL10n.txt b/kpoker/CMakeL10n.txt index ed025d0d..3685261f 100644 --- a/kpoker/CMakeL10n.txt +++ b/kpoker/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kpoker" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kpoker.desktop/" + SOURCES kpoker.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kpoker/CMakeLists.txt b/kpoker/CMakeLists.txt index 9e339067..24814ee9 100644 --- a/kpoker/CMakeLists.txt +++ b/kpoker/CMakeLists.txt @@ -33,9 +33,7 @@ tde_install_icons( kpoker ) ##### other data ################################ -install( FILES kpoker.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kpoker.desktop ) install( FILES kpokerui.rc DESTINATION ${DATA_INSTALL_DIR}/kpoker diff --git a/kpoker/kpoker.desktop b/kpoker/kpoker.desktop index 87c5e41d..13e0d66d 100644 --- a/kpoker/kpoker.desktop +++ b/kpoker/kpoker.desktop @@ -1,73 +1,9 @@ [Desktop Entry] Name=KPoker -Name[af]=Kpoker -Name[be]=Покер -Name[bn]=কে-পোকার -Name[ca]=Pòquer -Name[eo]=Pokero -Name[hi]=के-पोकर -Name[is]=Póker -Name[ne]=केडीई पोकर -Name[pa]=ਕੇ-ਪੋਕਰ -Name[pl]=Poker -Name[sv]=Kpoker -Name[ta]=Kபோக்கர் -Name[tg]=KПокер -Name[th]=โป๊กเกอร์ - K -Name[tr]=Poker -Name[uk]=Покер -Name[zh_TW]=KPoker 紙牌遊戲 Exec=kpoker %i %m -caption "%c" Icon=kpoker X-DocPath=kpoker/index.html GenericName=Poker Card Game -GenericName[be]=Картачная гульня ў покер -GenericName[bg]=Покер -GenericName[bn]=পোকার নামের তাস খেলা -GenericName[bs]=Igra pokera -GenericName[ca]=Joc de Pòquer -GenericName[cs]=Karetní hra poker -GenericName[cy]=Gêm Cerdiau Poker -GenericName[da]=Poker kortspil -GenericName[de]=Poker Kartenspiel -GenericName[el]=Παιχνίδι καρτών Poker -GenericName[eo]=Pokera Kartludo -GenericName[es]=Juego de cartas de Poker -GenericName[et]=Pokker -GenericName[eu]=Poker jokoa -GenericName[fa]=بازی Poker Card -GenericName[fi]=Pokeri-korttipeli -GenericName[fr]=Jeu de Poker -GenericName[he]=משחק פוקר -GenericName[hr]=Kartaška igra Pokera -GenericName[hu]=Póker -GenericName[is]=Pókerspil -GenericName[it]=Gioco del Poker -GenericName[ja]=ポーカーゲーム -GenericName[km]=ល្បែងបៀផែ -GenericName[ko]=카드 놀이 -GenericName[lt]=Pokeris (kortų žaidimas) -GenericName[lv]=Pokera spēle -GenericName[mk]=Играта покер -GenericName[nb]=Kortspillet poker -GenericName[nds]=Pokern -GenericName[ne]=पोकर कार्ड खेल -GenericName[nl]=Poker-kaartspel -GenericName[nn]=Kortspelet poker -GenericName[pa]=ਪੋਕਰ ਤਾਸ਼ ਖੇਡ -GenericName[pl]=Poker -GenericName[pt]=Jogo de Cartas de Póquer -GenericName[pt_BR]=Jogo de Poker -GenericName[ru]=Покер -GenericName[se]=Goartaspeallu poker -GenericName[sk]=Kartová hra Poker -GenericName[sl]=Igra s kartami pokra -GenericName[sr]=Покер, игра са картама -GenericName[sr@Latn]=Poker, igra sa kartama -GenericName[sv]=Pokerkortspel -GenericName[ta]=போக்கர் அட்டை விளையாட்டு -GenericName[uk]=Карти - гра в покер -GenericName[zh_TW]=紙牌遊戲 Terminal=false Type=Application X-TDE-StartupNotify=true |