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 /kmahjongg | |
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 'kmahjongg')
-rw-r--r-- | kmahjongg/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kmahjongg/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kmahjongg/kmahjongg.desktop | 62 |
3 files changed, 7 insertions, 65 deletions
diff --git a/kmahjongg/CMakeL10n.txt b/kmahjongg/CMakeL10n.txt index 8ab468e6..96ea0b79 100644 --- a/kmahjongg/CMakeL10n.txt +++ b/kmahjongg/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kmahjongg" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kmahjongg.desktop/" + SOURCES kmahjongg.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kmahjongg/CMakeLists.txt b/kmahjongg/CMakeLists.txt index c90d3fc8..5bcfe67c 100644 --- a/kmahjongg/CMakeLists.txt +++ b/kmahjongg/CMakeLists.txt @@ -38,9 +38,7 @@ install( FILES kmahjonggui.rc DESTINATION ${DATA_INSTALL_DIR}/kmahjongg ) -install( FILES kmahjongg.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kmahjongg.desktop ) install( FILES kmahjongg.kcfg DESTINATION ${KCFG_INSTALL_DIR} diff --git a/kmahjongg/kmahjongg.desktop b/kmahjongg/kmahjongg.desktop index 10dafe43..f7069a72 100644 --- a/kmahjongg/kmahjongg.desktop +++ b/kmahjongg/kmahjongg.desktop @@ -1,70 +1,8 @@ [Desktop Entry] Name=KMahjongg -Name[af]=Kmahjong -Name[ar]=لعبة KMahjongg -Name[be]=Маджонг -Name[bn]=কে-মাহজং -Name[eo]=Mahjongo -Name[hi]=के-महजोंग -Name[ne]=केडीई माहजोङ -Name[pa]=ਕੇ-ਮਹਿਜੋਂਗ -Name[pl]=Mahjongg -Name[sv]=Kmahjongg -Name[tg]=KМаҷонг -Name[th]=มาจง - K -Name[zh_TW]=KMahjongg 麻將 Exec=kmahjongg %i %m -caption "%c" Type=Application GenericName=Mahjongg-like Tile Game -GenericName[be]=Гульня ў маджонг -GenericName[bg]=Игра с плочки -GenericName[bn]=মাহজং-জাতীয় টালির খেলা -GenericName[br]=Ur c'hoari teol a seurt gant Mahjongg -GenericName[bs]=Igra nalik na Mahjongg -GenericName[ca]=Joc de mosaics a l'estil Mahjongg -GenericName[cs]=Hra s dlaždicemi podobná Mahjongg -GenericName[cy]=Gêm Deiliau sy'n debyg i Mahjongg -GenericName[da]=Mahjongg-lignende flisespil -GenericName[de]=Mahjongg-ähnliches Spiel mit Steinen -GenericName[el]=Παιχνίδι παρόμοιο με το Mahjongg -GenericName[eo]=Mahjongg-simila ludo -GenericName[es]=Juego de fichas similar al Mahjongg -GenericName[et]=Mahjonggi moodi klotsimäng -GenericName[eu]=Mahjongg-en antzeko fitxa-jokoa -GenericName[fa]=بازی کاشی شبیه Mahjongg -GenericName[fi]=Mahjonggin kaltainen peli -GenericName[fr]=Jeu de tuiles dans le style du Mahjongg -GenericName[ga]=Cluiche Tíleanna Mar Mahjongg -GenericName[he]=חיקוי Mahjongg, משחק אבנים (קלפים) -GenericName[hr]=Igra s pločicama poput Mahjongga -GenericName[hu]=Mahjongg -GenericName[is]=Leikur sem líkist Mahjongg -GenericName[it]=Gioco di tessere simile a Mahjongg -GenericName[ja]=上海マージャン牌ゲーム -GenericName[km]=ល្បែងក្បឿងដូច Mahjongg -GenericName[ko]=시센-쇼 마작과 같은 타일 게임 -GenericName[lt]=Mahjongg primenantis žaidimas -GenericName[lv]=Mahjongg līdzīga spēle -GenericName[mk]=Игра со плочки слична на Mahjongg -GenericName[nb]=Mahjongg-aktig brikkespill -GenericName[nds]=Mahjongg-liek Speel -GenericName[ne]=माहजोङ जस्तै टायल खेल -GenericName[nl]=Mahjongg-achtig stenenspel -GenericName[nn]=Mahjongg-aktig brikkespel -GenericName[pl]=Gra typu Mahjonng -GenericName[pt]=Jogo de Padrões tipo Mahjongg -GenericName[pt_BR]=Jogo de Ladrilhos parecido com Mahjongg -GenericName[ru]=Маджонг -GenericName[se]=Mahjongg-lágan bihttáspeallu -GenericName[sk]=Hra typu Mahjongg -GenericName[sl]=Igra s ploščicami, podobna Mahjonggu -GenericName[sr]=Игра са пољима налик на Mahjongg -GenericName[sr@Latn]=Igra sa poljima nalik na Mahjongg -GenericName[sv]=Mahjongg-liknande brickspel -GenericName[ta]=மாஹ்ஜோங்-போன்ற ஓடு விளையாட்டு -GenericName[uk]=Гра з плитками подібна до Mahjongg -GenericName[zh_CN]=对对碰 -GenericName[zh_TW]=麻將牌遊戲 Terminal=false Icon=kmahjongg X-TDE-StartupNotify=true |