From 605ad91b1690a8149c2f351d1838f2d3c6929106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 9 Jun 2020 17:49: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 (cherry picked from commit 837dbafbea0c7f7bc73d27fda684ea2dededd547) --- tdefile-plugins/pcx/CMakeLists.txt | 6 +++- tdefile-plugins/pcx/tdefile_pcx.desktop | 54 --------------------------------- 2 files changed, 5 insertions(+), 55 deletions(-) (limited to 'tdefile-plugins/pcx') diff --git a/tdefile-plugins/pcx/CMakeLists.txt b/tdefile-plugins/pcx/CMakeLists.txt index 7eea5125..c60b7178 100644 --- a/tdefile-plugins/pcx/CMakeLists.txt +++ b/tdefile-plugins/pcx/CMakeLists.txt @@ -23,7 +23,11 @@ link_directories( #### other data ################################# -install( FILES tdefile_pcx.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_pcx.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops +) #### tdefile_pcx (module) ######################### diff --git a/tdefile-plugins/pcx/tdefile_pcx.desktop b/tdefile-plugins/pcx/tdefile_pcx.desktop index b555c7b3..d0ad9700 100644 --- a/tdefile-plugins/pcx/tdefile_pcx.desktop +++ b/tdefile-plugins/pcx/tdefile_pcx.desktop @@ -1,60 +1,6 @@ [Desktop Entry] Type=Service Name=PCX File Meta Info -Name[ar]=معلومات ملف PCX -Name[br]=Meta-titouroù ar restr PCX -Name[bs]=PCX meta-podaci -Name[ca]=Metainformació de fitxer PCX -Name[cs]=Metainformace obrázku typu PCX -Name[cy]=Meta-wybodaeth Ffeil PCX -Name[da]=PCX Fil-meta-info -Name[de]=PCX Metainformation -Name[el]=Μετα-πληροφορίες αρχείου PCX -Name[eo]=PCX-dosiera metainformo -Name[es]=Info meta de archivos PCX -Name[et]=PCX faili metainfo -Name[eu]=PCX fitxategi meta info -Name[fa]=فرااطلاعات پروندۀ PCX -Name[fi]=PCX-tiedoston metatiedot -Name[fr]=Méta Informations sur les fichiers PCX -Name[gl]=Inf. metaficheiro PCX -Name[he]=מידע PCX -Name[hi]=PCX फ़ाइल मेटा जानकारी -Name[hu]=PCX-jellemzők -Name[is]=PCX File Meta upplýsingar -Name[it]=Informazioni PCX -Name[ja]=PCX ファイルメタ情報 -Name[kk]=PCX файлдың мета деректері -Name[km]=ព័ត៌មាន​មេតា​របស់​ឯកសារ PCX -Name[lt]=PCX bylos meta informacija -Name[ms]=Maklumat Meta Fail PCX -Name[nb]=PCX-filmetainfo -Name[nds]=PCX-Metainfo -Name[ne]=PCX फाइल मेटा सूचना -Name[nl]=PCX meta-info -Name[nn]=PCX-filmetainfo -Name[pl]=Informacja o pliku PCX -Name[pt]=Meta-Informação do Ficheiro PCX -Name[pt_BR]=Informação sobre Meta Arquivo PCX -Name[ro]=Metainformaţii PCX -Name[ru]=Информация о метафайле PCX -Name[se]=PCX-filla metadieđut -Name[sk]=Meta-info o súbore PCX -Name[sl]=Meta podatki o PCX -Name[sr]=Мета информације PCX фајла -Name[sr@Latn]=Meta informacije PCX fajla -Name[sv]=Metainformation om PCX-fil -Name[ta]=PCX File Meta தகவல் -Name[tg]=Иттилоот оиди метафайли PCX -Name[th]=ข้อมูลเมตาแฟ้ม PCX -Name[tr]=PCX Dosya Bilgisi -Name[uk]=Метаінформація про файл PCX -Name[uz]=PCX-faylining meta-maʼlumoti -Name[uz@cyrillic]=PCX-файлининг мета-маълумоти -Name[wa]=Informåcion sol imådje PCX -Name[zh_CN]=PCX 文件元信息 -Name[zh_HK]=PCX 檔案 Meta 資訊 -Name[zh_TW]=PCX 檔案 Meta 資訊 X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_pcx MimeType=image/x-pcx -- cgit v1.2.1