summaryrefslogtreecommitdiffstats
path: root/ksnake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-10 21:25:06 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-12 14:19:33 +0200
commita25cdc59c6302046b3121276f5a33f6b1b55a538 (patch)
tree5c41c38d0c81e99bfe2d3a8564af42cc2d92941f /ksnake
parentdc556f3e9a46e749b36cf773f9211db4ce58d96b (diff)
downloadtdegames-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 'ksnake')
-rw-r--r--ksnake/CMakeL10n.txt6
-rw-r--r--ksnake/CMakeLists.txt4
-rw-r--r--ksnake/ksnake.desktop71
3 files changed, 7 insertions, 74 deletions
diff --git a/ksnake/CMakeL10n.txt b/ksnake/CMakeL10n.txt
index 5ba012be..e2e0dab9 100644
--- a/ksnake/CMakeL10n.txt
+++ b/ksnake/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "ksnake" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/ksnake.desktop/"
+ SOURCES ksnake.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/ksnake/CMakeLists.txt b/ksnake/CMakeLists.txt
index ada0dac8..ff370694 100644
--- a/ksnake/CMakeLists.txt
+++ b/ksnake/CMakeLists.txt
@@ -38,9 +38,7 @@ install( FILES ksnake.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
)
-install( FILES ksnake.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ksnake.desktop )
install( FILES ksnakeui.rc
DESTINATION ${DATA_INSTALL_DIR}/ksnake
diff --git a/ksnake/ksnake.desktop b/ksnake/ksnake.desktop
index 1a5f9eeb..b41f7dbc 100644
--- a/ksnake/ksnake.desktop
+++ b/ksnake/ksnake.desktop
@@ -1,80 +1,9 @@
[Desktop Entry]
Name=KSnakeRace
-Name[af]=K-slang-resies
-Name[ar]=لعبة سباق الأفعى (KSnakeRace)
-Name[be]=Змяіныя гонкі
-Name[bn]=কে-স্নেকরেস
-Name[ca]=Cursa de serps
-Name[eo]=Serpentkurado
-Name[fi]=KSnake
-Name[hi]=के-स्नेक-रेस
-Name[hr]=KUtrka zmija
-Name[hu]=Kígyóverseny
-Name[is]=Slönguleikurinn
-Name[nb]=Slangeløp
-Name[ne]=केडीई सर्प दौड
-Name[nn]=Slangeløp
-Name[pa]=ਕੇ-ਸੱਪ ਦੌੜ
-Name[pl]=Wyścig węży
-Name[pt_BR]=KCorrida de Cobras
-Name[se]=Gearpmašgilvu
-Name[sv]=Ksnakerace
-Name[ta]=Kபாம்பு பந்தயம்
-Name[tg]=KМусобиқаи Морчаҳо
-Name[th]=แข่งวิ่งงู - K
-Name[tr]=Yılan Yarışı
-Name[zh_TW]=KSnakeRace 貪食蛇
-Name[zu]=I-KSnakeRace
Icon=ksnake
Exec=ksnake %i %m -caption "%c"
X-DocPath=ksnake/index.html
GenericName=Snake Race Game
-GenericName[be]=Змяіныя гонкі
-GenericName[bg]=Змии и ябълки
-GenericName[bn]=স্নেক রেস খেলা
-GenericName[bs]=Igra utrke zmija
-GenericName[ca]=Joc de cursa de serps
-GenericName[cs]=Závod hadů
-GenericName[cy]=Gêm Ras Nadredd
-GenericName[da]=Slangevæddeløb spil
-GenericName[de]=Schlangenrennen
-GenericName[el]=Παιχνίδι αγώνα φιδιών
-GenericName[eo]=Serpent-vetkura ludo
-GenericName[es]=Juego de la carrera de la serpiente
-GenericName[et]=Ussiralli
-GenericName[eu]=Snake Race jokoa
-GenericName[fa]=بازی مسابقۀ مار
-GenericName[fi]=Matokilpailupeli
-GenericName[fr]=Jeu de course de serpent
-GenericName[he]=משחק מירוץ נחשים
-GenericName[hr]=Igra utrke zmija
-GenericName[hu]=Ügyességi
-GenericName[is]=Snákakapphlaup
-GenericName[it]=Gioco del Snake Race
-GenericName[ja]=蛇のレースゲーム
-GenericName[km]=ល្បែង​ប្រណាំង​ពស់
-GenericName[lv]=Čūsku skriešanās spēle
-GenericName[mk]=Игра со трки на змии
-GenericName[nb]=Slangespill
-GenericName[nds]=Schlangenwettloop
-GenericName[ne]=सर्प दौड खेल
-GenericName[nl]=Slangenracespel
-GenericName[nn]=Slangespel
-GenericName[pa]=ਸੱਪ ਦੌੜ ਖੇਡ
-GenericName[pl]=Wyścig węży
-GenericName[pt]=Jogo de Corrida de Cobras
-GenericName[pt_BR]=Jogo de corrida de cobras
-GenericName[ru]=Змеиные гонки
-GenericName[se]=Gearpmášspeallu
-GenericName[sk]=Hra Snake Race
-GenericName[sl]=Igra dirke kač
-GenericName[sr]=Игра змијица
-GenericName[sr@Latn]=Igra zmijica
-GenericName[sv]=Orm-racespel
-GenericName[ta]=பாம்பு ஓட்ட விளையாட்டு
-GenericName[uk]=Гра схожа на перегони пітонів
-GenericName[zh_CN]=贪食蛇
-GenericName[zh_TW]=吞食蛇遊戲
Terminal=false
Type=Application
X-TDE-StartupNotify=true