diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-22 02:49:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-24 15:49:49 +0200 |
commit | a1066b66a7b397f1cdac40d6970b9640184fe8f6 (patch) | |
tree | 023614a603e30a1f7a3ae99c3bbc366fcb4b2178 /ark | |
parent | 2f27665e4d477b9016dc38bf4d83945a371f9c0d (diff) | |
download | tdeutils-a1066b66a7b397f1cdac40d6970b9640184fe8f6.tar.gz tdeutils-a1066b66a7b397f1cdac40d6970b9640184fe8f6.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>
(cherry picked from commit 296306a273438f476ab2266d1c03616de1fd5ef7)
Diffstat (limited to 'ark')
-rw-r--r-- | ark/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | ark/CMakeLists.txt | 10 | ||||
-rw-r--r-- | ark/ark.desktop | 72 | ||||
-rw-r--r-- | ark/ark_part.desktop | 127 |
4 files changed, 12 insertions, 203 deletions
diff --git a/ark/CMakeL10n.txt b/ark/CMakeL10n.txt index 998367b..33c9320 100644 --- a/ark/CMakeL10n.txt +++ b/ark/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "ark" ) + +tde_l10n_create_template( + CATALOG "desktop_files/ark-desktops/" + SOURCES *.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/ark/CMakeLists.txt b/ark/CMakeLists.txt index 611b5b7..987ab1c 100644 --- a/ark/CMakeLists.txt +++ b/ark/CMakeLists.txt @@ -67,15 +67,17 @@ install( FILES arkui.rc ark_part.rc DESTINATION ${DATA_INSTALL_DIR}/ark ) -install( FILES ark.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE ark.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ark-desktops ) -install( FILES ark_part.desktop +tde_create_translated_desktop( + SOURCE ark_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ark-desktops ) install( FILES ark.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) - diff --git a/ark/ark.desktop b/ark/ark.desktop index 9936595..e51f801 100644 --- a/ark/ark.desktop +++ b/ark/ark.desktop @@ -1,79 +1,7 @@ [Desktop Entry] MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-zip;application/zip;application/x-bzip;application/x-tzo;application/x-lzop;application/x-rar;application/x-zoo;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;application/x-pak;application/x-lzma;application/x-xz;application/x-txz;application/x-tlz GenericName=Archiving Tool -GenericName[af]=Argiveer Program -GenericName[ar]=أداة أرشفة -GenericName[bg]=Работа с архиви -GenericName[br]=Ostilh merañ an Dielloù -GenericName[bs]=Alat za arhiviranje -GenericName[ca]=Eina d'arxivament -GenericName[cs]=Archivační nástroj -GenericName[cy]=Erfyn Archifo -GenericName[da]=Arkiveringsværktøj -GenericName[de]=Archivprogramm -GenericName[el]=Εργαλείο αρχειοθέτησης -GenericName[eo]=Arĥivilo -GenericName[es]=Archivador -GenericName[et]=Arhiivide haldamise rakendus -GenericName[eu]=Artxibaketa Tresna -GenericName[fa]=ابزار بایگانی -GenericName[fi]=Pakettienhallintatyökalu -GenericName[fr]=Outil de manipulation d'archives -GenericName[ga]=Uirlis Chartlannaithe -GenericName[he]=כלי לניהול ארכיונים -GenericName[hi]=अभिलेख औज़ार -GenericName[hr]=Uslužni program za arhiviranje -GenericName[hu]=Fájltömörítő -GenericName[is]=Vinna með safnskrár -GenericName[it]=Strumento di archiviazione -GenericName[ja]=アーカイバツール -GenericName[ka]=არქივებთან სამუშაო უტილიტა -GenericName[kk]=Архивтеу құралы -GenericName[km]=ឧបករណ៍ប័ណ្ណសារ -GenericName[lt]=Archyvavimo priemonė -GenericName[lv]=Arhivēšanas Rīks -GenericName[mk]=Алатка за архивирање -GenericName[ms]=Alatan Pengarkiban -GenericName[mt]=Għodda tal-arkivji -GenericName[nb]=Arkiveringsverktøy -GenericName[nds]=Archivwarktüüch -GenericName[ne]=उपकरण सङ्ग्रह गर्दै -GenericName[nl]=Archiefgereedschap -GenericName[nn]=Arkiveringsverktøy -GenericName[pa]=ਪੁਰਾਲੇਖ ਸੰਦ -GenericName[pl]=Narzędzie do archiwizacji -GenericName[pt]=Ferramenta de Armazenamento -GenericName[pt_BR]=Ferramenta de Arquivamento -GenericName[ro]=Utilitar de arhivare -GenericName[ru]=Архиватор -GenericName[sk]=Archivačný nástroj -GenericName[sl]=Orodje za ravnanje z arhivi -GenericName[sr]=Алат за архивирање -GenericName[sr@Latn]=Alat za arhiviranje -GenericName[sv]=Arkiveringsverktyg -GenericName[ta]=காப்பக கருவி -GenericName[tg]=Асбобҳои Бойгонӣ -GenericName[th]=เครื่องมือจัดการแฟ้มบีบอัด -GenericName[tr]=Arşivleme Aracı -GenericName[uk]=Засіб роботи з архівами -GenericName[uz]=Arxivlash vositasi -GenericName[uz@cyrillic]=Архивлаш воситаси -GenericName[ven]=Tshishumiswa tsha fhethu huno vhulungelwa hone zwithu zwa kale -GenericName[vi]=Công cụ nén -GenericName[wa]=Usteye d' årtchivaedje -GenericName[xh]=Isixhobo Sokuphatha i Archive -GenericName[zh_CN]=文件压缩归档工具 -GenericName[zh_TW]=壓縮工具 -GenericName[zu]=Ithuluzi Lomqulu Name=Ark -Name[ar]=أرك -Name[eo]=Arĥivilo -Name[hi]=आर्क -Name[ne]=आर्क -Name[nso]=Areka -Name[pa]=ਆਕ -Name[ta]=ஆர்க் -Name[th]=อาร์ค Exec=ark -caption "%c" %i %m %U Icon=ark Path= diff --git a/ark/ark_part.desktop b/ark/ark_part.desktop index c455f7e..adac496 100644 --- a/ark/ark_part.desktop +++ b/ark/ark_part.desktop @@ -1,134 +1,7 @@ [Desktop Entry] MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-zip;application/x-bzip;application/x-tzo;application/x-lzop;application/x-rar;application/x-zoo;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;application/x-pak;application/x-lzma;application/x-xz;application/x-tlz;application/x-txz Comment=Archive Handling Tool -Comment[af]=Argief Handtering Program -Comment[ar]=أداة التعامل مع الملفات المضغوطة -Comment[az]=Arxiv İşləmə Vasitəsi -Comment[bg]=Работа с архиви -Comment[br]=Ostilh merañ an dielloù -Comment[bs]=Uslužni program za arhiviranje -Comment[ca]=Eina per a treballar amb arxius -Comment[cs]=Program pro práci s archívy -Comment[cy]=Erfyn Triniaeth Archif -Comment[da]=Arkivbehandlingsværktøj -Comment[de]=Archiv-Verwaltung -Comment[el]=Εργαλείο χειρισμού αρχειοθηκών -Comment[eo]=Administrilo por arĥivoj -Comment[es]=Herramienta para archivos comprimidos -Comment[et]=Arhiivide haldamise rakendus -Comment[eu]=Artxiboak Kudeatzeko tresna -Comment[fa]=ابزار گرداندن بایگانی -Comment[fi]=Pakettienhallintatyökalu -Comment[fr]=Outil de manipulation d'archives -Comment[ga]=Uirlis Láimhseála Cartlainne -Comment[gl]=Ferramenta de Manexo de Arquivos -Comment[he]=כלי לניהול ארכיונים -Comment[hi]=अभिलेख संभाल औज़ार -Comment[hr]=Uslužni program za arhiviranje -Comment[hu]=Tömörítóprogram -Comment[id]=Program bantu menangani archive -Comment[is]=Vinna með safnskrár -Comment[it]=Gestione degli archivi -Comment[ja]=アーカイバツール -Comment[ka]=არქივებთან სამუშაო ხელსაწყო -Comment[kk]=Архивпен айналысу құралы -Comment[km]=ឧបករណ៍គ្រប់គ្រងប័ណ្ណសារ -Comment[lt]=Archyvo valdymo priemonė -Comment[lv]=Arhīvu Apstrādes Rīks -Comment[mk]=Алатка за справување со архивирани датотеки -Comment[ms]=Alatan Pengendalian Arkib -Comment[mt]=Għodda biex tuża l-arkivji -Comment[nb]=Arkivbehandlingsverktøy -Comment[nds]=En Warktüüch för de Archivpleeg -Comment[ne]=ह्यान्डलिङ उपकरण सङ्ग्रह गर्नुहोस् -Comment[nl]=Hulpprogramma voor het beheer van archieven -Comment[nn]=Verktøy for arkivhandsaming -Comment[pa]=ਪੁਰਾਲੇਖ ਬਣਾਉਣ ਸੰਦ -Comment[pl]=Program obsługi archiwów -Comment[pt]=Programa de gestão de arquivos -Comment[pt_BR]=Gerenciador de arquivos empacotados -Comment[ro]=Utilitar de manipulare arhive -Comment[ru]=Программа работы с архивами -Comment[sk]=Program na prácu s archívmi -Comment[sl]=Orodje za ravnanje z arhivi -Comment[sr]=Алат за руковање архивама -Comment[sr@Latn]=Alat za rukovanje arhivama -Comment[sv]=Verktyg för att hantera filarkiv -Comment[ta]= காப்பகத்தை கையாளும் கருவி -Comment[tg]=Асбобҳои Дасткории Бойгонӣ -Comment[th]=เครื่องมือจัดการแฟ้มบีบอัดทั้งหลาย -Comment[tr]=Arşiv İşleme Aracı -Comment[uk]=Засіб роботи з архівами -Comment[uz]=Arxiv uchun vosita -Comment[uz@cyrillic]=Архив учун восита -Comment[ven]=Tshishumiswa tshau fara tsha fhethu huno vhulungwa zwa kale -Comment[vi]=Công cụ xử lí các file nén -Comment[wa]=Usteye po-z apougnî les årtchives -Comment[xh]=Isixhobo sokuphatha i Archive -Comment[zh_CN]=文件压缩归档处理工具 -Comment[zh_TW]=壓縮檔案處理工具 -Comment[zu]=Ithuluzi Lokuphatha Umqulu Name=Archiver -Name[af]=Argifeerder -Name[ar]=الضاغط -Name[az]=Arxivci -Name[br]=Dieller -Name[bs]=Arhiver -Name[ca]=Arxivador -Name[cs]=Archivátor -Name[cy]=Archifydd -Name[da]=Arkivbehandler -Name[de]=Archivprogramm -Name[el]=Πρόγραμμα αρχειοθέτησης -Name[eo]=Arĥivilo -Name[es]=Archivador -Name[et]=Arhiveerija -Name[eu]=Artxibalaria -Name[fa]=بایگانیکننده -Name[fr]=Archiveur -Name[gl]=Arquivador -Name[he]=מנהל הארכיונים -Name[hi]=अभिलेखक -Name[hr]=Arhiver -Name[hu]=Ark fájltömörítő -Name[is]=Skráasafnari -Name[it]=Utilità di archiviazione -Name[ja]=アーカイバ -Name[ka]=არქივარიუსი -Name[kk]=Архивтегіш -Name[km]=កម្មវិធីប័ណ្ណសារ -Name[lt]=Archyvatorius -Name[lv]=Arhivators -Name[mk]=Архивер -Name[ms]=Pengarkib -Name[nb]=Arkivbehandler -Name[ne]=पुरालेखक -Name[nl]=Archiefgereedschap -Name[nn]=Arkiverar -Name[pa]=ਆਕੀਵਰ -Name[pl]=Ark -Name[pt]=Ark -Name[pt_BR]=Arquivador -Name[ro]=Arhivator -Name[ru]=Архиватор -Name[sk]=Archivátor -Name[sl]=Arhivar -Name[sr]=Архивер -Name[sr@Latn]=Arhiver -Name[sv]=Arkiverare -Name[ta]= காப்பகம் -Name[tg]=Бойгонигар -Name[th]=อาร์ไคว์ฟเออร์ -Name[tr]=Arşivci -Name[uk]=Архіватор -Name[uz]=Arxivlagich -Name[uz@cyrillic]=Архивлагич -Name[ven]=Muvhulungi nwa zwithu zwa kale -Name[vi]=Luư trữ -Name[wa]=Årtchiveu -Name[xh]=Umenzi woshicilelo lukawonke-wonke noxwebhu lweMbali -Name[zh_CN]=压缩存档工具 -Name[zu]=Umqulu Icon=ark Type=Service X-TDE-ServiceTypes=KParts/ReadOnlyPart |