diff options
author | Slávek Banko <[email protected]> | 2020-06-26 11:36:35 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-28 00:41:12 +0200 |
commit | 2f706891f32258c2b070471905f983e4585296d2 (patch) | |
tree | 6c74e28fd7c74d26b1c36c371a9ed56295cc05ae /kfind | |
parent | 98f2d732f33659ba749b70fb939e8eaa0c97edf8 (diff) | |
download | tdebase-2f706891f32258c2b070471905f983e4585296d2.tar.gz tdebase-2f706891f32258c2b070471905f983e4585296d2.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 <[email protected]>
Diffstat (limited to 'kfind')
-rw-r--r-- | kfind/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kfind/CMakeLists.txt | 17 | ||||
-rw-r--r-- | kfind/Kfind.desktop | 68 | ||||
-rw-r--r-- | kfind/findpart.desktop | 77 | ||||
-rw-r--r-- | kfind/kfindpart.desktop | 77 |
5 files changed, 20 insertions, 225 deletions
diff --git a/kfind/CMakeL10n.txt b/kfind/CMakeL10n.txt index ffb4bf254..8eb0e6f8a 100644 --- a/kfind/CMakeL10n.txt +++ b/kfind/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kfindpart" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kfind-desktops/" + SOURCES *.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kfind/CMakeLists.txt b/kfind/CMakeLists.txt index 4162c1319..aceaa738b 100644 --- a/kfind/CMakeLists.txt +++ b/kfind/CMakeLists.txt @@ -30,9 +30,20 @@ link_directories( ##### other data ################################ tde_install_icons( kfind ) -install( FILES Kfind.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) -install( FILES kfindpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES findpart.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE Kfind.desktop + PO_DIR kfind-desktops +) +tde_create_translated_desktop( + SOURCE kfindpart.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kfind-desktops +) +tde_create_translated_desktop( + SOURCE findpart.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR kfind-desktops +) ##### libkfindpart (module) ##################### diff --git a/kfind/Kfind.desktop b/kfind/Kfind.desktop index 92352a990..c89ecb5ca 100644 --- a/kfind/Kfind.desktop +++ b/kfind/Kfind.desktop @@ -6,74 +6,6 @@ Path= Type=Application Terminal=false Name=Find Files/Folders -Name[af]=Soek Lêers/Gidse -Name[ar]=إبحث عن ملفات/مجلّدات -Name[be]=Шукаць файлы/тэчкі -Name[bg]=Търсене на файлове -Name[bn]=ফাইল/ফোল্ডার অনুসন্ধান -Name[br]=Klask restroù/renkelloù -Name[bs]=Pronađi datoteke -Name[ca]=Cerca fitxers i carpetes -Name[cs]=Najít soubory/složky -Name[csb]=Szëkba lopków/katalogów -Name[da]=Find filer/mapper -Name[de]=Dateien/Ordner suchen -Name[el]=Αναζήτηση αρχείων/φακέλων -Name[eo]=Trovu Dosierojn/Dosierujojn -Name[es]=Buscar archivos/carpetas -Name[et]=Failide/kataloogide otsimine -Name[eu]=Bilatu fitxategiak/karpetak -Name[fa]=یافتن پروندهها/پوشهها -Name[fi]=Etsi tiedostoja ja kansioita -Name[fr]=Recherche de fichiers/dossiers -Name[fy]=Triemmen/mappen sykje -Name[ga]=Aimsigh Comhaid/Comhadlanna -Name[gl]=Buscar Ficheiros/Cartafoles -Name[he]=חפש קבצים או תיקיות -Name[hr]=Traži datoteke/mape -Name[hu]=Fájlkereső -Name[is]=Finna skrár/möppur -Name[it]=Trova file/cartelle -Name[ja]=ファイル/フォルダを検索 -Name[ka]=ფაილთა და საქაღალდეთა ძიება -Name[kk]=Файлды не қапшықты табу -Name[km]=រកឯកសារ/ថត -Name[ko]=파일/폴더 찾기 -Name[lt]=Rasti bylas/aplankus -Name[lv]=Meklēt Failus/Mapes -Name[mk]=Пронајди датотеки/папки -Name[ms]=Cari Fail/Folder -Name[nb]=Finn filer/mapper -Name[nds]=Dateien/Ornern söken -Name[ne]=फाइल/फोल्डर फेला पार्नुहोस् -Name[nl]=Bestanden/mappen zoeken -Name[nn]=Finn filer/mapper -Name[pa]=ਫਾਇਲ/ਫੋਲਡਰ ਖੋਜ -Name[pl]=Wyszukiwanie plików/katalogów -Name[pt]=Procurar Ficheiros/Pastas -Name[pt_BR]=Procurar arquivos/pastas -Name[ro]=Caută fișiere/foldere -Name[ru]=Поиск файлов и папок -Name[rw]=Gushaka Amadosiye/Ububiko -Name[se]=Oza fiillaid dahje máhpaid -Name[sk]=Hľadať súbory/priečinky -Name[sl]=Najdi datoteke in mape -Name[sr]=Тражење фајлова/фасцикли -Name[sr@Latn]=Traženje fajlova/fascikli -Name[sv]=Hitta filer eller kataloger -Name[ta]=கோப்புகள்/அடைவுகளைக் கண்டுபிடி -Name[te]=దస్త్రాలు/ఫొల్డర్లను వెతుకు -Name[tg]=Ҷустуҷӯи файлҳо ва феҳрастҳо -Name[th]=ค้นหาแฟ้ม/โฟลเดอร์ -Name[tr]=Dosya/Dizin Bul -Name[tt]=Birem/Törgäk Ezläw -Name[uk]=Пошук файлів та тек -Name[uz]=Fayl/jildlarni qidirish -Name[uz@cyrillic]=Файл/жилдларни қидириш -Name[vi]=Tìm Tập tin/Thư mục -Name[wa]=Trover des fitchîs/ridants -Name[zh_CN]=查找文件/文件夹 -Name[zh_TW]=尋找檔案/資料夾 X-TDE-StartupNotify=true OnlyShowIn=TDE; Categories=Qt;TDE;Core; diff --git a/kfind/findpart.desktop b/kfind/findpart.desktop index cf87742b1..9c0fb6239 100644 --- a/kfind/findpart.desktop +++ b/kfind/findpart.desktop @@ -5,80 +5,3 @@ X-TDE-ServiceType=Konqueror/FindPart X-TDE-Derived=Browser/View Name=Find Part -Name[af]=Soek Deel -Name[ar]=ابحث عن جزء -Name[az]=Parça tap -Name[be]=Модуль пошуку -Name[bg]=Търсене на модули -Name[bn]=পার্ট অনুসন্ধান -Name[br]=Kavout perzh -Name[bs]=Nađi dio -Name[ca]=Cerca la part -Name[cs]=Najít soubor -Name[csb]=Mòduł szëkbë -Name[cy]=Canfod Rhan -Name[da]=Find del -Name[de]=Einbettungsfähiges Programm (Komponente) suchen -Name[el]=Part Αναζήτηση -Name[eo]=Trovokomponento -Name[es]=Buscar parte -Name[et]=Failide otsimise komponent -Name[eu]=Bilatu partea -Name[fa]=یافتن جزء -Name[fi]=Etsi osa -Name[fr]=Composant de recherche -Name[fy]=In diel sykje -Name[ga]=Aimsigh Páirt -Name[gl]=Busca -Name[he]=רכיב חיפוש -Name[hi]=हिस्सा ढूंढें -Name[hr]=Pronađi dio -Name[hu]=Keresési objektum -Name[id]=Cari bagian -Name[is]=Finna hluti -Name[it]=Trova parte -Name[ja]=検索パート -Name[ka]=ძიება შემადგენლობის მიხედვით -Name[kk]=Мазмұнынан табу -Name[km]=រកផ្នែក -Name[ko]=찾기 부분 -Name[lo]=ຄັ້ນຫາບາງສ່ວນ -Name[lt]=Surasti dalį -Name[lv]=Meklēt Daļu -Name[mk]=Пронајди дел -Name[mn]=Хэсэг хайх -Name[ms]=Cari Bahagian -Name[mt]=Sib Parti -Name[nb]=Finn del -Name[nds]=Söök-Komponent -Name[ne]=भाग फेला पार्नुहोस् -Name[nl]=Gedeelte zoeken -Name[nn]=Finn del -Name[nso]=Hwetsa Seripa -Name[pa]=ਹਿੱਸੇ ਖੋਜ -Name[pl]=Moduł szukania -Name[pt]=Componente de Pesquisa -Name[pt_BR]=Componente de Busca -Name[ro]=Componentă de căutare -Name[ru]=Поиск по содержимому -Name[rw]=Gushaka Igice -Name[se]=Oza osiid -Name[sk]=Nájsť Part -Name[sl]=Najdi del -Name[sr]=Део за тражење -Name[sr@Latn]=Deo za traženje -Name[sv]=Sökdel -Name[ta]=பகுதி கண்டுபிடி -Name[te]=వెతుకు భాగం -Name[tg]=Қисматро пайдо кунед -Name[th]=ค้นหาบางส่วน -Name[tr]=Parça bul -Name[tt]=Eçtälek Ezläw -Name[uk]=Складова пошуку -Name[ven]=Todani tshipida -Name[vi]=Tìm từng phần -Name[wa]=Trover des pårteyes -Name[xh]=Fumana Indawana -Name[zh_CN]=查找部件 -Name[zh_TW]=尋找組件 -Name[zu]=Thola Ingxenye diff --git a/kfind/kfindpart.desktop b/kfind/kfindpart.desktop index 0cf74a4af..331e3fb77 100644 --- a/kfind/kfindpart.desktop +++ b/kfind/kfindpart.desktop @@ -3,83 +3,6 @@ Type=Service Icon=kfind Name=Find Part -Name[af]=Soek Deel -Name[ar]=ابحث عن جزء -Name[az]=Parça tap -Name[be]=Модуль пошуку -Name[bg]=Търсене на модули -Name[bn]=পার্ট অনুসন্ধান -Name[br]=Kavout perzh -Name[bs]=Nađi dio -Name[ca]=Cerca la part -Name[cs]=Najít soubor -Name[csb]=Mòduł szëkbë -Name[cy]=Canfod Rhan -Name[da]=Find del -Name[de]=Einbettungsfähiges Programm (Komponente) suchen -Name[el]=Part Αναζήτηση -Name[eo]=Trovokomponento -Name[es]=Buscar parte -Name[et]=Failide otsimise komponent -Name[eu]=Bilatu partea -Name[fa]=یافتن جزء -Name[fi]=Etsi osa -Name[fr]=Composant de recherche -Name[fy]=In diel sykje -Name[ga]=Aimsigh Páirt -Name[gl]=Busca -Name[he]=רכיב חיפוש -Name[hi]=हिस्सा ढूंढें -Name[hr]=Pronađi dio -Name[hu]=Keresési objektum -Name[id]=Cari bagian -Name[is]=Finna hluti -Name[it]=Trova parte -Name[ja]=検索パート -Name[ka]=ძიება შემადგენლობის მიხედვით -Name[kk]=Мазмұнынан табу -Name[km]=រកផ្នែក -Name[ko]=찾기 부분 -Name[lo]=ຄັ້ນຫາບາງສ່ວນ -Name[lt]=Surasti dalį -Name[lv]=Meklēt Daļu -Name[mk]=Пронајди дел -Name[mn]=Хэсэг хайх -Name[ms]=Cari Bahagian -Name[mt]=Sib Parti -Name[nb]=Finn del -Name[nds]=Söök-Komponent -Name[ne]=भाग फेला पार्नुहोस् -Name[nl]=Gedeelte zoeken -Name[nn]=Finn del -Name[nso]=Hwetsa Seripa -Name[pa]=ਹਿੱਸੇ ਖੋਜ -Name[pl]=Moduł szukania -Name[pt]=Componente de Pesquisa -Name[pt_BR]=Componente de Busca -Name[ro]=Componentă de căutare -Name[ru]=Поиск по содержимому -Name[rw]=Gushaka Igice -Name[se]=Oza osiid -Name[sk]=Nájsť Part -Name[sl]=Najdi del -Name[sr]=Део за тражење -Name[sr@Latn]=Deo za traženje -Name[sv]=Sökdel -Name[ta]=பகுதி கண்டுபிடி -Name[te]=వెతుకు భాగం -Name[tg]=Қисматро пайдо кунед -Name[th]=ค้นหาบางส่วน -Name[tr]=Parça bul -Name[tt]=Eçtälek Ezläw -Name[uk]=Складова пошуку -Name[ven]=Todani tshipida -Name[vi]=Tìm từng phần -Name[wa]=Trover des pårteyes -Name[xh]=Fumana Indawana -Name[zh_CN]=查找部件 -Name[zh_TW]=尋找組件 -Name[zu]=Thola Ingxenye MimeType= X-TDE-ServiceTypes=Konqueror/FindPart X-TDE-Library=libkfindpart |