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 /lskat | |
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 'lskat')
-rw-r--r-- | lskat/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | lskat/CMakeLists.txt | 4 | ||||
-rw-r--r-- | lskat/lskat.desktop | 99 |
3 files changed, 8 insertions, 101 deletions
diff --git a/lskat/CMakeL10n.txt b/lskat/CMakeL10n.txt index b585ce4a..53380577 100644 --- a/lskat/CMakeL10n.txt +++ b/lskat/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_auto_add_subdirectories( ) + +tde_l10n_create_template( + CATALOG "desktop_files/lskat.desktop/" + SOURCES lskat.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/lskat/CMakeLists.txt b/lskat/CMakeLists.txt index ac533468..5198ddef 100644 --- a/lskat/CMakeLists.txt +++ b/lskat/CMakeLists.txt @@ -11,6 +11,4 @@ tde_install_icons( lskat ) ##### other data ################################ -install( FILES lskat.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( lskat.desktop ) diff --git a/lskat/lskat.desktop b/lskat/lskat.desktop index 5baa916b..d9cb6b76 100644 --- a/lskat/lskat.desktop +++ b/lskat/lskat.desktop @@ -1,105 +1,8 @@ [Desktop Entry] +Name=Lieutenant Skat GenericName=Card Game -GenericName[af]=Kaart Speletjie -GenericName[ar]=لعبة الورق -GenericName[be]=Картачная гульня -GenericName[bg]=Игра на карти -GenericName[bn]=তাস খেলা -GenericName[br]=C'hoari kartennoù -GenericName[bs]=Igra s kartama -GenericName[ca]=Joc de cartes -GenericName[cs]=Karty -GenericName[cy]=Gêm Cerdiau -GenericName[da]=Kortspil -GenericName[de]=Kartenspiel -GenericName[el]=Παιχνίδι καρτών -GenericName[eo]=Kartludo -GenericName[es]=Juego de cartas -GenericName[et]=Kaardimäng -GenericName[eu]=Karta-jokoa -GenericName[fa]=بازی ورق -GenericName[fi]=Korttipeli -GenericName[fo]=Kortspøl -GenericName[fr]=Jeu de cartes -GenericName[ga]=Cluiche Cártaí -GenericName[gl]=Xogo de cartas -GenericName[he]=משחק קלפים -GenericName[hi]=ताश के खेल -GenericName[hr]=Kartaška igra -GenericName[hu]=Kártyajáték -GenericName[is]=Spil -GenericName[it]=Gioco di carte -GenericName[ja]=カードゲーム -GenericName[km]=ល្បែងបៀ -GenericName[ko]=카드 놀이 -GenericName[lt]=Kortų žaidimas -GenericName[lv]=Kāršu Spēle -GenericName[mk]=Игра со карти -GenericName[mt]=Logħba tal-karti -GenericName[nb]=Kortspill -GenericName[nds]=Koortenspeel -GenericName[ne]=कार्ड खेल -GenericName[nl]=Kaartspel -GenericName[nn]=Kortspel -GenericName[nso]=Papadi ya Dikarata -GenericName[pa]=ਤਾਸ਼ ਖੇਡ -GenericName[pl]=Gra karciana -GenericName[pt]=Jogo de Cartas -GenericName[pt_BR]=Jogo de Cartas -GenericName[ro]=Un joc de cărţi -GenericName[ru]=Лейтенант Скат -GenericName[rw]=Umukino Ikarika -GenericName[se]=Goartaspeallu -GenericName[sk]=Kartová hra -GenericName[sl]=Igra s kartami -GenericName[sr]=Игра са картама -GenericName[sr@Latn]=Igra sa kartama -GenericName[sv]=Kortspel -GenericName[ta]=அட்டை விளையாட்டு -GenericName[tg]=Бозии Кортҳо -GenericName[th]=เกมไพ่ -GenericName[tr]=İskambil Oyunu -GenericName[uk]=Карти -GenericName[uz]=Qarta oʻyini -GenericName[uz@cyrillic]=Қарта ўйини -GenericName[ven]=Garatha ya Mutambo -GenericName[vi]=Game thẻ -GenericName[wa]=Cwårdjeu -GenericName[xh]=Ikhadi lomdlalo -GenericName[zh_CN]=牌类游戏 -GenericName[zh_TW]=紙牌遊戲 -GenericName[zu]=Umdlalo wamakhadi Exec=lskat Icon=lskat -Name=Lieutenant Skat -Name[bg]=Лейтенант Скат -Name[ca]=Tinent Skat -Name[cs]=Poručík Skat -Name[da]=Lieutnant Skat -Name[de]=Offiziersskat -Name[el]=Υπολοχαγός Skat -Name[eo]=Leŭtenanta skato -Name[es]=Teniente Skat -Name[et]=Leitnant Skat -Name[eu]=Skat tenientea -Name[fi]=Luutnantti Skat -Name[hr]=Vojnički Skat -Name[hu]=Skat hadnagy -Name[is]=Hermaðurinn Skat -Name[it]=Tenente Skat -Name[km]=Lieutnant Skat -Name[lt]=Leitenantas Skatas -Name[nds]=Buernskat -Name[ne]=लिउटिनान्ट स्काट -Name[nl]=Luitenant Skat -Name[nn]=Løytnant Skat -Name[pl]=Skat porucznika -Name[pt]=Tenente Skat -Name[pt_BR]=Tenente Skat -Name[sl]=Poročnik Skat -Name[sv]=Officersskat -Name[uk]=Лейтенант Скет -Name[wa]=Lieutnant Skat Terminal=false Type=Application X-DocPath=lskat/index.html |