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:25:52 +0200 |
commit | 4b7a4e17362206fd2eade35ba947a850263b0ea1 (patch) | |
tree | 3f3e619da9fd3c0f76ef95e44c73898a278e059b /tdeabc/plugins | |
parent | 31fa399a0aa455f3f52251f977233d57e92de28c (diff) | |
download | tdelibs-4b7a4e17362206fd2eade35ba947a850263b0ea1.tar.gz tdelibs-4b7a4e17362206fd2eade35ba947a850263b0ea1.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 'tdeabc/plugins')
-rw-r--r-- | tdeabc/plugins/dir/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tdeabc/plugins/dir/dir.desktop | 85 | ||||
-rw-r--r-- | tdeabc/plugins/evolution/evolution.desktop | 19 | ||||
-rw-r--r-- | tdeabc/plugins/file/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tdeabc/plugins/file/file.desktop | 75 | ||||
-rw-r--r-- | tdeabc/plugins/ldaptdeio/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tdeabc/plugins/ldaptdeio/ldaptdeio.desktop | 3 | ||||
-rw-r--r-- | tdeabc/plugins/net/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tdeabc/plugins/net/net.desktop | 83 | ||||
-rw-r--r-- | tdeabc/plugins/sql/sql.desktop | 4 |
10 files changed, 20 insertions, 273 deletions
diff --git a/tdeabc/plugins/dir/CMakeLists.txt b/tdeabc/plugins/dir/CMakeLists.txt index 322c659d4..5dbf15a9d 100644 --- a/tdeabc/plugins/dir/CMakeLists.txt +++ b/tdeabc/plugins/dir/CMakeLists.txt @@ -39,7 +39,11 @@ install( FILES ##### other data ################################ -install( FILES dir.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc ) +tde_create_translated_desktop( + SOURCE dir.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops +) ##### tdeabc_dir (library) ######################## diff --git a/tdeabc/plugins/dir/dir.desktop b/tdeabc/plugins/dir/dir.desktop index e2c3581f3..e1a4a272d 100644 --- a/tdeabc/plugins/dir/dir.desktop +++ b/tdeabc/plugins/dir/dir.desktop @@ -1,90 +1,5 @@ [Desktop Entry] Name=Directory -Name[af]=Gids -Name[ar]=دليل -Name[az]=Cərgə -Name[be]=Тэчка -Name[bn]=ডিরেক্টরি -Name[br]=Renkell -Name[bs]=Direktorij -Name[ca]=Directori -Name[cs]=Adresář -Name[csb]=Katalog -Name[cy]=Cyfeiriadur -Name[da]=Mappe -Name[de]=Verzeichnis -Name[el]=Κατάλογος -Name[eo]=Dosierujo -Name[es]=Directorio -Name[et]=Kataloog -Name[eu]=Direktorioa -Name[fa]=فهرست راهنما -Name[fi]=Hakemisto -Name[fo]=Fíluskrá -Name[fr]=Dossier -Name[fy]=Map -Name[ga]=Comhadlann -Name[gl]=Directório -Name[he]=ספריה -Name[hi]=डिरेक्ट्री -Name[hr]=Mapa -Name[hsb]=Zapisk -Name[hu]=Könyvtár -Name[id]=Direktori -Name[is]=Mappa -Name[it]=Cartella -Name[ja]=ディレクトリ -Name[ka]=დასტა -Name[kk]=Каталог -Name[km]=ថត -Name[ko]=자료방 -Name[ku]=Peldank -Name[lb]=Verzeechnis -Name[lt]=Aplankas -Name[lv]=Direktorija -Name[mk]=Именик -Name[mn]=Лавлах -Name[ms]=Direktori -Name[mt]=Direttorju -Name[nb]=Katalog -Name[nds]=Orner -Name[ne]=डाइरेक्टरी -Name[nl]=Map -Name[nn]=Katalog -Name[nso]=Tshupetso -Name[oc]=Directori -Name[pa]=ਡਾਇਰੈਕਟਰੀ -Name[pl]=Katalog -Name[pt]=Directoria -Name[pt_BR]=Diretório -Name[ro]=Director -Name[ru]=Каталог -Name[rw]=ububiko -Name[se]=Ohcu -Name[sk]=Priečinok -Name[sl]=Imenik -Name[sq]=Fioka -Name[sr]=Фасцикла -Name[sr@Latn]=Fascikla -Name[ss]=I-directory -Name[sv]=Katalog -Name[ta]=அடைவு -Name[te]=డైరక్టరి -Name[tg]=Феҳраст -Name[th]=ไดเรกทอรี -Name[tr]=Dizin -Name[tt]=Törgäk -Name[uk]=Каталог -Name[uz]=Jild -Name[uz@cyrillic]=Жилд -Name[ven]=Tsumbavhulwo -Name[vi]=Thư mục -Name[wa]=Ridant -Name[xh]=Ulawulo -Name[zh_CN]=目录 -Name[zh_HK]=目錄 -Name[zh_TW]=目錄 -Name[zu]=Uhlu lwamafayela X-TDE-Library=tdeabc_dir Type=Service X-TDE-ServiceTypes=TDEResources/Plugin diff --git a/tdeabc/plugins/evolution/evolution.desktop b/tdeabc/plugins/evolution/evolution.desktop index 4b47837d2..ebb963e94 100644 --- a/tdeabc/plugins/evolution/evolution.desktop +++ b/tdeabc/plugins/evolution/evolution.desktop @@ -1,24 +1,5 @@ [Desktop Entry] Name=Evolution -Name[be]=Эвалюцыя -Name[bn]=ইভোলিউশন -Name[eo]=Evoluo -Name[fa]=اوولوشن -Name[hi]=एवॉल्यूशन -Name[ko]=에볼루션 -Name[mn]=Хөгжил -Name[ne]=इभोल्युसन -Name[pa]=ਏਵੂਲੇਸ਼ਨ -Name[sr]=Еволуција -Name[sr@Latn]=Evolucija -Name[ta]=படிப்படியான வளர்ச்சி -Name[te]=ఎవల్యుషన్ -Name[th]=เอฟโวลูชัน -Name[tt]=Üseş -Name[ven]=Tsikoni -Name[wa]=Evolucion -Name[xh]=Utshintsho lwendawo ngokwenqanawa -Name[zu]=Evolushini X-TDE-Library=tdeabc_evo Type=Service X-TDE-ServiceTypes=TDEResources/Plugin diff --git a/tdeabc/plugins/file/CMakeLists.txt b/tdeabc/plugins/file/CMakeLists.txt index c7dbfef46..008f7b656 100644 --- a/tdeabc/plugins/file/CMakeLists.txt +++ b/tdeabc/plugins/file/CMakeLists.txt @@ -39,7 +39,11 @@ install( FILES ##### other data ################################ -install( FILES file.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc ) +tde_create_translated_desktop( + SOURCE file.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops +) ##### tdeabc_file (library) ####################### diff --git a/tdeabc/plugins/file/file.desktop b/tdeabc/plugins/file/file.desktop index 3625cc21c..3b4f46cdd 100644 --- a/tdeabc/plugins/file/file.desktop +++ b/tdeabc/plugins/file/file.desktop @@ -1,80 +1,5 @@ [Desktop Entry] Name=File -Name[af]=Lêer -Name[ar]=ملفّ -Name[az]=Fayl -Name[be]=Файл -Name[bn]=ফাইল -Name[br]=Restr -Name[bs]=Datoteka -Name[ca]=Fitxer -Name[cs]=Soubor -Name[csb]=Lopk -Name[cy]=Ffeil -Name[da]=Fil -Name[de]=Datei -Name[el]=Αρχείο -Name[eo]=Dosiero -Name[es]=Archivo -Name[et]=Fail -Name[eu]=Fitxategia -Name[fa]=پرونده -Name[fi]=Tiedosto -Name[fr]=Fichier -Name[fy]=Triem -Name[ga]=Comhad -Name[gl]=Ficheiro -Name[he]=קובץ -Name[hi]=फ़ाइल -Name[hr]=Datoteka -Name[hsb]=Dataja -Name[hu]=Fájl -Name[id]=Berkas -Name[is]=Skrá -Name[ja]=ファイル -Name[ka]=ფაილი -Name[kk]=Файл -Name[km]=ឯកសារ -Name[ko]=파일 -Name[lb]=Datei -Name[lt]=Byla -Name[lv]=Fails -Name[mk]=Датотека -Name[mn]=Файл -Name[ms]=Fail -Name[nb]=Fil -Name[nds]=Datei -Name[ne]=फाइल -Name[nl]=Bestand -Name[nn]=Fil -Name[pa]=ਫਾਇਲ -Name[pl]=Plik -Name[pt]=Ficheiro -Name[pt_BR]=Arquivo -Name[ro]=Fişier -Name[ru]=Файл -Name[rw]=Idosiye -Name[se]=Fiila -Name[sk]=Súbor -Name[sl]=Datoteka -Name[sq]=Skedë -Name[sr]=Фајл -Name[sr@Latn]=Fajl -Name[sv]=Fil -Name[ta]=கோப்பு -Name[te]=దస్త్రం -Name[tg]=Файл -Name[th]=แฟ้ม -Name[tr]=Dosya -Name[tt]=Birem -Name[uk]=Файл -Name[uz]=Fayl -Name[uz@cyrillic]=Файл -Name[vi]=Tập tin -Name[wa]=Fitchî -Name[zh_CN]=文件 -Name[zh_HK]=檔案 -Name[zh_TW]=檔案 X-TDE-Library=tdeabc_file Type=Service X-TDE-ServiceTypes=TDEResources/Plugin diff --git a/tdeabc/plugins/ldaptdeio/CMakeLists.txt b/tdeabc/plugins/ldaptdeio/CMakeLists.txt index 6e85a73d5..82ed19792 100644 --- a/tdeabc/plugins/ldaptdeio/CMakeLists.txt +++ b/tdeabc/plugins/ldaptdeio/CMakeLists.txt @@ -39,7 +39,11 @@ install( FILES ##### other data ################################ -install( FILES ldaptdeio.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc ) +tde_create_translated_desktop( + SOURCE ldaptdeio.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops +) ##### tdeabc_ldaptdeio ############################## diff --git a/tdeabc/plugins/ldaptdeio/ldaptdeio.desktop b/tdeabc/plugins/ldaptdeio/ldaptdeio.desktop index 55b26ca12..b8105f7c5 100644 --- a/tdeabc/plugins/ldaptdeio/ldaptdeio.desktop +++ b/tdeabc/plugins/ldaptdeio/ldaptdeio.desktop @@ -1,8 +1,5 @@ [Desktop Entry] Name=LDAP -Name[bn]=এল-ডি-এ-পি (LDAP) -Name[hi]=एलडीएपी (LDAP) -Name[te]=ఎల్డిఏపి X-TDE-Library=tdeabc_ldaptdeio Type=Service X-TDE-ServiceTypes=TDEResources/Plugin diff --git a/tdeabc/plugins/net/CMakeLists.txt b/tdeabc/plugins/net/CMakeLists.txt index 71a5c49df..f5b79bee9 100644 --- a/tdeabc/plugins/net/CMakeLists.txt +++ b/tdeabc/plugins/net/CMakeLists.txt @@ -39,7 +39,11 @@ install( FILES ##### other data ################################ -install( FILES net.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc ) +tde_create_translated_desktop( + SOURCE net.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops +) ##### tdeabc_net (library) ######################## diff --git a/tdeabc/plugins/net/net.desktop b/tdeabc/plugins/net/net.desktop index 42f265e74..445a62f91 100644 --- a/tdeabc/plugins/net/net.desktop +++ b/tdeabc/plugins/net/net.desktop @@ -1,88 +1,5 @@ [Desktop Entry] Name=Network -Name[af]=Netwerk -Name[ar]=الشبكة -Name[az]=Şəbəkə -Name[be]=Сетка -Name[bn]=নেটওয়ার্ক -Name[br]=Rouedad -Name[bs]=Mreža -Name[ca]=Xarxa -Name[cs]=Síť -Name[csb]=Sec -Name[cy]=Rhydwaith -Name[da]=Netværk -Name[de]=Netzwerk -Name[el]=Δίκτυο -Name[eo]=Reto -Name[es]=Red -Name[et]=Võrk -Name[eu]=Sarea -Name[fa]=شبکه -Name[fi]=Verkko -Name[fr]=Réseau -Name[fy]=Netwurk -Name[ga]=Líonra -Name[gl]=Rede -Name[he]=רשת -Name[hi]=नेटवर्क -Name[hr]=Mreža -Name[hsb]=Syć -Name[hu]=Hálózat -Name[id]=Jaringan -Name[is]=Net -Name[it]=Rete -Name[ja]=ネットワーク -Name[ka]=ქსელი -Name[kk]=Желі -Name[km]=បណ្តាញ -Name[ko]=네트워크 -Name[ku]=Tor -Name[lb]=Netzwierk -Name[lt]=Tinklas -Name[lv]=Tīkls -Name[mi]=Hao -Name[mk]=Мрежа -Name[mn]=Сүлжээ -Name[ms]=Jaringan -Name[nds]=Nettwark -Name[ne]=सञ्जाल -Name[nl]=Netwerk -Name[nn]=Nettverk -Name[nso]=Kgokagano -Name[oc]=Resèu -Name[pa]=ਨੈੱਟਵਰਕ -Name[pl]=Sieć -Name[pt]=Rede -Name[pt_BR]=Rede -Name[ro]=Reţea -Name[ru]=Сеть -Name[rw]=Urusobe -Name[se]=Fierbmi -Name[sk]=Sieť -Name[sl]=Omrežje -Name[sq]=Rrjeta -Name[sr]=Мрежа -Name[sr@Latn]=Mreža -Name[ss]=Luchungechunge -Name[sv]=Nätverk -Name[ta]=பிணையம் -Name[te]=కలన జాలం -Name[tg]=Шабака -Name[th]=ระบบเครือข่าย -Name[tr]=Ağ -Name[tt]=Çeltär -Name[uk]=Мережа -Name[uz]=Tarmoq -Name[uz@cyrillic]=Tarмоқ -Name[ven]=Vhukwamani -Name[vi]=mạng -Name[wa]=Rantoele -Name[xh]=Umsebenzi womnatha -Name[zh_CN]=网络 -Name[zh_HK]=網絡 -Name[zh_TW]=網路 -Name[zu]=Umsebenzi wokuxhumana okusakazekile X-TDE-Library=tdeabc_net Type=Service X-TDE-ServiceTypes=TDEResources/Plugin diff --git a/tdeabc/plugins/sql/sql.desktop b/tdeabc/plugins/sql/sql.desktop index 6881ebebe..fbec90aac 100644 --- a/tdeabc/plugins/sql/sql.desktop +++ b/tdeabc/plugins/sql/sql.desktop @@ -1,9 +1,5 @@ [Misc] Name=SQL -Name[bn]=এস-কিউ-এল (SQL) -Name[hi]=एसक्यूएल (SQL) -Name[ss]=I-SQL -Name[te]=ఏస్క్యుఎల్ [Plugin] Type=sql |