diff options
author | Slávek Banko <[email protected]> | 2020-07-08 22:39:20 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-08 22:39:20 +0200 |
commit | d36d9267539f12fdaa5a0dd18f6285e4a636e1ac (patch) | |
tree | 65966d4e78c0529e0e56f8586a7d9c2ae530d336 /tdednssd | |
parent | 54888da0ae983555ec963c52007c50d49b3c66af (diff) | |
download | tdenetwork-d36d9267539f12fdaa5a0dd18f6285e4a636e1ac.tar.gz tdenetwork-d36d9267539f12fdaa5a0dd18f6285e4a636e1ac.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 'tdednssd')
-rw-r--r-- | tdednssd/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | tdednssd/ioslave/CMakeLists.txt | 16 | ||||
-rw-r--r-- | tdednssd/ioslave/invitation.protocol | 47 | ||||
-rw-r--r-- | tdednssd/ioslave/zeroconf.desktop | 54 | ||||
-rw-r--r-- | tdednssd/ioslave/zeroconf.protocol | 48 | ||||
-rw-r--r-- | tdednssd/kdedmodule/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tdednssd/kdedmodule/dnssdwatcher.desktop | 89 |
7 files changed, 30 insertions, 236 deletions
diff --git a/tdednssd/CMakeL10n.txt b/tdednssd/CMakeL10n.txt index b585ce4a..8fef5783 100644 --- a/tdednssd/CMakeL10n.txt +++ b/tdednssd/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_auto_add_subdirectories( ) + +tde_l10n_create_template( + CATALOG "desktop_files/tdednssd-desktops/" + SOURCES *.desktop *.protocol + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/tdednssd/ioslave/CMakeLists.txt b/tdednssd/ioslave/CMakeLists.txt index fb85beae..ce99bb31 100644 --- a/tdednssd/ioslave/CMakeLists.txt +++ b/tdednssd/ioslave/CMakeLists.txt @@ -22,17 +22,21 @@ link_directories( ##### other data ################################ -install( FILES - zeroconf.protocol invitation.protocol - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE zeroconf.protocol invitation.protocol + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdednssd-desktops +) install( FILES _http._tcp _ftp._tcp _ldap._tcp _webdav._tcp _nfs._tcp _ssh._tcp DESTINATION ${DATA_INSTALL_DIR}/zeroconf ) -install( FILES - zeroconf.desktop - DESTINATION ${DATA_INSTALL_DIR}/remoteview ) +tde_create_translated_desktop( + SOURCE zeroconf.desktop + DESTINATION ${DATA_INSTALL_DIR}/remoteview + PO_DIR tdednssd-desktops +) ##### tdeio_zeroconf (module) ##################### diff --git a/tdednssd/ioslave/invitation.protocol b/tdednssd/ioslave/invitation.protocol index 1479dcc7..92fad647 100644 --- a/tdednssd/ioslave/invitation.protocol +++ b/tdednssd/ioslave/invitation.protocol @@ -12,51 +12,8 @@ deleting=false linking=false moving=false Icon=network_local + Description=SD invitations -Description[be]=Запрашэнні SD -Description[bg]=Покани SD -Description[bn]=এসডি আমন্ত্রণ -Description[bs]=SD pozivi -Description[ca]=Invitacions SD -Description[cs]=SD pozvánky -Description[da]=SD-invitationer -Description[de]=SD-Einladungen -Description[el]=Προσκλήσεις SD -Description[es]=Invitaciones SD -Description[et]=SD kutsed -Description[eu]=SD gonbidapenak -Description[fa]=دعوتهای SD -Description[fi]=SD-kutsut -Description[fr]=Invitations SD -Description[gl]=Invitacións SD -Description[hu]=SD meghívók -Description[is]=SD boð -Description[it]=Inviti SD -Description[ja]=SD 招待 -Description[ka]=SD მოწვევა -Description[kk]=SD шақырулар -Description[km]=លិខិតអញ្ជើញ SD -Description[lt]=SD pakvietimai -Description[nb]=SD invitasjoner -Description[nds]=SD-Inladen -Description[ne]=SD निमन्त्रणा -Description[nl]=SD-uitnodigingen -Description[nn]=SD-innbydingar -Description[pa]=SD ਸੱਦਾ -Description[pl]=Zaproszenia SD -Description[pt]=Convites de SD -Description[pt_BR]=solicitações SD -Description[ru]=Приглашения SD -Description[sk]=SD pozvánky -Description[sl]=Povabila SD -Description[sr]=SD позивнице -Description[sr@Latn]=SD pozivnice -Description[sv]=SD-inbjudningar -Description[tr]=SD davetleri -Description[uk]=Запрошення SD -Description[zh_CN]=SD 邀请 -Description[zh_HK]=SD 邀請 -Description[zh_TW]=SD 邀請 + maxInstances=4 Class=:remote - diff --git a/tdednssd/ioslave/zeroconf.desktop b/tdednssd/ioslave/zeroconf.desktop index abc41151..40d4545f 100644 --- a/tdednssd/ioslave/zeroconf.desktop +++ b/tdednssd/ioslave/zeroconf.desktop @@ -1,56 +1,6 @@ [Desktop Entry] -Icon=network_local Name=Network Services -Name[be]=Сеткавыя сервісы -Name[bg]=Мрежови услуги -Name[bn]=নেটওয়ার্ক সার্ভিস -Name[br]=Servijoù rouedad -Name[bs]=Mrežni servisi -Name[ca]=Serveis de xarxa -Name[cs]=Síťové služby -Name[da]=Netværkstjenester -Name[de]=Netzwerkdienste -Name[el]=Υπηρεσίες δικτύου -Name[eo]=Retservoj -Name[es]=Servicios de red -Name[et]=Võrguteenused -Name[eu]=Sare zerbitzuak -Name[fa]=خدمات شبکه -Name[fi]=Lähiverkkopalvelut -Name[fr]=Services réseaux -Name[ga]=Seirbhísí Líonra -Name[gl]=Servicios de Rede -Name[he]=שרותי רשת -Name[hu]=Hálózati szolgáltatások -Name[is]=Netþjónustur -Name[it]=Servizi di rete -Name[ja]=ネットワークサービス -Name[ka]=ქსელის სერვისები -Name[kk]=Желі қызметтері -Name[km]=សេវាបណ្ដាញ -Name[lt]=Tinklo tarnybos -Name[nb]=Nettverkstjenester -Name[nds]=Nettwarkdeensten -Name[ne]=सञ्जाल सेवा -Name[nl]=Netwerkdiensten -Name[nn]=Nettverkstenester -Name[pa]=ਨੈੱਟਵਰਕ ਸੇਵਾਵਾਂ -Name[pl]=Usługi sieciowe -Name[pt]=Serviços de Rede -Name[pt_BR]=Serviços de Rede -Name[ro]=Servicii de reţea -Name[ru]=Сетевые службы -Name[sk]=Sieťové služby -Name[sl]=Omrežne storitve -Name[sr]=Мрежни сервиси -Name[sr@Latn]=Mrežni servisi -Name[sv]=Nätverkstjänster -Name[tr]=Ağ Servisleri -Name[uk]=Мережеві служби -Name[uz]=Tarmoq xizmatlari -Name[uz@cyrillic]=Тармоқ хизматлари -Name[zh_CN]=网络服务 -Name[zh_HK]=網絡服務 -Name[zh_TW]=網路服務 + Type=Link +Icon=network_local URL=zeroconf:/ diff --git a/tdednssd/ioslave/zeroconf.protocol b/tdednssd/ioslave/zeroconf.protocol index dec1d660..34549338 100644 --- a/tdednssd/ioslave/zeroconf.protocol +++ b/tdednssd/ioslave/zeroconf.protocol @@ -12,52 +12,8 @@ deleting=false linking=false moving=false Icon=network_local + Description=A tdeioslave for ZeroConf -Description[be]=Модуль tdeioslave для ZeroConf -Description[bn]=জিরো-কন্ফ এর জন্য একটি কে-আই-ও স্লেভ -Description[br]=Ur c'hioslave evit ZeroConf -Description[bs]=tdeioslave za ZeroConf -Description[ca]=Un tdeioslave per ZeroConf -Description[cs]=Pomocný protokol pro Zeroconf -Description[da]=En tdeioslave for Zeroconf -Description[de]=Ein Ein-/Ausgabemodul für ZeroConf -Description[el]=Ένα tdeioslave για το ZeroConf -Description[es]=Un «tdeioslave» para ZeroConf -Description[et]=ZeroConfi I/O-moodul -Description[eu]= tdeioslave bat ZeroConf-erako -Description[fa]=یک tdeioslave برای ZeroConf -Description[fi]=Siirräntätyöskentelijä ZeroConfille -Description[fr]=Un module d'entrée / sortie pour ZeroConf -Description[gl]=Un kioslabe para ZeroConf -Description[he]=tdeioslave בשביל ZeroConf -Description[hu]=TDE-protokoll a Zeroconf használatához -Description[is]=tdeioslave fyrir ZeroConf -Description[it]=Un tdeioslave per Zeroconf -Description[ja]=ZeroConf の tdeioslave -Description[ka]= tdeioslave ZeroConfსთვის -Description[kk]=ZeroConf-тың tdeioslave-і -Description[km]=tdeioslave មួយសម្រាប់ ZeroConf -Description[lt]=Antrinė TDE programa skirta ZeroConf -Description[nb]=En tdeioslave for ZeroConf -Description[nds]=In-/Utgaavmoduul för ZeroConf -Description[ne]=जेरोकन्फका लागि कियोस्लाभ -Description[nl]=Een tdeioslave voor ZeroConf -Description[nn]=Ein tdeio-slave for ZeroConf -Description[pl]=Wtyczka protokołu ZeroConf -Description[pt]=Um 'tdeioslave' para o ZeroConf -Description[pt_BR]=Um IO-Slave para o ZeroConf -Description[ro]=Un dispozitiv de I/E pentru ZeroConf -Description[ru]=Kioslave для ZeroConf -Description[sk]=tdeioslave pre ZeroConf -Description[sl]=Kioslave za ZeroConf -Description[sr]=tdeioslave за ZeroConf -Description[sr@Latn]=tdeioslave za ZeroConf -Description[sv]=En I/O-slav för Zeroconf -Description[tr]=Zeroconf tdeioslave'i -Description[uk]=Kioslave для ZeroConf -Description[zh_CN]=ZeroConf 的 tdeioslave -Description[zh_HK]=用於 ZeroConf 的 tdeioslave -Description[zh_TW]=ZeroConf 的 tdeioslave + maxInstances=4 Class=:local - diff --git a/tdednssd/kdedmodule/CMakeLists.txt b/tdednssd/kdedmodule/CMakeLists.txt index 06ad515c..25e55b20 100644 --- a/tdednssd/kdedmodule/CMakeLists.txt +++ b/tdednssd/kdedmodule/CMakeLists.txt @@ -22,7 +22,11 @@ link_directories( ##### other data ################################ -install( FILES dnssdwatcher.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded ) +tde_create_translated_desktop( + SOURCE dnssdwatcher.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kded + PO_DIR tdednssd-desktops +) ##### kded_dnssdwatcher (module) ################ diff --git a/tdednssd/kdedmodule/dnssdwatcher.desktop b/tdednssd/kdedmodule/dnssdwatcher.desktop index d9191059..727a6a42 100644 --- a/tdednssd/kdedmodule/dnssdwatcher.desktop +++ b/tdednssd/kdedmodule/dnssdwatcher.desktop @@ -1,92 +1,9 @@ [Desktop Entry] -Type=Service Name=DNS-SD Services Watcher -Name[be]=Аглядальнік сервісаў DNS-SD -Name[bn]=ডিএনএস-এসডি সার্ভিস পর্যবেক্ষক -Name[bs]=Nadzor DNS-SD servisa -Name[ca]=Vigilant de serveis DNS-SD -Name[cs]=Sledování DNS-SD služeb -Name[da]=DNS-SD overvågning af tjenester -Name[de]=Überwachung von DNS-SD-Diensten -Name[el]=Παρατηρητής υπηρεσιών DNS-SD -Name[es]=Observador de servicios DNS-SD -Name[et]=DNS-SD teenuste jälgija -Name[eu]=DNS-SD zerbitzu jarraitzailea -Name[fa]=پایندۀ خدمات DNS-SD -Name[fi]=DNS-SD-palvelujen tarkkailija -Name[fr]=Surveillance des services DNS-SD -Name[gl]=Observador de Servicios DNS-SD -Name[hu]=DNS-SD szolgáltatásfigyelő -Name[is]=DNS-SD þjónustuvaktari -Name[it]=Sentinella dei servizi DNS-SD -Name[ja]=DNS-SD サービス監視 -Name[ka]=DNS-SD სერვისების მეთვალყურე -Name[kk]=DNS-SD қызметтер бақылаушысы -Name[km]=កម្មវិធីឃ្លាំមើលសេវា DNS-SD -Name[lt]=DNS-SD tarnybos stebėjimas -Name[nb]=Overvåker for DNS-SD-tjenester -Name[nds]=DNS-SD-Deenstkieker -Name[ne]=DNS-SD सेवा दर्शक -Name[nl]=DNS-SD-diensten observatie -Name[nn]=DNS-SD-tenesteovervakar -Name[pa]=DNS-SD ਸੇਵਾਵਾਂ ਵਾਂਚਰ -Name[pl]=Nadzorca usług DNS-SD -Name[pt]=Vigia de Serviços DNS-SD -Name[pt_BR]=Monitor dos Serviços DNS-SD -Name[ru]=Служба DNS-SD -Name[sk]=Sledovač DNS-SD služieb -Name[sl]=Opazovalec storitev DNS-SD -Name[sr]=Пратилац DNS-SD сервиса -Name[sr@Latn]=Pratilac DNS-SD servisa -Name[sv]=DNS-SD tjänstbevakning -Name[tr]=DNS-SD Servisi İzleyicisi -Name[uk]=Спостереження за службами DNS-SD -Name[zh_CN]=DNS-SD 服务监视器 -Name[zh_HK]=DNS-SD 服務監察器 -Name[zh_TW]=DNS-SD 服務監看器 + Comment=Keeps track of DNS-SD services and updates directory listings -Comment[be]=Назірае за спісам сервісаў DNS-SD і абнаўляе выгляд дырэкторыяў -Comment[bn]=ডিএনএস-এসডি সার্ভিসের খোঁজ রাখে এবং ডিরেক্টরী তালিকা আপডেট করে -Comment[bs]=Prati DNS-SD servise i ažurira spiskove direktorija -Comment[ca]=Segueix els serveis DNS-SD i actualitza les llistes de directoris -Comment[cs]=Udržuje přehled o DNS-SD službách a aktualizuje výpisy adresářů -Comment[da]=Holder styr på DNS-SD-tjenester og opdaterer lister med mapper -Comment[de]=Überwacht DNS-SD-Dienste und aktualisiert Verzeichniseinträge -Comment[el]=Διατηρεί το ίχνος των υπηρεσιών του DNS-SD και ενημερώνει τις λίστες του καταλόγου -Comment[es]=Vigila los servicios DNS-SD y actualiza los listados de directorio -Comment[et]=Jälgib DNS-SD teenuseid ja uuendab kataloogide nimekirju -Comment[eu]=DNS-SD zerbitzuak jarraitu eta direktorio zerrendak eguneratzen ditu -Comment[fa]=رد خدمات DNS-SD را نگهداری میکند و فهرست برنامههای فهرست راهنما را بهروزرسانی میکند -Comment[fi]=Pitää kirjaa DNS-SD-palveluista ja päivittää kansiolistaukset -Comment[fr]=Conserve une trace des services DNS-SD et actualise les listes de dossiers -Comment[gl]=Deixa constancia dos servicios DNS-SD e anova as listaxes de directorios -Comment[hu]=Követi a DNS-SD szolgáltatások állapotát és frissíti a hálózati listákat -Comment[is]=Fylgist með DNS-SD þjónustum og uppfærir möppulista -Comment[it]=Mantiene traccia dei servizi DNS-SD e aggiorna le liste delle directory -Comment[ja]=DNS-SD サービスの管理とディレクトリ一覧の更新 -Comment[ka]=DNS-SD სერვისების ჩანაწერების შენახვა და დირექტორიის ჩამონათვლის განახლება -Comment[kk]=DNS-SD қызметтердің протоколын жүргізіп, каталогын жаңарту -Comment[km]=តាមដានសេវា DNS-SD និងធ្វើឲ្យការរាយថតទាន់សម័យ -Comment[lt]=Seka DNS-SD tarnybas ir atnaujina aplankų sąrašus -Comment[nb]=Holder øye med DNS-SD-tjenester og oppdaterer katalogoppføringer -Comment[nds]=Kiekt na DNS-SD-Deensten un frischt Orneroplisten op -Comment[ne]=DNS-SD सेवाको ट्रयाक राख्दछ र डाइरेक्टरी सूची अद्यावधिक गर्दछ -Comment[nl]=Houdt de DNS-SD-diensten bij en actualiseert mappenweergaven -Comment[nn]=Held auge med DNS-SD-tenester og oppdaterer katalogar -Comment[pl]=Śledzi usługi DNS-SD services i uaktualnia zawartość katalogu -Comment[pt]=Vigia os serviços DNS-SD e actualiza listas de pastas -Comment[pt_BR]=Monitora os serviços DNS-SD -Comment[ru]=Обновление каталогов DNS-SD -Comment[sk]=Sleduje DNS-SD služby a aktualizuje výpisy priečinku -Comment[sl]=Spremlja storitve DNS-SD in posodablja sezname imenikov -Comment[sr]=Надгледа DNS-SD сервисе и ажурира листинге директоријума -Comment[sr@Latn]=Nadgleda DNS-SD servise i ažurira listinge direktorijuma -Comment[sv]=Håller ordning på DNS-SD tjänster och uppdaterar kataloglistor -Comment[tr]=DNS-SD servisi ve klasör listesini güncelleyisi -Comment[uk]=Спостерігає за службами DNS-SD та оновлює списки каталогів -Comment[zh_CN]=跟踪 DNS-SD 服务并更新目录列表 -Comment[zh_HK]=監察 DNS-SD 服務並更新目錄清單 -Comment[zh_TW]=追蹤 DNS-SD 服務並更新目錄清單 + +Type=Service X-TDE-ServiceTypes=KDEDModule X-TDE-ModuleType=Library X-TDE-Library=dnssdwatcher |