From e604ddcc4c22f4baa33b3ac7737271346c5b33c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 15 Jul 2020 20:12:47 +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 (cherry picked from commit cb8cda7bca532df21c02bc4d2bfd03387df7f852) --- tdefile-plugins/cert/CMakeLists.txt | 4 ++- tdefile-plugins/cert/tdefile_cert.desktop | 55 ++----------------------------- 2 files changed, 5 insertions(+), 54 deletions(-) (limited to 'tdefile-plugins/cert') diff --git a/tdefile-plugins/cert/CMakeLists.txt b/tdefile-plugins/cert/CMakeLists.txt index b53bdac..ef611e3 100644 --- a/tdefile-plugins/cert/CMakeLists.txt +++ b/tdefile-plugins/cert/CMakeLists.txt @@ -24,6 +24,8 @@ tde_add_kpart( tdefile_cert AUTOMOC ##### other data ################################ -install( FILES tdefile_cert.desktop +tde_create_translated_desktop( + SOURCE tdefile_cert.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdefile-desktops ) diff --git a/tdefile-plugins/cert/tdefile_cert.desktop b/tdefile-plugins/cert/tdefile_cert.desktop index 7e4bce5..8497de4 100644 --- a/tdefile-plugins/cert/tdefile_cert.desktop +++ b/tdefile-plugins/cert/tdefile_cert.desktop @@ -1,58 +1,7 @@ [Desktop Entry] -Type=Service Name=Certificate Info -Name[bg]=Информация за удостоверение -Name[br]=Titouroù diwar-benn an testeni -Name[ca]=Informació del certificat -Name[cs]=Informace o certifikátu -Name[da]=Information om certifikat -Name[de]=Information zum Zertifikat -Name[el]=Πληροφορίες πιστοποιητικού -Name[eo]=Atesta informo -Name[es]=Información del certificado -Name[et]=Sertifikaadi info -Name[eu]=Ziurtagiriaren informazioa -Name[fa]=اطلاعات گواهی‌نامه -Name[fi]=Sertifikaatin tiedot -Name[fr]=Informations sur le certificat -Name[fy]=Sertifikaatynformaasje -Name[ga]=Eolas faoin Teastas -Name[gl]=Informacións do Certificado -Name[hi]=प्रमाणपत्र जानकारी -Name[hr]=Podaci potvrde -Name[hu]=Tanúsítvány-jellemzők -Name[is]=Upplýsingar um skírteini -Name[it]=Informazioni del certificato -Name[ja]=認証情報 -Name[ka]=სერტიფიკატის ინფორმაცია -Name[kk]=Куәлік мәліметтері -Name[km]=ព័ត៌មាន​វិញ្ញាបនបត្រ -Name[lt]=Sertifikato informacija -Name[mk]=Информации за сертификати -Name[ms]=Maklumat Sijil -Name[nb]=Sertifikatinformasjon -Name[nds]=Zertifikaat-Informatschonen -Name[ne]=प्रमाणपत्र सूचना -Name[nl]=Certificaatinformatie -Name[nn]=Informasjon om sertifikat -Name[pa]=ਸਰਟੀਫਿਕੇਟ ਜਾਣਕਾਰੀ -Name[pl]=Informacja o certyfikacie -Name[pt]=Informações do Certificado -Name[pt_BR]=Informações sobre Certificado -Name[ru]=Информация о сертификате -Name[sk]=Informácie o certifikáte -Name[sl]=Informacija o certifikatu -Name[sr]=Информације о сертификату -Name[sr@Latn]=Informacije o sertifikatu -Name[sv]=Information om certifikat -Name[ta]=சான்றிதழ் தகவல் -Name[tr]=Sertifika Bilgisi -Name[uk]=Інформація про сертифікат -Name[uz]=Sertifikat haqida maʼlumot -Name[uz@cyrillic]=Сертификат ҳақида маълумот -Name[vi]=Thông tin chứng nhận -Name[zh_CN]=证书信息 -Name[zh_TW]=憑證資訊 + +Type=Service X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_cert MimeType=application/x-x509-ca-cert -- cgit v1.2.1