From 4b7a4e17362206fd2eade35ba947a850263b0ea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 7 Jun 2020 18:25:52 +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 --- tdeabc/plugins/file/CMakeLists.txt | 6 ++- tdeabc/plugins/file/file.desktop | 75 -------------------------------------- 2 files changed, 5 insertions(+), 76 deletions(-) (limited to 'tdeabc/plugins/file') diff --git a/tdeabc/plugins/file/CMakeLists.txt b/tdeabc/plugins/file/CMakeLists.txt index c7dbfef46..008f7b656 100644 --- a/tdeabc/plugins/file/CMakeLists.txt +++ b/tdeabc/plugins/file/CMakeLists.txt @@ -39,7 +39,11 @@ install( FILES ##### other data ################################ -install( FILES file.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc ) +tde_create_translated_desktop( + SOURCE file.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops +) ##### tdeabc_file (library) ####################### diff --git a/tdeabc/plugins/file/file.desktop b/tdeabc/plugins/file/file.desktop index 3625cc21c..3b4f46cdd 100644 --- a/tdeabc/plugins/file/file.desktop +++ b/tdeabc/plugins/file/file.desktop @@ -1,80 +1,5 @@ [Desktop Entry] Name=File -Name[af]=Lêer -Name[ar]=ملفّ -Name[az]=Fayl -Name[be]=Файл -Name[bn]=ফাইল -Name[br]=Restr -Name[bs]=Datoteka -Name[ca]=Fitxer -Name[cs]=Soubor -Name[csb]=Lopk -Name[cy]=Ffeil -Name[da]=Fil -Name[de]=Datei -Name[el]=Αρχείο -Name[eo]=Dosiero -Name[es]=Archivo -Name[et]=Fail -Name[eu]=Fitxategia -Name[fa]=پرونده -Name[fi]=Tiedosto -Name[fr]=Fichier -Name[fy]=Triem -Name[ga]=Comhad -Name[gl]=Ficheiro -Name[he]=קובץ -Name[hi]=फ़ाइल -Name[hr]=Datoteka -Name[hsb]=Dataja -Name[hu]=Fájl -Name[id]=Berkas -Name[is]=Skrá -Name[ja]=ファイル -Name[ka]=ფაილი -Name[kk]=Файл -Name[km]=ឯកសារ -Name[ko]=파일 -Name[lb]=Datei -Name[lt]=Byla -Name[lv]=Fails -Name[mk]=Датотека -Name[mn]=Файл -Name[ms]=Fail -Name[nb]=Fil -Name[nds]=Datei -Name[ne]=फाइल -Name[nl]=Bestand -Name[nn]=Fil -Name[pa]=ਫਾਇਲ -Name[pl]=Plik -Name[pt]=Ficheiro -Name[pt_BR]=Arquivo -Name[ro]=Fişier -Name[ru]=Файл -Name[rw]=Idosiye -Name[se]=Fiila -Name[sk]=Súbor -Name[sl]=Datoteka -Name[sq]=Skedë -Name[sr]=Фајл -Name[sr@Latn]=Fajl -Name[sv]=Fil -Name[ta]=கோப்பு -Name[te]=దస్త్రం -Name[tg]=Файл -Name[th]=แฟ้ม -Name[tr]=Dosya -Name[tt]=Birem -Name[uk]=Файл -Name[uz]=Fayl -Name[uz@cyrillic]=Файл -Name[vi]=Tập tin -Name[wa]=Fitchî -Name[zh_CN]=文件 -Name[zh_HK]=檔案 -Name[zh_TW]=檔案 X-TDE-Library=tdeabc_file Type=Service X-TDE-ServiceTypes=TDEResources/Plugin -- cgit v1.2.1