summaryrefslogtreecommitdiffstats
path: root/knetattach
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-26 11:36:35 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-28 00:41:12 +0200
commit2f706891f32258c2b070471905f983e4585296d2 (patch)
tree6c74e28fd7c74d26b1c36c371a9ed56295cc05ae /knetattach
parent98f2d732f33659ba749b70fb939e8eaa0c97edf8 (diff)
downloadtdebase-2f706891f32258c2b070471905f983e4585296d2.tar.gz
tdebase-2f706891f32258c2b070471905f983e4585296d2.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'knetattach')
-rw-r--r--knetattach/CMakeL10n.txt6
-rw-r--r--knetattach/CMakeLists.txt2
-rw-r--r--knetattach/knetattach.desktop73
3 files changed, 9 insertions, 72 deletions
diff --git a/knetattach/CMakeL10n.txt b/knetattach/CMakeL10n.txt
index eef1b1e54..20223573e 100644
--- a/knetattach/CMakeL10n.txt
+++ b/knetattach/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "knetattach" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/knetattach.desktop/"
+ SOURCES knetattach.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/knetattach/CMakeLists.txt b/knetattach/CMakeLists.txt
index c695dc4f7..e5c4d7aa1 100644
--- a/knetattach/CMakeLists.txt
+++ b/knetattach/CMakeLists.txt
@@ -23,7 +23,7 @@ link_directories(
##### other data ################################
tde_install_icons( )
-install( FILES knetattach.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop( knetattach.desktop )
##### knetattach (executable) ###################
diff --git a/knetattach/knetattach.desktop b/knetattach/knetattach.desktop
index 6003b68e9..2bb680a7d 100644
--- a/knetattach/knetattach.desktop
+++ b/knetattach/knetattach.desktop
@@ -1,77 +1,8 @@
[Desktop Entry]
Name=KNetAttach
-Name[bn]=কে-নেট-অ্যাটাচ
-Name[ne]=के नेट सङ्लग्न
-Name[sv]=Knetattach
-Name[ta]=நெட்ஹாக்இணைப்பு
-Name[te]=కెనెట్ ఎటాచ్
-Name[vi]=Tấn công Mạng TDE
+
GenericName=Network Folder Wizard
-GenericName[af]=Netwerk Gids Assistent
-GenericName[ar]=مرشد مجلّد الشبكة
-GenericName[be]=Майстар сеткавай тэчкі
-GenericName[bg]=Мрежови инструмент
-GenericName[bn]=নেটওয়ার্ক ফোল্ডার উইজার্ড
-GenericName[br]=Skoazeller renkell rouedad
-GenericName[bs]=Čarobnjak za mrežne foldere
-GenericName[ca]=Assistent de carpeta de xarxa
-GenericName[cs]=Průvodce síťovou složkou
-GenericName[csb]=Asystenta sécowëch katalogów
-GenericName[da]=Guide til netværksmappe
-GenericName[de]=Assistent für Netzwerkordner
-GenericName[el]=Μάγος Φακέλων Δικτύου
-GenericName[eo]=Retdosierujo-analizilo
-GenericName[es]=Asistente de carpetas de red
-GenericName[et]=Võrgukataloogide nõustaja
-GenericName[eu]=Sareko karpeten morroia
-GenericName[fa]=جادوگر پوشۀ شبکه
-GenericName[fi]=Verkkokansiotyökalu
-GenericName[fr]=Assistant dossier réseau
-GenericName[fy]=Netwurkmap-assistint
-GenericName[ga]=Treoraí Fillteáin Líonra
-GenericName[gl]=Asistente para Compartición de Cartafoles
-GenericName[he]=אשף תיקיית רשת
-GenericName[hr]=Čarobnjak mrežnih mapa
-GenericName[hu]=Varázsló hálózati mappa beállításához
-GenericName[is]=Netmöppuálfur
-GenericName[it]=Assistente per le cartelle di rete
-GenericName[ja]=ネットワーク フォルダ ウィザード
-GenericName[ka]=ქსელურ საქარალდეთა ოსტატი
-GenericName[kk]=Желідегі қапшық шебері
-GenericName[km]=អ្នក​ជំនួយការ​ថត​បណ្ដាញ
-GenericName[ko]=네트워크 폴더 마법사
-GenericName[lt]=Tinklo aplanko vedlys
-GenericName[mk]=Волшебник за мрежни папки
-GenericName[ms]=Wizard Folder Rangkaian
-GenericName[nb]=Veiviser for nettverksmappe
-GenericName[nds]=Hölper för Nettwarkorner
-GenericName[ne]=सञ्जाल फोल्डर विजार्ड
-GenericName[nl]=Netwerkmap-assistent
-GenericName[nn]=Vegvisar for nettverksmappe
-GenericName[pa]=ਨੈੱਟਵਰਕ ਫੋਲਡਰ ਸਹਾਇਕ
-GenericName[pl]=Asystent folderów sieciowych
-GenericName[pt]=Assistente de Pastas de Rede
-GenericName[pt_BR]=Assistente de Pastas de Rede
-GenericName[ro]=Expert folder de rețea
-GenericName[ru]=Мастер сетевых папок
-GenericName[rw]=Inyobora Ububiko Urusobemiyoboro
-GenericName[sk]=Sprievodca sieťových priečinkov
-GenericName[sl]=Čarovnik za omrežne mape
-GenericName[sr]=Чаробњак за мрежне фасцикле
-GenericName[sr@Latn]=Čarobnjak za mrežne fascikle
-GenericName[sv]=Nätverkskatalogguide
-GenericName[ta]=வலைப்பின்னல் அடைவு பகுதி
-GenericName[tg]=Устоди феҳрастҳои шабака
-GenericName[th]=โปรแกรมวิซาร์ดสำหรับโฟลเดอร์เครือข่าย
-GenericName[tr]=Ağ Kaynağı Sihirbazı
-GenericName[tt]=Çeltärle Törgäk Xikmätçese
-GenericName[uk]=Майстер мережевих тек
-GenericName[uz]=Tarmoq jildi boʻyicha yordamchi
-GenericName[uz@cyrillic]=Тармоқ жилди бўйича ёрдамчи
-GenericName[vi]=Trình thao tác Thư mục Mạng
-GenericName[wa]=Usteye d' ridant rantoele
-GenericName[zh_CN]=网络文件夹向导
-GenericName[zh_TW]=網路資料夾精靈
+
Exec=knetattach
X-TDE-InitialPreference=6
Icon=knetattach