summaryrefslogtreecommitdiffstats
path: root/ktuberling
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 /ktuberling
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 'ktuberling')
-rw-r--r--ktuberling/CMakeL10n.txt6
-rw-r--r--ktuberling/CMakeLists.txt9
-rw-r--r--ktuberling/ktuberling.desktop112
-rw-r--r--ktuberling/x-tuberling.desktop51
4 files changed, 13 insertions, 165 deletions
diff --git a/ktuberling/CMakeL10n.txt b/ktuberling/CMakeL10n.txt
index 1d3af55b..6f1f5597 100644
--- a/ktuberling/CMakeL10n.txt
+++ b/ktuberling/CMakeL10n.txt
@@ -15,3 +15,9 @@ tde_l10n_create_template(
"pics/layout.i18n"
"pics/layout.xml.tde_l10n"
)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/ktuberling-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/ktuberling/CMakeLists.txt b/ktuberling/CMakeLists.txt
index d8136023..5fdf5025 100644
--- a/ktuberling/CMakeLists.txt
+++ b/ktuberling/CMakeLists.txt
@@ -36,12 +36,15 @@ tde_install_icons( ktuberling )
##### other data ################################
-install( FILES x-tuberling.desktop
+tde_create_translated_desktop(
+ SOURCE x-tuberling.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ktuberling-desktops
)
-install( FILES ktuberling.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE ktuberling.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ktuberling-desktops
)
install( FILES ktuberlingui.rc
diff --git a/ktuberling/ktuberling.desktop b/ktuberling/ktuberling.desktop
index 4e840301..7e665761 100644
--- a/ktuberling/ktuberling.desktop
+++ b/ktuberling/ktuberling.desktop
@@ -1,119 +1,7 @@
[Desktop Entry]
Exec=ktuberling %i %m -caption "%c" %u
Name=Potato Guy
-Name[af]=Aartappel Man
-Name[ar]=لعبة رجل البطاطا
-Name[az]=Kartof Adam
-Name[be]=Бульбяш
-Name[bn]=পটেটো গাই
-Name[br]=Paotr ar patatez
-Name[ca]=Home Patata
-Name[ca@valencia]=Home Patata
-Name[cs]=Bramborový chlapík
-Name[cy]=Potato Guy
-Name[da]=Kartoffelfyren
-Name[de]=Kartoffelknülch
-Name[el]=Πατατάνθρωπος
-Name[en_GB]=Potato Guy
-Name[eo]=Terpomulo
-Name[es]=Señor Patata
-Name[et]=Kartulimees
-Name[eu]=Patata jauna
-Name[fa]=مرد سیب زمینی
-Name[fi]=Perunamies
-Name[fo]=Eplamaður
-Name[fr]=Monsieur patate
-Name[ga]=Potato Guy
-Name[gl]=O home pataca
-Name[he]=מר תפוח אדמה
-Name[hne]=आलू परसाद
-Name[hr]=Krumpirko
-Name[hu]=Krumpli bácsi
-Name[is]=Kartöflukall
-Name[it]=Uomo patata
-Name[ja]=ポテトマン
-Name[km]=មនុស្ស​ដំឡូង
-Name[ko]=Potato Guy
-Name[lt]=Bulvinis Vyrukas
-Name[lv]=Kartupeļu vīrs
-Name[mk]=Компирко
-Name[nb]=Potetfyren
-Name[nds]=Kantüffelfips
-Name[ne]=पोट्याटो गाइ
-Name[nl]=Aardappelmannetje
-Name[nn]=Potetfyren
-Name[pa]=ਆਲੂ ਮੁੰਡਾ
-Name[pl]=Ziemniaczany facet
-Name[pt]=Homem Batata
-Name[pt_BR]=Potato Guy
-Name[ro]=Domnul Cartof
-Name[ru]=Картофельный парень
-Name[se]=Buđetolmmái
-Name[sk]=Zemiakový chlapec
-Name[sl]=Krompirček
-Name[sr]=Кромпирко
-Name[sr@ijekavian]=Кромпирко
-Name[sr@ijekavianlatin]=Krompirko
-Name[sr@latin]=Krompirko
-Name[sv]=Potatismannen
-Name[ta]=உருளைகிழங்கு வீரர்
-Name[tg]=Писараки Картошкагин
-Name[th]=นายมันฝรั่ง - K
-Name[tr]=Patates Adam
-Name[uk]=Картопляний хлопець
-Name[vi]=Potato Guy
-Name[wa]=Monsieu Crompire
-Name[xh]=Umfana wetapile
-Name[zh_CN]=土豆小子
-Name[zh_TW]=馬鈴薯小子
-Name[zu]=I-Potato Guy
GenericName=Picture Game for Children
-GenericName[ca]=Joc d'imatges per a la canalla
-GenericName[ca@valencia]=Joc d'imatges per a la canalla
-GenericName[cs]=Obrázková hra pro děti
-GenericName[da]=Billedspil til børn
-GenericName[de]=Bastelspiel für Kinder
-GenericName[el]=Παιχνίδι με εικόνες για παιδιά
-GenericName[en_GB]=Picture Game for Children
-GenericName[eo]=Bildludo por infanoj
-GenericName[es]=Juego de dibujo para niños
-GenericName[et]=Laste pildimäng
-GenericName[eu]=Umeentzako irudien jokoa
-GenericName[fa]=بازی تصویری برای بچه‌‌‌ها
-GenericName[fi]=Peli lapsille
-GenericName[fr]=Jeu d'image pour les enfants
-GenericName[ga]=Cluiche Pictiúir do Phaistí
-GenericName[gl]=Xogo de imaxes para nenos
-GenericName[hne]=लइका मन बर फोटू वाले खेल
-GenericName[hu]=Gyermekjáték
-GenericName[it]=Gioco di immagini per bambini
-GenericName[ja]=子供のための福笑いゲーム
-GenericName[km]=ល្បែង​រូបភាព​សម្រាប់​ក្មេងៗ
-GenericName[ko]=어린이를 위한 그림 게임
-GenericName[lv]=Bilžu spēle bērniem
-GenericName[nb]=Bildespill for unger
-GenericName[nds]=Billerspeel för Kinners
-GenericName[nl]=Plaatjesspel voor kinderen
-GenericName[nn]=Biletspel for ungar
-GenericName[pl]=Gra obrazkowa dla dzieci
-GenericName[pt]=Jogo de Imagens para Crianças
-GenericName[pt_BR]=Jogo de figuras para Crianças
-GenericName[ro]=Joc cu imagini pentru copii
-GenericName[ru]=Игра с картинками для детей
-GenericName[sk]=Obrázková hra pre deti
-GenericName[sl]=Slikovna igra za otroke
-GenericName[sr]=Игра за децу
-GenericName[sr@ijekavian]=Игра за дјецу
-GenericName[sr@ijekavianlatin]=Igra za djecu
-GenericName[sr@latin]=Igra za decu
-GenericName[sv]=Bildspel för barn
-GenericName[te]=పిల్లల చిత్రాల ఆట
-GenericName[tr]=Çocuklar için Resim Oyunu
-GenericName[uk]=Гра у картинки для дітей
-GenericName[wa]=Djeu d' dessin po ls efants
-GenericName[x-test]=xxPicture Game for Childrenxx
-GenericName[zh_CN]=孩子们的游戏
-GenericName[zh_TW]=小孩的圖畫遊戲
Type=Application
X-DocPath=ktuberling/index.html
Terminal=false
diff --git a/ktuberling/x-tuberling.desktop b/ktuberling/x-tuberling.desktop
index 4fceb4e1..aeaa60be 100644
--- a/ktuberling/x-tuberling.desktop
+++ b/ktuberling/x-tuberling.desktop
@@ -1,60 +1,11 @@
[Desktop Entry]
MimeType=application/x-tuberling
Comment=Potato
-Comment[ar]=بطاطا
-Comment[be]=Клубень
-Comment[bg]=Картоф
-Comment[bn]=আলু
-Comment[br]=Patatez
-Comment[bs]=Krompir
-Comment[cs]=Brambora
-Comment[da]=Kartoffel
-Comment[de]=Kartoffel
-Comment[el]=Πατάτα
-Comment[eo]=Terpomo
-Comment[es]=Papá Patata
-Comment[et]=Kartulimees
-Comment[eu]=Patata
-Comment[fa]=سیب‌زمینی
-Comment[fi]=Peruna
-Comment[fr]=Patate
-Comment[ga]=Práta
-Comment[gl]=Pataca
-Comment[he]=תפוח אדמה
-Comment[hi]=पोटैटो
-Comment[hr]=Krumpirko
-Comment[hu]=Krumpli
-Comment[is]=Kartafla
-Comment[it]=Patata
-Comment[ja]=ポテト
-Comment[km]=ដំឡូង
-Comment[lt]=Bulvė
-Comment[lv]=Kartupelis
-Comment[mk]=Компир
-Comment[nb]=Potet
-Comment[nds]=Kantüffel
-Comment[ne]=पोटेटो
-Comment[nl]=Aardappel
-Comment[nn]=Potet
-Comment[pa]=ਆਲੂ
-Comment[pl]=Ziemniak
-Comment[pt]=Batata
-Comment[pt_BR]=Batata
-Comment[se]=Buđet
-Comment[sk]=Zemiak
-Comment[sl]=Krompirček
-Comment[sv]=Potatis
-Comment[ta]=உருளைகிழங்கு
-Comment[tg]=Картошка
-Comment[tr]=Patates
-Comment[uk]=Картопля
-Comment[wa]=Crompire
-Comment[zh_CN]=土豆
-Comment[zh_TW]=馬鈴薯
Icon=ktuberling
Type=MimeType
Patterns=*.tuberling;
X-TDE-AutoEmbed=false
+
[Property::X-TDE-NativeExtension]
Type=TQString
Value=.tuberling