From 0d3043b6308af148da06ac14c53defc4b1e7e138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 12 Jul 2020 16:15:10 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdefile-plugins/CMakeL10n.txt | 6 +++ tdefile-plugins/ics/CMakeLists.txt | 6 ++- tdefile-plugins/ics/tdefile_ics.desktop | 51 +----------------- .../palm-databases/tdefile_palm.desktop | 54 +------------------ tdefile-plugins/rfc822/tdefile_rfc822.desktop | 57 +------------------- tdefile-plugins/vcf/CMakeLists.txt | 6 ++- tdefile-plugins/vcf/tdefile_vcf.desktop | 60 +--------------------- 7 files changed, 24 insertions(+), 216 deletions(-) (limited to 'tdefile-plugins') diff --git a/tdefile-plugins/CMakeL10n.txt b/tdefile-plugins/CMakeL10n.txt index b585ce4af..af16c09af 100644 --- a/tdefile-plugins/CMakeL10n.txt +++ b/tdefile-plugins/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_auto_add_subdirectories( ) + +tde_l10n_create_template( + CATALOG "desktop_files/tdefile-desktops/" + SOURCES *.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/tdefile-plugins/ics/CMakeLists.txt b/tdefile-plugins/ics/CMakeLists.txt index 66c100712..49bf0bc93 100644 --- a/tdefile-plugins/ics/CMakeLists.txt +++ b/tdefile-plugins/ics/CMakeLists.txt @@ -28,7 +28,11 @@ link_directories( ##### other data ################################ -install( FILES tdefile_ics.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_ics.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdefile-desktops +) ##### tdefile_ics (module) ######################## diff --git a/tdefile-plugins/ics/tdefile_ics.desktop b/tdefile-plugins/ics/tdefile_ics.desktop index ef4c1763d..57d781c29 100644 --- a/tdefile-plugins/ics/tdefile_ics.desktop +++ b/tdefile-plugins/ics/tdefile_ics.desktop @@ -1,54 +1,7 @@ [Desktop Entry] -Type=Service Name=ICS information -Name[af]=ICS informasie -Name[be]=Інфармацыя аб ICS -Name[bg]=ICS информация -Name[br]=Titouroù ICS -Name[ca]=Informació ICS -Name[cs]=Informace o ICS -Name[da]=ICS-information -Name[de]=ICS-Information -Name[el]=Πληροφορίες ICS -Name[eo]=ICS-Informo -Name[es]=Información ICS -Name[et]=ICS info -Name[eu]=ICS informazioa -Name[fa]=اطلاعات ICS -Name[fi]=ICS-tiedot -Name[fr]=Information sur ICS -Name[fy]=ICS-ynformaasje -Name[gl]=Información ICS -Name[he]=מידע של ICS -Name[hu]=ICS-jellemzők -Name[is]=ICS upplýsingar -Name[it]=Informazioni ICS -Name[ja]=ICS 情報 -Name[kk]=ICS ақпараты -Name[km]=ព័ត៌មាន ICS -Name[lt]=ICS informacija -Name[mk]=Информација за ICS -Name[ms]=Maklumat ICS -Name[nb]=ICS-informasjon -Name[nds]=ICS-Informatschoon -Name[ne]=ICS सूचना -Name[nl]=ICS-informatie -Name[nn]=ICS-informasjon -Name[pa]=ICS ਜਾਣਕਾਰੀ -Name[pl]=Informacja ICS -Name[pt]=Informação ICS -Name[pt_BR]=Informações ICS -Name[ru]=Информация ICS -Name[sk]=Informácie o ICS -Name[sl]=Podatki ICS -Name[sr]=ICS информације -Name[sr@Latn]=ICS informacije -Name[sv]=ICS-information -Name[ta]=ICS தகவல் -Name[tr]=ICS bilgisi -Name[uk]=Інформація про ICS -Name[zh_CN]=ICS 信息 -Name[zh_TW]=ICS 資訊 + +Type=Service X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_ics MimeType=text/calendar diff --git a/tdefile-plugins/palm-databases/tdefile_palm.desktop b/tdefile-plugins/palm-databases/tdefile_palm.desktop index d9adb981e..e7d730d60 100644 --- a/tdefile-plugins/palm-databases/tdefile_palm.desktop +++ b/tdefile-plugins/palm-databases/tdefile_palm.desktop @@ -1,57 +1,7 @@ [Desktop Entry] -Type=Service Name=PalmOS Database Info -Name[af]=PalmOS databasis informasie -Name[be]=Інфармацыя аб базе дадзеных PalmOS -Name[bg]=Информация за БД на PalmOS -Name[br]=Titouroù diwar-benn ar stlennvon PalmOS -Name[bs]=Informacije o PalmOS bazi podataka -Name[ca]=Informació de base de dades PalmOS -Name[cs]=Informace o databázi PalmOS -Name[da]=PalmOS database-info -Name[de]=PalmOS Datenbank-Informationen -Name[el]=Πληροφορίες βάσης δεδομένων PalmOS -Name[eo]=PalmOS-Datumbazinformo -Name[es]=Info. de la base de datos de PalmOS -Name[et]=PalmOS andmebaasi info -Name[eu]=PalmOS datu-base informazioa -Name[fa]=اطلاعات دادگان PalmOS -Name[fi]=PalmOS-tietokannan tiedot -Name[fr]=Informations sur les bases de données PalmOS -Name[fy]=PalmOS-database ynformaasje -Name[ga]=Eolas faoin Bhunachar Sonraí PalmOS -Name[gl]=Información de Base de Datos de PalmOS -Name[he]=מידע אודות בסיס הנתונים של PalmOS -Name[hu]=PalmOS adatbázis-jellemzők -Name[is]=PalmOS gagnagrunnsupplýsingar -Name[it]=Informazioni database PalmOs -Name[ja]=PalmOS データベース 情報 -Name[kk]=PalmOS деректер қорының мәліметі -Name[km]=ព័ត៌មាន​មូលដ្ឋាន​ទិន្នន័យ PalmOS -Name[lt]=PalmOS duomenų bazės info -Name[mk]=Информации за PalmOS-база на податоци -Name[ms]=Maklumat Pangkalan Data PalmOS -Name[nb]=PalmOS Database info -Name[nds]=PalmOS-Datenbank-Informatschonen -Name[ne]=PalmOS डाटाबेस सूचना -Name[nl]=PalmOS-database informatie -Name[nn]=PalmOS-databaseinfo -Name[pl]=Baza danych PalmOS -Name[pt]=Informações de Base de Dados PalmOS -Name[pt_BR]=Informações da Base de Dados do PalmOS -Name[ru]=Сведения о базе данных PalmOS -Name[se]=PalmOS-diehtovuođđodieđut -Name[sk]=Informácie o databázach PalmOS -Name[sl]=Informacije zbirke podatkov za PalmOS -Name[sr]=Информације о PalmOS базама података -Name[sr@Latn]=Informacije o PalmOS bazama podataka -Name[sv]=PalmOS-databasinformation -Name[ta]=பால்ம்OS தரவுத்தள தகவல் -Name[tg]=Иттилоот дар бораи бонки додаҳои PalmOS -Name[tr]=PalmOS Veritabanı Bilgisi -Name[uk]=Інформація про базу даних PalmOS -Name[zh_CN]=PalmOS 数据库信息 -Name[zh_TW]=PalmOS 資料庫資訊 + +Type=Service X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_palm MimeType=application/vnd.palm diff --git a/tdefile-plugins/rfc822/tdefile_rfc822.desktop b/tdefile-plugins/rfc822/tdefile_rfc822.desktop index 448a73572..b82a148df 100644 --- a/tdefile-plugins/rfc822/tdefile_rfc822.desktop +++ b/tdefile-plugins/rfc822/tdefile_rfc822.desktop @@ -1,60 +1,7 @@ [Desktop Entry] -Type=Service Name=Email Info -Name[af]=E-pos informasie -Name[be]=Інфармацыя аб паведамленні электроннай пошты -Name[bg]=Информация за е-поща -Name[br]=Titouroù postel -Name[ca]=Informació de correu-e -Name[cs]=Informace o emailu -Name[cy]=Gwybodaeth Ebost -Name[da]=E-mail-info -Name[de]=E-Mail-Info -Name[el]=Πληροφορίες Email -Name[eo]=Retpoŝt-informo -Name[es]=Info de correo electrónico -Name[et]=Kirja info -Name[eu]=E-posta informazioa -Name[fa]=اطلاعات رایانامه -Name[fi]=Sähköpostitiedot -Name[fr]=Informations sur le courrier électronique -Name[fy]=E-port-ynformaasje -Name[gl]=Información de Correo-e -Name[he]=מידע על דוא"ל -Name[hi]=ई-मेल जानकारी -Name[hr]=Email Informacije -Name[hu]=E-mail-jellemzők -Name[is]=Tölvupóst upplýsingar -Name[it]=Informazioni di posta elettronica -Name[ja]=Eメール 情報 -Name[kk]=Эл.пошта мәліметі -Name[km]=ព័ត៌មាន​អ៊ីមែល -Name[lt]=E. pašto info -Name[mk]=Информации за е-пошта -Name[ms]=Info Emel -Name[nb]=E-post-info -Name[nds]=Nettbreef-Informatschonen -Name[ne]=इमेल सूचना -Name[nl]=E-mail-informatie -Name[nn]=Epost-info -Name[pa]=ਈ-ਪੱਤਰ ਜਾਣਕਾਰੀ -Name[pl]=Informacja o e-mailu -Name[pt]=Informação do E-Mail -Name[pt_BR]=Informações sobre E-mail -Name[ro]=Informaţii e-mail -Name[ru]=Сведения об электронной почте -Name[se]=E-boastadieđut -Name[sk]=Informácie o emaily -Name[sl]=Informacije o e-pošti -Name[sr]=Е-поштанске информације -Name[sr@Latn]=E-poštanske informacije -Name[sv]=E-postinformation -Name[ta]=மின்னஞ்சல் தகவல் -Name[tg]=Иттилоот дар бораи почтаи электронӣ -Name[tr]=E-Posta Bilgisi -Name[uk]=Інформація про повідомлення ел. пошти -Name[zh_CN]=电子邮件信息 -Name[zh_TW]=電子郵件資訊 + +Type=Service X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_rfc822 MimeType=message/rfc822 diff --git a/tdefile-plugins/vcf/CMakeLists.txt b/tdefile-plugins/vcf/CMakeLists.txt index c0a8944a0..9edcb1691 100644 --- a/tdefile-plugins/vcf/CMakeLists.txt +++ b/tdefile-plugins/vcf/CMakeLists.txt @@ -23,7 +23,11 @@ link_directories( ##### other data ################################ -install( FILES tdefile_vcf.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_vcf.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdefile-desktops +) ##### tdefile_vcf (module) ######################## diff --git a/tdefile-plugins/vcf/tdefile_vcf.desktop b/tdefile-plugins/vcf/tdefile_vcf.desktop index 036a6c0d2..e7f5c43fc 100644 --- a/tdefile-plugins/vcf/tdefile_vcf.desktop +++ b/tdefile-plugins/vcf/tdefile_vcf.desktop @@ -1,63 +1,7 @@ [Desktop Entry] -Type=Service Name=vCard Info -Name[af]=Vkaart Inligting -Name[be]=Інфармацыя аб vCard -Name[bg]=Информация за vCard -Name[br]=Titouroù diwar-benn vCard -Name[ca]=Informació de vCard -Name[cs]=VCard info -Name[cy]=Gwybodaeth vCard -Name[da]=VCard-info -Name[de]=vCard-Info -Name[el]=Πληροφορίες vCard -Name[eo]=vCard-informo -Name[es]=Info de vCard -Name[et]=vCardi info -Name[eu]=vCard informazioa -Name[fa]=اطلاعات vCard -Name[fi]=vCard-tiedot -Name[fr]=Informations vCard -Name[fy]=vCard-ynformaasje -Name[gl]=Información de vCard -Name[he]=מידע vCard -Name[hi]=वी-कार्ड जानकारी -Name[hu]=VCard-jellemzők -Name[is]=vCard upplýsingar -Name[it]=Informazioni vCard -Name[ja]=vCard 情報 -Name[kk]=vCard мәліметі -Name[km]=ព័ត៌មាន vCard -Name[lt]=vCard informacija -Name[mk]=Информации за vCard -Name[ms]=Info vCard -Name[mt]=Informazzjoni vCard -Name[nb]=vCard info -Name[nds]=vCard-Informatschonen -Name[ne]=भी कार्ड सुचना -Name[nl]=vCard-informatie -Name[nn]=vCard-info -Name[nso]=Tshedimoso ya vKarata -Name[pa]=vCard ਜਾਣਕਾਰੀ -Name[pl]=Informacja vCard -Name[pt]=Informação do vCard -Name[pt_BR]=Informações sobre vCard -Name[ro]=Informaţii vCard -Name[ru]=Сведения о визитке vCard -Name[se]=vCard-dieđut -Name[sl]=Informacije o vCard -Name[sr]=vCard информације -Name[sr@Latn]=vCard informacije -Name[sv]=vCard-information -Name[ta]=விஅட்டை தகவல் -Name[tg]=Иттилоот дар бораи визиткаи vCard -Name[tr]=VCard Bilgisi -Name[uk]=Інформація про vCard -Name[ven]=Mafhungo a vCard -Name[xh]=Inkcukacha ye vCard -Name[zh_CN]=vCard 信息 -Name[zh_TW]=vCard 資訊 -Name[zu]=Ulwazi lwe-vCard + +Type=Service X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_vcf MimeType=text/x-vcard -- cgit v1.2.1