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 /ksokoban | |
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 'ksokoban')
-rw-r--r-- | ksokoban/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | ksokoban/data/CMakeLists.txt | 4 | ||||
-rw-r--r-- | ksokoban/data/ksokoban.desktop | 59 |
3 files changed, 7 insertions, 62 deletions
diff --git a/ksokoban/CMakeL10n.txt b/ksokoban/CMakeL10n.txt index bc58bcaf..4f4bed5c 100644 --- a/ksokoban/CMakeL10n.txt +++ b/ksokoban/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "ksokoban" ) + +tde_l10n_create_template( + CATALOG "desktop_files/ksokoban.desktop/" + SOURCES data/ksokoban.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/ksokoban/data/CMakeLists.txt b/ksokoban/data/CMakeLists.txt index e1114b1b..afbdc620 100644 --- a/ksokoban/data/CMakeLists.txt +++ b/ksokoban/data/CMakeLists.txt @@ -5,6 +5,4 @@ tde_install_icons( ksokoban ) ##### other data ################################ -install( FILES ksokoban.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( ksokoban.desktop ) diff --git a/ksokoban/data/ksokoban.desktop b/ksokoban/data/ksokoban.desktop index 2fb4ebf0..60c3ec3c 100644 --- a/ksokoban/data/ksokoban.desktop +++ b/ksokoban/data/ksokoban.desktop @@ -1,65 +1,6 @@ [Desktop Entry] Name=KSokoban -Name[af]=Ksokoban -Name[be]=Сакабан -Name[bn]=কে-সোকোবান -Name[hi]=के-शोकोबॉन -Name[mk]=КСокобан -Name[nb]=Sokoban -Name[ne]=केडीई सोकोबान -Name[pl]=Sokoban -Name[sv]=Ksokoban -Name[ta]=Kசோகோபான் -Name[tg]=KСокобан -Name[zh_TW]=KSokoban 倉庫番 -Name[zu]=I-KSokoban GenericName=Sokoban Game -GenericName[be]=Гульня Сакабан -GenericName[bg]=Логическа игра -GenericName[bn]=সোকোবান খেলা -GenericName[bs]=Igra Sokoban -GenericName[ca]=Joc Sokoban -GenericName[cs]=Hra Sokoban -GenericName[cy]=Gêm Sokoban -GenericName[da]=Sokoban spil -GenericName[de]=Sokoban Spiel -GenericName[el]=Παιχνίδι Sokoban -GenericName[eo]=Sokobana ludo -GenericName[es]=Juego Sokoban -GenericName[et]=Sokoban -GenericName[eu]=Sokoban jokoa -GenericName[fa]=بازی Sokoban -GenericName[fi]=Sokoban -GenericName[fr]=Jeu Sokoban -GenericName[ga]=Cluiche Sokoban -GenericName[he]=משחק Sokoban -GenericName[hr]=Sokoban -GenericName[hu]=Sokoban -GenericName[is]=Sokoban leikur -GenericName[it]=Gioco del Sokoban -GenericName[ja]=倉庫番ゲーム -GenericName[km]=ល្បែងសូកូបាន -GenericName[lt]=Sokoban žaidimas -GenericName[lv]=Sokoban spēle -GenericName[mk]=Игра Сокобан -GenericName[nb]=Sokoban-spill -GenericName[nds]=Sokoban-Speel -GenericName[ne]=सोकोबान खेल -GenericName[nl]=Sokobanspel -GenericName[nn]=Sokoban-spel -GenericName[pl]=Sokoban -GenericName[pt]=Jogo de Sokoban -GenericName[pt_BR]=Jogo de Sokoban -GenericName[ru]=Сокобан -GenericName[se]=Sokoban-speallu -GenericName[sk]=Hra Sokoban -GenericName[sl]=Igra Sokobana -GenericName[sr]=Игра Sokoban-а -GenericName[sr@Latn]=Igra Sokoban-a -GenericName[sv]=Sokoban-spel -GenericName[ta]=சொகோபான் விளையாட்டு -GenericName[uk]=Гра Sokoban -GenericName[zh_TW]=倉庫番遊戲 X-DocPath=ksokoban/index.html Exec=ksokoban %i %m -caption "%c" Icon=ksokoban |