diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-31 19:18:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-31 19:18:47 +0200 |
commit | cfe279f15a6ca1dad65d63f289a6a6a8a91bb024 (patch) | |
tree | a94e1b610ad1a7989454fea921479fcd34e6da7d /kpackage | |
parent | 1520d3a0913a80a9071c15c1a039e2b1c7dbb993 (diff) | |
download | tdeadmin-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 'kpackage')
-rw-r--r-- | kpackage/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kpackage/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kpackage/kpackage.desktop | 70 |
3 files changed, 7 insertions, 73 deletions
diff --git a/kpackage/CMakeL10n.txt b/kpackage/CMakeL10n.txt index bbe9bc2..ff4d283 100644 --- a/kpackage/CMakeL10n.txt +++ b/kpackage/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kpackage" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kpackage.desktop/" + SOURCES kpackage.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kpackage/CMakeLists.txt b/kpackage/CMakeLists.txt index 5853e6d..0be21c0 100644 --- a/kpackage/CMakeLists.txt +++ b/kpackage/CMakeLists.txt @@ -39,6 +39,4 @@ install( FILES kpackageui.rc DESTINATION ${DATA_INSTALL_DIR}/kpackage ) -install( FILES kpackage.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kpackage.desktop ) diff --git a/kpackage/kpackage.desktop b/kpackage/kpackage.desktop index 0c6d70b..a95516c 100644 --- a/kpackage/kpackage.desktop +++ b/kpackage/kpackage.desktop @@ -2,76 +2,6 @@ Name=KPackage GenericName=Package Manager -GenericName[af]=Paket Bestuurder -GenericName[ar]=مسيير الحزمات -GenericName[az]=Paket İdarəçisi -GenericName[bg]=Мениджър на пакети -GenericName[bn]=প্যাকেজ ম্যানেজার -GenericName[br]=Merour ar pakadoù -GenericName[bs]=Upravitelj paketima -GenericName[ca]=Gestor de paquets -GenericName[cs]=Správce balíčků -GenericName[cy]=Rheolydd Pecynnau -GenericName[da]=Pakkehåndtering -GenericName[de]=Paketverwaltung -GenericName[el]=Διαχειριστής πακέτων -GenericName[eo]=Administrilo por programpakaĵoj -GenericName[es]=Administrador de paquetes -GenericName[et]=Pakettide haldamine -GenericName[eu]=Pakete kudeatzailea -GenericName[fa]=مدیر بسته -GenericName[fi]=Ohjelmapakettien hallinta -GenericName[fo]=Pakkahandfarari -GenericName[fr]=Gestionnaire de paquetages -GenericName[ga]=Bainisteoir Pacáistí -GenericName[gl]=Xestor de Pacotes -GenericName[he]=מנהל חבילות -GenericName[hi]=पैकेज प्रबंधक -GenericName[hr]=Alat za upravljanje paketima -GenericName[hu]=Telepítő -GenericName[is]=Pakkastjóri -GenericName[it]=Gestione pacchetti -GenericName[ja]=パッケージマネージャ -GenericName[ka]=პაკეტების მმართველი -GenericName[kk]=Дестелер менеджері -GenericName[km]=កម្មវិធីគ្រប់គ្រងកញ្ចប់ -GenericName[ko]=꾸러미 관리자 -GenericName[lt]=Paketų tvarkyklė -GenericName[lv]=Pakotņu Menedžers -GenericName[mk]=Менаџер на пакети -GenericName[mn]=Багц Зохицуулагч -GenericName[ms]=Pengurus Pakej -GenericName[mt]=Manager ta' pakketti -GenericName[nb]=Pakkebehandler -GenericName[nds]=Paket-Pleger -GenericName[ne]=प्याकेज प्रबन्धक -GenericName[nl]=Pakketbeheerder -GenericName[nn]=Pakkehandsamar -GenericName[pa]=ਪੈਕੇਜ ਪਰਬੰਧਕ -GenericName[pl]=Menedżer pakietów -GenericName[pt]=Gestor de Pacotes -GenericName[pt_BR]=Gerenciador de Pacotes -GenericName[ro]=Manager de pachete -GenericName[ru]=Менеджер пакетов -GenericName[se]=Páhkkagieđahalli -GenericName[sk]=Správca balíkov -GenericName[sl]=Upravljalnik paketov -GenericName[sr]=Менаџер пакета -GenericName[sr@Latn]=Menadžer paketa -GenericName[sv]=Pakethanterare -GenericName[ta]=தொகுப்பு மேலாளர் -GenericName[tg]=Роҳбари Package -GenericName[th]=เครื่องมือจัดการแพ็คเกจ -GenericName[tr]=Paket Yöneticisi -GenericName[uk]=Менеджер пакунків -GenericName[ven]=Phakhedzhi ya Murangaphanda -GenericName[vi]=Bộ quản lý gói -GenericName[wa]=Manaedjeu di pacaedjes -GenericName[xh]=Umphathi Wokudityaniswe kunye -GenericName[zh_CN]=软件包管理器 -GenericName[zh_HK]=套件管理程式 -GenericName[zh_TW]=套件管理程式 -GenericName[zu]=Umphathi Wokusongwayo MimeType=application/x-rpm;application/x-deb; Exec=kpackage -caption "%c" %i %m %u |