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 /twin4 | |
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 'twin4')
-rw-r--r-- | twin4/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | twin4/CMakeLists.txt | 4 | ||||
-rw-r--r-- | twin4/twin4.desktop | 84 |
3 files changed, 7 insertions, 87 deletions
diff --git a/twin4/CMakeL10n.txt b/twin4/CMakeL10n.txt index b585ce4a..1c05936e 100644 --- a/twin4/CMakeL10n.txt +++ b/twin4/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_auto_add_subdirectories( ) + +tde_l10n_create_template( + CATALOG "desktop_files/twin4.desktop/" + SOURCES twin4.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/twin4/CMakeLists.txt b/twin4/CMakeLists.txt index 64dd715c..07286391 100644 --- a/twin4/CMakeLists.txt +++ b/twin4/CMakeLists.txt @@ -10,6 +10,4 @@ tde_install_icons( twin4 ) ##### other data ################################ -install( FILES twin4.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( twin4.desktop ) diff --git a/twin4/twin4.desktop b/twin4/twin4.desktop index 60561000..b21d098c 100644 --- a/twin4/twin4.desktop +++ b/twin4/twin4.desktop @@ -1,90 +1,6 @@ [Desktop Entry] Name=TWin4 -Name[af]=TWin4 -Name[be]=Перамога чатырох -Name[bn]=কে-উইন-ফোর -Name[de]=Vier gewinnt -Name[eo]=Kvar venkas -Name[es]=TWin4 -Name[hi]=के-विन4 -Name[hu]=Négy a nyerő -Name[is]=TWin4 -Name[nds]=Veer winnt -Name[ne]=केडीई विन ४ -Name[sv]=TWin4 -Name[ta]=Kவிண்4 -Name[tg]=TWin4 Ғолиб мешавад -Name[th]=เรียงหมาก 4 - K -Name[tr]=4 Kazanır -Name[zu]=I-TWin4 GenericName=Strategy Game -GenericName[af]=Strategie Speletjie -GenericName[ar]=لعبة استراتيجية -GenericName[be]=Стратэгічная гульня -GenericName[bg]=Морски шах -GenericName[bn]=কৌশলের খেলা -GenericName[br]=C'hoari a gadouriezh -GenericName[bs]=Strateška igra -GenericName[ca]=Joc d'estratègia -GenericName[cs]=Strategická hra -GenericName[cy]=Gêm Strategaeth -GenericName[da]=Strategispil -GenericName[de]=Strategiespiel -GenericName[el]=Παιχνίδι στρατηγικής -GenericName[eo]=Strategiludo -GenericName[es]=Juego de estrategia -GenericName[et]=Strateegiamäng -GenericName[eu]=Estrategia jokoa -GenericName[fa]=بازی Strategy -GenericName[fi]=Strategiapeli -GenericName[fo]=Strategispæl -GenericName[fr]=Jeu de stratégie -GenericName[ga]=Cluiche Straitéise -GenericName[gl]=Xogo de estratexia -GenericName[he]=משחק אסטרטגיה -GenericName[hi]=कौशल का खेल -GenericName[hr]=Igra strategije -GenericName[hu]=Stratégiai -GenericName[is]=Herkænskuleikur -GenericName[it]=Gioco di strategia -GenericName[ja]=戦略ゲーム -GenericName[km]=ល្បែងយុទ្ធសាស្ត្រ -GenericName[ko]=우주 전략 게임 -GenericName[lt]=Strateginis žaidimas -GenericName[lv]=Stratēģiskā Game -GenericName[mk]=Стратешка игра -GenericName[mt]=Logħba ta' strateġija -GenericName[nb]=Strategispill -GenericName[nds]=Strategiespeel -GenericName[ne]=रणनीति खेल -GenericName[nl]=Strategisch spel -GenericName[nn]=Strategispel -GenericName[pa]=ਨੀਤੀ ਖੇਡ -GenericName[pl]=Gra strategiczna -GenericName[pt]=Jogo de Estratégia -GenericName[pt_BR]=Jogo de Estratégia -GenericName[ro]=Joc de strategie -GenericName[ru]=Четыре побеждают -GenericName[rw]=Umukino w'Ingamba -GenericName[se]=Strategiijaspeallu -GenericName[sk]=Strategická hra -GenericName[sl]=Strateška igra -GenericName[sr]=Стратешка игра -GenericName[sr@Latn]=Strateška igra -GenericName[sv]=Strategispel -GenericName[ta]=தந்திர விளையாட்டு -GenericName[tg]=Бозии Стратегӣ -GenericName[th]=เกมกลยุทธ์ -GenericName[tr]=Strateji Oyunu -GenericName[uk]=Стратегічна гра "Чотири виграють" -GenericName[uz]=Strategiya oʻyini -GenericName[uz@cyrillic]=Стратегия ўйини -GenericName[ven]=Mutambo wa Maitele -GenericName[wa]=Djeu di stratedjeye -GenericName[xh]=Indlela yokudlala umdlalo -GenericName[zh_CN]=策略游戏 -GenericName[zh_TW]=策略遊戲 -GenericName[zu]=Umdlalo wamaqhinga Exec=twin4 Icon=twin4 MimeType= |