diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-07 18:25:52 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-07 18:48:13 +0200 |
commit | 9756408b0ebb206b53abd2597926d8fead731977 (patch) | |
tree | 62caa2c2ebd6ebccc5472fdc7469fe54dad8b24f /tdeparts | |
parent | c95c7a29338aa309fab071b5a4475400fdce97a8 (diff) | |
download | tdelibs-9756408b0ebb206b53abd2597926d8fead731977.tar.gz tdelibs-9756408b0ebb206b53abd2597926d8fead731977.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 4b7a4e17362206fd2eade35ba947a850263b0ea1)
Diffstat (limited to 'tdeparts')
-rw-r--r-- | tdeparts/CMakeL10n.txt | 8 | ||||
-rw-r--r-- | tdeparts/CMakeLists.txt | 10 | ||||
-rw-r--r-- | tdeparts/browserview.desktop | 80 | ||||
-rw-r--r-- | tdeparts/kpart.desktop | 81 | ||||
-rw-r--r-- | tdeparts/krop.desktop | 81 | ||||
-rw-r--r-- | tdeparts/krwp.desktop | 81 |
6 files changed, 16 insertions, 325 deletions
diff --git a/tdeparts/CMakeL10n.txt b/tdeparts/CMakeL10n.txt new file mode 100644 index 000000000..89f757ad2 --- /dev/null +++ b/tdeparts/CMakeL10n.txt @@ -0,0 +1,8 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "desktop_files/tdeparts-desktops/" + SOURCES *.desktop + EXCLUDES tests/ + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/tdeparts/CMakeLists.txt b/tdeparts/CMakeLists.txt index 341734461..497b82ced 100644 --- a/tdeparts/CMakeLists.txt +++ b/tdeparts/CMakeLists.txt @@ -40,9 +40,15 @@ install( FILES ##### other data ################################ -install( FILES +foreach( _desktop kpart.desktop krop.desktop krwp.desktop browserview.desktop - DESTINATION ${SERVICETYPES_INSTALL_DIR} ) +) + tde_create_translated_desktop( + SOURCE ${_desktop} + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeparts-desktops + ) +endforeach() #### tdeparts ##################################### diff --git a/tdeparts/browserview.desktop b/tdeparts/browserview.desktop index 9c534c8f1..3d0d04d7f 100644 --- a/tdeparts/browserview.desktop +++ b/tdeparts/browserview.desktop @@ -3,86 +3,6 @@ Type=ServiceType X-TDE-ServiceType=Browser/View X-TDE-Derived=KParts/ReadOnlyPart Name=Browser View -Name[af]=Blaaier Besigtig -Name[ar]=عرض تصفحي -Name[az]=Səyyah Görünüşü -Name[be]=Выгляд аглядальніка -Name[bn]=ব্রাউজার দৃশ্য -Name[br]=Gwel Furchal -Name[bs]=Pogled za pretragu -Name[ca]=Vista del navegador -Name[cs]=Prohlížeč -Name[csb]=Wëzdrzatk przezérnika -Name[cy]=Golwg Porydd -Name[da]=Netsøgningsvisning -Name[de]=Browser-Ansicht -Name[el]=Προβολή εξερευνητή -Name[eo]=Rigardo de TTTilo -Name[es]=Vista de navegador -Name[et]=Brauseri vaade -Name[eu]=Arakatzailearen ikuspegia -Name[fa]=نمای مرورگر -Name[fi]=Selainnäkymä -Name[fr]=Affichage du navigateur -Name[fy]=Browserwerjefte -Name[ga]=Amharc Brabhsálaí -Name[gl]=Vista de Navegador -Name[he]=תצוגת דפדפן -Name[hi]=ब्राउज़र दर्शन -Name[hr]=Pogled pretraživača -Name[hu]=Böngészőnézet -Name[id]=View Browser -Name[is]=Vafrasýn -Name[it]=Vista browser -Name[ja]=ブラウズビュー -Name[ka]=ნუსხის ხედი -Name[kk]=Шолғыш көрнісі -Name[km]=ទិដ្ឋភាពកម្មវិធីរុករក -Name[ko]=탐색기 보기 -Name[lb]=Browser-Siicht -Name[lt]=Rodyti naršyklėje -Name[lv]=Pārlūka Skatījums -Name[mk]=Разгледување -Name[mn]=Хөтөч Харах -Name[ms]=Pelihat Pelayar -Name[mt]=Dehra Browser -Name[nb]=Nettleservisning -Name[nds]=Nettkieker-Ansicht -Name[ne]=ब्राउजर दृश्य -Name[nl]=Browserweergave -Name[nn]=Nettlesarvising -Name[nso]=Pono ya Seinyakisi -Name[oc]=Vista de navigador -Name[pa]=ਝਲਕ ਦਰਿਸ਼ -Name[pl]=Widok przeglądarki -Name[pt]=Navegação -Name[pt_BR]=Visão de navegador -Name[ro]=Vizualizare navigator -Name[ru]=Вид страницы -Name[rw]=Igaragaza Mucukumbuzi -Name[se]=Fierpmádatlogana čájeheapmi -Name[sk]=Prehliadač -Name[sl]=Pogled brskalnika -Name[sq]=Shikues për Shfletim -Name[sr]=Претраживачев приказ -Name[sr@Latn]=Pretraživačev prikaz -Name[sv]=Surfvy -Name[ta]=உலாவிக் காட்சி -Name[te]=అన్వేషి వీక్షణం -Name[tg]=Намуди Хониши Парешон -Name[th]=มุมมองแบบบราวเซอร์ -Name[tr]=Tarayıcı Görünümü -Name[tt]=Browser Küreneşe -Name[uk]=Вигляд "Навігація" -Name[uz]=Brauzerning koʻrinishi -Name[uz@cyrillic]=Браузернинг кўриниши -Name[ven]=U vhona ha Burausu -Name[vi]=Xem duyệt -Name[xh]=Imboniselo Yomkhangeli zincwadi -Name[zh_CN]=浏览器视图 -Name[zh_HK]=瀏覽器視圖 -Name[zh_TW]=瀏覽器視圖 -Name[zu]=Umbonisi Womgcingi # Arguments passed to the factory (e.g. view sub-type) [PropertyDef::X-TDE-BrowserView-Args] diff --git a/tdeparts/kpart.desktop b/tdeparts/kpart.desktop index ba69bd704..7a487211f 100644 --- a/tdeparts/kpart.desktop +++ b/tdeparts/kpart.desktop @@ -2,84 +2,3 @@ Type=ServiceType X-TDE-ServiceType=KPart Comment=TDE Component -Comment[af]=Tde Komponent -Comment[ar]=عنصر كيدي -Comment[az]=TDE Komponenti -Comment[be]=Кампанент TDE -Comment[bn]=কে.ডি.ই. উপাদান -Comment[br]=Parzhioù TDE -Comment[bs]=TDE komponenta -Comment[ca]=Component del TDE -Comment[cs]=Komponenta TDE -Comment[csb]=Kòmpònent TDE -Comment[cy]=Cydran TDE -Comment[da]=TDE-komponent -Comment[de]=TDE-Komponente -Comment[el]=Στοιχείο του TDE -Comment[eo]=PDF-komponento -Comment[es]=Componente de TDE -Comment[et]=TDE komponent -Comment[eu]=TDEren osagaia -Comment[fa]=مؤلفۀ TDE -Comment[fi]=TDE-komponentti -Comment[fr]=Composant de TDE -Comment[fy]=TDE-komponint -Comment[ga]=Comhpháirt TDE -Comment[gl]=Compoñente de TDE -Comment[he]=רכיב TDE -Comment[hi]=केडीई के घटक -Comment[hr]=TDE komponenta -Comment[hu]=TDE-komponens -Comment[id]=Komponen TDE -Comment[is]=TDE eining -Comment[it]=Componente TDE -Comment[ja]=TDE コンポーネント -Comment[ka]=TDE კომპონენტი -Comment[kk]=TDE компоненті -Comment[km]=សមាសភាគ TDE -Comment[ko]=TDE 구성 요소 -Comment[lb]=TDE-Komponent -Comment[lt]=TDE komponentas -Comment[lv]=TDE Komponente -Comment[mk]=TDE компонента -Comment[mn]=TDE-бүрдэл хэсэг -Comment[ms]=Komponen TDE -Comment[mt]=Komponent tal-TDE -Comment[nb]=TDE-komponent -Comment[nds]=TDE-Komponent -Comment[ne]=TDE अवयव -Comment[nl]=TDE-component -Comment[nn]=TDE-komponent -Comment[nso]=Seripa sa TDE -Comment[oc]=Composant TDE -Comment[pa]=TDE ਭਾਗ -Comment[pl]=Składnik TDE -Comment[pt]=Componente TDE -Comment[pt_BR]=Componente TDE -Comment[ro]=Componentă TDE -Comment[ru]=Компонент TDE -Comment[rw]=Inyangingo TDE -Comment[se]=TDE oassi -Comment[sk]=TDE komponent -Comment[sl]=Komponenta TDE -Comment[sq]=Komponent i TDE-s -Comment[sr]=TDE-ова компонента -Comment[sr@Latn]=TDE-ova komponenta -Comment[ss]=Incenye ye TDE -Comment[sv]=TDE-komponent -Comment[ta]=கேடிஇ பகுதி -Comment[te]=కెడిఈ అంశం -Comment[tg]=Қисмати TDE -Comment[th]=ส่วนประกอบของ TDE -Comment[tr]=TDE Bileşeni -Comment[tt]=TDE Öleşe -Comment[uk]=Компонент TDE -Comment[uz]=TDE komponenti -Comment[uz@cyrillic]=TDE компоненти -Comment[ven]=Khomphonente ya TDE -Comment[vi]=Thành phần TDE. -Comment[xh]=Ingxenye ye TDE -Comment[zh_CN]=TDE 部件 -Comment[zh_HK]=TDE 元件 -Comment[zh_TW]=TDE 元件 -Comment[zu]=Ingxenye ye-TDE diff --git a/tdeparts/krop.desktop b/tdeparts/krop.desktop index 62de2d454..5a7997802 100644 --- a/tdeparts/krop.desktop +++ b/tdeparts/krop.desktop @@ -3,84 +3,3 @@ Type=ServiceType X-TDE-ServiceType=KParts/ReadOnlyPart X-TDE-Derived=KPart Comment=TDE Component -Comment[af]=Tde Komponent -Comment[ar]=عنصر كيدي -Comment[az]=TDE Komponenti -Comment[be]=Кампанент TDE -Comment[bn]=কে.ডি.ই. উপাদান -Comment[br]=Parzhioù TDE -Comment[bs]=TDE komponenta -Comment[ca]=Component del TDE -Comment[cs]=Komponenta TDE -Comment[csb]=Kòmpònent TDE -Comment[cy]=Cydran TDE -Comment[da]=TDE-komponent -Comment[de]=TDE-Komponente -Comment[el]=Στοιχείο του TDE -Comment[eo]=PDF-komponento -Comment[es]=Componente de TDE -Comment[et]=TDE komponent -Comment[eu]=TDEren osagaia -Comment[fa]=مؤلفۀ TDE -Comment[fi]=TDE-komponentti -Comment[fr]=Composant de TDE -Comment[fy]=TDE-komponint -Comment[ga]=Comhpháirt TDE -Comment[gl]=Compoñente de TDE -Comment[he]=רכיב TDE -Comment[hi]=केडीई के घटक -Comment[hr]=TDE komponenta -Comment[hu]=TDE-komponens -Comment[id]=Komponen TDE -Comment[is]=TDE eining -Comment[it]=Componente TDE -Comment[ja]=TDE コンポーネント -Comment[ka]=TDE კომპონენტი -Comment[kk]=TDE компоненті -Comment[km]=សមាសភាគ TDE -Comment[ko]=TDE 구성 요소 -Comment[lb]=TDE-Komponent -Comment[lt]=TDE komponentas -Comment[lv]=TDE Komponente -Comment[mk]=TDE компонента -Comment[mn]=TDE-бүрдэл хэсэг -Comment[ms]=Komponen TDE -Comment[mt]=Komponent tal-TDE -Comment[nb]=TDE-komponent -Comment[nds]=TDE-Komponent -Comment[ne]=TDE अवयव -Comment[nl]=TDE-component -Comment[nn]=TDE-komponent -Comment[nso]=Seripa sa TDE -Comment[oc]=Composant TDE -Comment[pa]=TDE ਭਾਗ -Comment[pl]=Składnik TDE -Comment[pt]=Componente TDE -Comment[pt_BR]=Componente TDE -Comment[ro]=Componentă TDE -Comment[ru]=Компонент TDE -Comment[rw]=Inyangingo TDE -Comment[se]=TDE oassi -Comment[sk]=TDE komponent -Comment[sl]=Komponenta TDE -Comment[sq]=Komponent i TDE-s -Comment[sr]=TDE-ова компонента -Comment[sr@Latn]=TDE-ova komponenta -Comment[ss]=Incenye ye TDE -Comment[sv]=TDE-komponent -Comment[ta]=கேடிஇ பகுதி -Comment[te]=కెడిఈ అంశం -Comment[tg]=Қисмати TDE -Comment[th]=ส่วนประกอบของ TDE -Comment[tr]=TDE Bileşeni -Comment[tt]=TDE Öleşe -Comment[uk]=Компонент TDE -Comment[uz]=TDE komponenti -Comment[uz@cyrillic]=TDE компоненти -Comment[ven]=Khomphonente ya TDE -Comment[vi]=Thành phần TDE. -Comment[xh]=Ingxenye ye TDE -Comment[zh_CN]=TDE 部件 -Comment[zh_HK]=TDE 元件 -Comment[zh_TW]=TDE 元件 -Comment[zu]=Ingxenye ye-TDE diff --git a/tdeparts/krwp.desktop b/tdeparts/krwp.desktop index 5c6bfee1a..03cb5c0ec 100644 --- a/tdeparts/krwp.desktop +++ b/tdeparts/krwp.desktop @@ -3,84 +3,3 @@ Type=ServiceType X-TDE-ServiceType=KParts/ReadWritePart X-TDE-Derived=KParts/ReadOnlyPart Comment=TDE Component -Comment[af]=Tde Komponent -Comment[ar]=عنصر كيدي -Comment[az]=TDE Komponenti -Comment[be]=Кампанент TDE -Comment[bn]=কে.ডি.ই. উপাদান -Comment[br]=Parzhioù TDE -Comment[bs]=TDE komponenta -Comment[ca]=Component del TDE -Comment[cs]=Komponenta TDE -Comment[csb]=Kòmpònent TDE -Comment[cy]=Cydran TDE -Comment[da]=TDE-komponent -Comment[de]=TDE-Komponente -Comment[el]=Στοιχείο του TDE -Comment[eo]=PDF-komponento -Comment[es]=Componente de TDE -Comment[et]=TDE komponent -Comment[eu]=TDEren osagaia -Comment[fa]=مؤلفۀ TDE -Comment[fi]=TDE-komponentti -Comment[fr]=Composant de TDE -Comment[fy]=TDE-komponint -Comment[ga]=Comhpháirt TDE -Comment[gl]=Compoñente de TDE -Comment[he]=רכיב TDE -Comment[hi]=केडीई के घटक -Comment[hr]=TDE komponenta -Comment[hu]=TDE-komponens -Comment[id]=Komponen TDE -Comment[is]=TDE eining -Comment[it]=Componente TDE -Comment[ja]=TDE コンポーネント -Comment[ka]=TDE კომპონენტი -Comment[kk]=TDE компоненті -Comment[km]=សមាសភាគ TDE -Comment[ko]=TDE 구성 요소 -Comment[lb]=TDE-Komponent -Comment[lt]=TDE komponentas -Comment[lv]=TDE Komponente -Comment[mk]=TDE компонента -Comment[mn]=TDE-бүрдэл хэсэг -Comment[ms]=Komponen TDE -Comment[mt]=Komponent tal-TDE -Comment[nb]=TDE-komponent -Comment[nds]=TDE-Komponent -Comment[ne]=TDE अवयव -Comment[nl]=TDE-component -Comment[nn]=TDE-komponent -Comment[nso]=Seripa sa TDE -Comment[oc]=Composant TDE -Comment[pa]=TDE ਭਾਗ -Comment[pl]=Składnik TDE -Comment[pt]=Componente TDE -Comment[pt_BR]=Componente TDE -Comment[ro]=Componentă TDE -Comment[ru]=Компонент TDE -Comment[rw]=Inyangingo TDE -Comment[se]=TDE oassi -Comment[sk]=TDE komponent -Comment[sl]=Komponenta TDE -Comment[sq]=Komponent i TDE-s -Comment[sr]=TDE-ова компонента -Comment[sr@Latn]=TDE-ova komponenta -Comment[ss]=Incenye ye TDE -Comment[sv]=TDE-komponent -Comment[ta]=கேடிஇ பகுதி -Comment[te]=కెడిఈ అంశం -Comment[tg]=Қисмати TDE -Comment[th]=ส่วนประกอบของ TDE -Comment[tr]=TDE Bileşeni -Comment[tt]=TDE Öleşe -Comment[uk]=Компонент TDE -Comment[uz]=TDE komponenti -Comment[uz@cyrillic]=TDE компоненти -Comment[ven]=Khomphonente ya TDE -Comment[vi]=Thành phần TDE. -Comment[xh]=Ingxenye ye TDE -Comment[zh_CN]=TDE 部件 -Comment[zh_HK]=TDE 元件 -Comment[zh_TW]=TDE 元件 -Comment[zu]=Ingxenye ye-TDE |