From cb8cda7bca532df21c02bc4d2bfd03387df7f852 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 --- tdefile-plugins/txt/CMakeLists.txt | 4 +- tdefile-plugins/txt/tdefile_txt.desktop | 65 +-------------------------------- 2 files changed, 5 insertions(+), 64 deletions(-) (limited to 'tdefile-plugins/txt') diff --git a/tdefile-plugins/txt/CMakeLists.txt b/tdefile-plugins/txt/CMakeLists.txt index 85232e0..8c88877 100644 --- a/tdefile-plugins/txt/CMakeLists.txt +++ b/tdefile-plugins/txt/CMakeLists.txt @@ -24,6 +24,8 @@ tde_add_kpart( tdefile_txt AUTOMOC ##### other data ################################ -install( FILES tdefile_txt.desktop +tde_create_translated_desktop( + SOURCE tdefile_txt.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdefile-desktops ) diff --git a/tdefile-plugins/txt/tdefile_txt.desktop b/tdefile-plugins/txt/tdefile_txt.desktop index 3d8a9f1..f082979 100644 --- a/tdefile-plugins/txt/tdefile_txt.desktop +++ b/tdefile-plugins/txt/tdefile_txt.desktop @@ -1,68 +1,7 @@ [Desktop Entry] -Type=Service Name=Text File Info -Name[af]=Teks Lêer Inligting -Name[ar]=معلومات ملف نصي -Name[az]=Mətn Faylı Mə'lumatı -Name[bg]=Информация за текстов файл -Name[br]=Titouroù diwar-benn ar skrid restr -Name[bs]=Info o tekst datoteci -Name[ca]=Info. del fitxer de text -Name[cs]=Info o textovém souboru -Name[cy]=Gwybodaeth Ffeil Testun -Name[da]=Information om tekstfil -Name[de]=Informationen zur Textdatei -Name[el]=Πληροφορίες αρχείου κειμένου -Name[eo]=Tekstdosiera informo -Name[es]=Información del archivo de texto -Name[et]=Tekstifaili info -Name[eu]=Testu fitxategiaren informazioa -Name[fa]=اطلاعات پروندۀ متن -Name[fi]=Tekstitiedoston tiedot -Name[fo]=Tekstfíluupplýsingar -Name[fr]=Informations sur le fichier texte -Name[fy]=Teksttriem-ynfo -Name[gl]=Información de Ficheiro de Texto -Name[he]=מידע קובץ טקסט -Name[hi]=पाठ फ़ाइल जानकारी -Name[hr]=Podaci o tekstualnoj datoteci -Name[hu]=Információ szöveges fájlokról -Name[is]=Upplýsingar um textaskrá -Name[it]=Informazioni File di testo -Name[ja]=テキストファイル情報 -Name[ka]=ტექსტური ფაილის ინფორმაცია -Name[kk]=Мәтін файлдың мәліметі -Name[km]=ព័ត៌មាន​ឯកសារ​អត្ថបទ -Name[lt]=Teksto bylos informacija -Name[mk]=Информации за текстуална датотека -Name[ms]=Maklumat Fail Teks -Name[nb]=Tekstfilinformasjon -Name[nds]=Textdatei-Informatschonen -Name[ne]=पाठ फाइल सूचना -Name[nl]=Tekstbestand-info -Name[nn]=Informasjon om tekstfil -Name[pa]=ਪਾਠ ਫਾਇਲ ਜਾਣਕਾਰੀ -Name[pl]=Informacja o plikach tekstowych -Name[pt]=Informações de Ficheiros de Texto -Name[pt_BR]=Informações Sobre Arquivo texto -Name[ro]=Informaţii fişier text -Name[ru]=Информация о текстовом файле -Name[sk]=Informácie o textovom súbore -Name[sl]=Informacije o besedilni datoteki -Name[sr]=Информације о текстуалном фајлу -Name[sr@Latn]=Informacije o tekstualnom fajlu -Name[sv]=Information om textfil -Name[ta]=உரைக் கோப்பு தகவல் -Name[tg]=Ахборот дар бораи файли матнӣ -Name[th]=ข้อมูลแฟ้มข้อความ -Name[tr]=Metin Dosyası Bilgisi -Name[uk]=Інформація про текстовий файл -Name[uz]=Matn fayli haqida maʼlumot -Name[uz@cyrillic]=Матн файли ҳақида маълумот -Name[vi]=Thông tin tập tin văn bản -Name[xh]=Ulwazi Lombhalo Wefayile -Name[zh_CN]=文本文件信息 -Name[zh_TW]=文字檔案資訊 + +Type=Service X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_txt MimeType=text/plain -- cgit v1.2.1