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 /kenolaba | |
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 'kenolaba')
-rw-r--r-- | kenolaba/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kenolaba/CMakeLists.txt | 5 | ||||
-rw-r--r-- | kenolaba/kenolaba.desktop | 54 |
3 files changed, 8 insertions, 57 deletions
diff --git a/kenolaba/CMakeL10n.txt b/kenolaba/CMakeL10n.txt index 018141a9..e55e8c83 100644 --- a/kenolaba/CMakeL10n.txt +++ b/kenolaba/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kenolaba" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kenolaba.desktop/" + SOURCES kenolaba.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kenolaba/CMakeLists.txt b/kenolaba/CMakeLists.txt index e5398246..fe0025e8 100644 --- a/kenolaba/CMakeLists.txt +++ b/kenolaba/CMakeLists.txt @@ -33,10 +33,9 @@ tde_install_icons( kenolaba ) ##### other data ################################ + install( FILES kenolabaui.rc DESTINATION ${DATA_INSTALL_DIR}/kenolaba ) -install( FILES kenolaba.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kenolaba.desktop ) diff --git a/kenolaba/kenolaba.desktop b/kenolaba/kenolaba.desktop index 150e8612..0aa135e8 100644 --- a/kenolaba/kenolaba.desktop +++ b/kenolaba/kenolaba.desktop @@ -1,64 +1,10 @@ [Desktop Entry] Name=Kenolaba -Name[ar]=لعبة Kenolaba -Name[be]=Абалон -Name[bn]=কেনোলাবা -Name[hi]=के-नोलाबा -Name[ne]=केनोलाबा -Name[pa]=ਕੀਨੋਲਾਬਾ -Name[ta]=கெனோப்ளா -Name[tg]=Кенолаба -Name[zh_TW]=Kenolaba 互推 -Name[zu]=I-Kenolaba Icon=kenolaba Type=Application Exec=kenolaba %i %m -caption "%c" X-DocPath=kenolaba/index.html GenericName=Abalone-like Board Game -GenericName[be]=Настольная гульня тыпу Абалон -GenericName[bg]=Логическа игра -GenericName[bn]=অ্যাবালন-জাতীয় ছকভিত্তিক খেলা -GenericName[br]=Ur c'hoari taolenn a seurt gant Abalone -GenericName[bs]=Igra nalik na Abalone -GenericName[ca]=Jocs de taula similar a l'Abalone -GenericName[cs]=Deskové hry podobné Abalone -GenericName[cy]=Gêm Fwrdd sy'n debyg i Abalone -GenericName[da]=Abalone-lignende brætspil -GenericName[de]=Abalone-ähnliches Brettspiel -GenericName[el]=Επιτραπέζιο παιχνίδι παρόμοιο με το Abalone -GenericName[eo]=Abalone-simila bretludo -GenericName[es]=Juegos de tablero similar a Abalone -GenericName[et]=Abalone moodi lauamäng -GenericName[eu]=Abalone bezalako mahai-jokoa -GenericName[fa]=بازی Abalone-like Board -GenericName[fi]=Abalone-tyylinen lautapeli -GenericName[fr]=Jeu de plateau dans le style d'Abalone -GenericName[he]=חיקוי Abalon, משחק לוח -GenericName[hr]=Igra na ploči poput Abalonea -GenericName[hu]=Abalone-szerű táblás -GenericName[is]=Leikur sem líkist Abalone -GenericName[it]=Gioco da tavolo simile ad Abalone -GenericName[ja]=Abalone のようなボードゲーム -GenericName[km]=ល្បែងក្តារដូច Abalone -GenericName[lv]=Abalone līdzīga galda spēle -GenericName[mk]=Игра на табла слична на Abalone -GenericName[nb]=Abalone-lignende brettspill -GenericName[nds]=Abalone-liek Brettspeel -GenericName[ne]=एबालोन जस्तै बोर्ड खेल -GenericName[nl]=Abalone-achtig bordspel -GenericName[nn]=Abalone-liknande brettspel -GenericName[pl]=Gra planszowa typu Abalone -GenericName[pt]=Jogo de Tabuleiro tipo Abalone -GenericName[pt_BR]=Jogo parecido com Abalone -GenericName[ru]=Абалоне -GenericName[se]=Abalone-lágan duolbbášspeallu -GenericName[sk]=Stolová hra typu Abalone -GenericName[sl]=Ploščadna igra, podobna Abalone -GenericName[sr]=Игра на табли налик на Abalone -GenericName[sr@Latn]=Igra na tabli nalik na Abalone -GenericName[sv]=Abalone-liknande brädspel -GenericName[uk]=Гра на дошці подібна до гри Abalone -GenericName[zh_TW]=類似 Abalone 的棋盤遊戲 X-TDE-StartupNotify=true X-DCOP-ServiceType=Multi Categories=Qt;TDE;Game;BoardGame; |