summaryrefslogtreecommitdiffstats
path: root/kdat
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-31 19:18:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-31 19:18:47 +0200
commitcfe279f15a6ca1dad65d63f289a6a6a8a91bb024 (patch)
treea94e1b610ad1a7989454fea921479fcd34e6da7d /kdat
parent1520d3a0913a80a9071c15c1a039e2b1c7dbb993 (diff)
downloadtdeadmin-cfe279f15a6ca1dad65d63f289a6a6a8a91bb024.tar.gz
tdeadmin-cfe279f15a6ca1dad65d63f289a6a6a8a91bb024.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 'kdat')
-rw-r--r--kdat/CMakeL10n.txt6
-rw-r--r--kdat/CMakeLists.txt4
-rw-r--r--kdat/kdat.desktop81
3 files changed, 7 insertions, 84 deletions
diff --git a/kdat/CMakeL10n.txt b/kdat/CMakeL10n.txt
index 4b83e24..5cc97b7 100644
--- a/kdat/CMakeL10n.txt
+++ b/kdat/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kdat" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kdat.desktop/"
+ SOURCES kdat.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kdat/CMakeLists.txt b/kdat/CMakeLists.txt
index 69491a4..76cd50d 100644
--- a/kdat/CMakeLists.txt
+++ b/kdat/CMakeLists.txt
@@ -39,6 +39,4 @@ tde_add_executable( kdat AUTOMOC
##### other data ################################
-install( FILES kdat.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( kdat.desktop )
diff --git a/kdat/kdat.desktop b/kdat/kdat.desktop
index 6e42121..4ab414d 100644
--- a/kdat/kdat.desktop
+++ b/kdat/kdat.desktop
@@ -1,87 +1,6 @@
[Desktop Entry]
Name=KDat
-Name[af]=Kdat
-Name[ar]=برنامج KDat
-Name[bn]=কে-ড্যাট
-Name[eo]=Surbendigilo
-Name[hi]=के-डेट
-Name[mn]=КДЕ Дат
-Name[ne]=केडीई ड्याट
-Name[sv]=Kdat
-Name[ta]=கேடாட்
-Name[tg]=KДат
-Name[th]=เทปสำรองข้อมูล - K
GenericName=Tape Backup Tool
-GenericName[af]=Kaset Rugsteun Program
-GenericName[ar]=أداة نسخ المحفوظات على الشريط
-GenericName[az]=Kasetə Ehtiyat Alma Vasitəsi
-GenericName[bg]=Лентов архиватор
-GenericName[bn]=টেপ ব্যাকআপ সরঞ্জাম
-GenericName[br]=Ostilh saveteiñ war seizenn
-GenericName[bs]=Alat za backup na traku
-GenericName[ca]=Utilitat per a còpies de seguretat en cintes
-GenericName[cs]=Zálohování na pásku
-GenericName[cy]=Erfyn Cefn-gopïo ar Dâp
-GenericName[da]=Værktøj til sikkerhedskopiering på bånd
-GenericName[de]=Dienstprogramm für Bandsicherungen
-GenericName[el]=Εργαλείο λήψη αντιγράφων ασφαλείας σε κασέτα
-GenericName[eo]=Bendsekurigilo
-GenericName[es]=Copia de cintas
-GenericName[et]=Varukoopiate haldamine (lindil)
-GenericName[eu]=Zinta backup tresna
-GenericName[fa]=ابزار پشتیبانی نوار
-GenericName[fi]=Nauhavarmistustyökalu
-GenericName[fo]=Trygdarritanaramboð
-GenericName[fr]=Outil de sauvegarde sur bandes
-GenericName[ga]=Uirlis Chúltaca Téipe
-GenericName[gl]=Cópia de Seguridade en Cintas
-GenericName[he]=כלי גיבוי באמצעות סרט
-GenericName[hi]=टेप बैकअप औज़ार
-GenericName[hr]=Alat za izradu sigurnosne kopije na traci
-GenericName[hu]=Szalagos mentés
-GenericName[is]=Spólu afritunartól
-GenericName[it]=Strumento per la copia di sicurezza su nastro
-GenericName[ja]=テープバックアップツール
-GenericName[ka]=სარეზერვო ასლის ხელსაწყო
-GenericName[kk]=Таспаға сақтық көшірмелеу құралы
-GenericName[km]=ឧបករណ៍​បម្រុង​ទុក​កាសែត
-GenericName[ko]=테이프 백업 도구
-GenericName[lt]=Juostinio archyvavimo priemonė
-GenericName[lv]=Lentas Rezervēšanas Rīks
-GenericName[mk]=Алатка за заштитни копии на ленти
-GenericName[mn]=Соронзон хальсанд Хадгалагч
-GenericName[ms]=Alat Ganti Sedia
-GenericName[mt]=Għodda għal backup fuq tapes
-GenericName[nb]=Verktøy for sikkerhetskopiering til magnetbånd
-GenericName[nds]=Bandsekerheitkopiewarktüüch
-GenericName[ne]=टेप जगेडा उपकरण
-GenericName[nl]=Tape backup-programma
-GenericName[nn]=Reservekopiering på band
-GenericName[pa]=ਟੇਪ ਬੈਕਅੱਪ ਸੰਦ
-GenericName[pl]=Narzędzie do kopii na taśmie
-GenericName[pt]=Ferramenta de Salvaguarda em Fita
-GenericName[pt_BR]=Ferramenta de Backup em Fita
-GenericName[ro]=Utilitar de salvare pe benzi
-GenericName[ru]=Утилита архивирования на ленту
-GenericName[se]=Liigemáŋgen báddái
-GenericName[sk]=Zálohovanie na pásku
-GenericName[sl]=Orodje za tračne rezervne kopije
-GenericName[sr]=Алат за архивирање на траку
-GenericName[sr@Latn]=Alat za arhiviranje na traku
-GenericName[sv]=Verktyg för bandsäkerhetskopiering
-GenericName[ta]=நாடா காப்பக கருவி
-GenericName[tg]=Утилита барои архив кардан ба тасма
-GenericName[th]=เครื่องมือเทปสำรองข้อมูล
-GenericName[tr]=Teyp Yedekleme Aracı
-GenericName[uk]=Засіб резервування на стрічку
-GenericName[ven]=Tshishumiswa tsha Theipi tshau Thusedza
-GenericName[vi]=Công cụ sao lưu băng
-GenericName[wa]=Usteye di copeyes di såvrité so bindes
-GenericName[xh]=Isixhobo Sokuncedisa Iteyipu
-GenericName[zh_CN]=磁带备份工具
-GenericName[zh_HK]=磁帶備份工具
-GenericName[zh_TW]=磁帶備份工具
-GenericName[zu]=Ithuluzi Yethephu Yokugcina umsebenzi uphephile
Exec=kdat %i %m -caption "%c"
Icon=kdat
Type=Application