Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications

pull/1/head
Timothy Pearson 10 years ago
parent 77f3ed9cc3
commit a25a696e1d

@ -77,7 +77,7 @@ Name[th]=อาร์ค
Exec=ark -caption "%c" %i %m %U Exec=ark -caption "%c" %i %m %U
Icon=ark Icon=ark
Path= Path=
DocPath=ark/index.html X-DocPath=ark/index.html
Type=Application Type=Application
Terminal=false Terminal=false
SwallowExec= SwallowExec=

@ -131,5 +131,5 @@ Name[zh_CN]=压缩存档工具
Name[zu]=Umqulu Name[zu]=Umqulu
Icon=ark Icon=ark
Type=Service Type=Service
ServiceTypes=KParts/ReadOnlyPart X-TDE-ServiceTypes=KParts/ReadOnlyPart
X-TDE-Library=libarkpart X-TDE-Library=libarkpart

@ -17,7 +17,7 @@ Name[uz@cyrillic]=Калкулятор
Name[zh_TW]=TDE 計算機 Name[zh_TW]=TDE 計算機
Exec=kcalc -caption "%c" %i %m Exec=kcalc -caption "%c" %i %m
Icon=kcalc Icon=kcalc
DocPath=kcalc/index.html X-DocPath=kcalc/index.html
GenericName=Scientific Calculator GenericName=Scientific Calculator
GenericName[af]=Wetenskaplike Sakrekenaar GenericName[af]=Wetenskaplike Sakrekenaar
GenericName[ar]=آلة حاسبة علمية GenericName[ar]=آلة حاسبة علمية

@ -72,7 +72,7 @@ Icon=kcharselect
Path= Path=
Type=Application Type=Application
Terminal=false Terminal=false
DocPath=kcharselect/index.html X-DocPath=kcharselect/index.html
Name=KCharSelect Name=KCharSelect
Name[af]=Kcharselect Name[af]=Kcharselect
Name[cy]=KDewisNod Name[cy]=KDewisNod

@ -68,7 +68,7 @@ Name[xh]=Amacebo Okugcina
Name[zh_CN]=存储设备 Name[zh_CN]=存储设备
Name[zh_TW]=儲存裝置 Name[zh_TW]=儲存裝置
Name[zu]=Amathuluzi Ethala Name[zu]=Amathuluzi Ethala
DocPath=kcontrol/storagedevices/index.html X-DocPath=kcontrol/storagedevices/index.html
Comment=Shows the disk usage of the mounted devices Comment=Shows the disk usage of the mounted devices
Comment[af]=Vertoon die disket gebruik van die gekoppelde toestelle Comment[af]=Vertoon die disket gebruik van die gekoppelde toestelle
Comment[ar]=يعرض المساحة المستخدمة من الأقراص المضمومة Comment[ar]=يعرض المساحة المستخدمة من الأقراص المضمومة

@ -82,7 +82,7 @@ GenericName[zh_CN]=查看磁盘使用状况
GenericName[zh_TW]=檢視磁碟使用情形 GenericName[zh_TW]=檢視磁碟使用情形
GenericName[zu]= Buka Ukusetshenziswa Kwediski GenericName[zu]= Buka Ukusetshenziswa Kwediski
Terminal=false Terminal=false
DocPath=kdf/index.html X-DocPath=kdf/index.html
X-TDE-StartupNotify=true X-TDE-StartupNotify=true
X-DCOP-ServiceType=Multi X-DCOP-ServiceType=Multi
Categories=Qt;TDE;System; Categories=Qt;TDE;System;

@ -13,7 +13,7 @@ Name[th]=เรียกใช้ดิสก์ด่วน
Exec=kwikdisk -caption "%c" Exec=kwikdisk -caption "%c"
Icon=kwikdisk Icon=kwikdisk
Type=Application Type=Application
DocPath=kdf/index.html X-DocPath=kdf/index.html
GenericName=Removable Media Utility GenericName=Removable Media Utility
GenericName[af]=Verwyderbare Media Program GenericName[af]=Verwyderbare Media Program
GenericName[ar]=أداة الوسائط القابلة للإزالة GenericName[ar]=أداة الوسائط القابلة للإزالة

@ -58,7 +58,7 @@ GenericName[zh_TW]=簡單的文字編輯器
Exec=kedit -caption "%c" %i %m %u Exec=kedit -caption "%c" %i %m %u
Icon=kedit Icon=kedit
Path= Path=
DocPath=kedit/index.html X-DocPath=kedit/index.html
Type=Application Type=Application
Terminal=false Terminal=false
Name=KEdit Name=KEdit

@ -85,7 +85,7 @@ Name[tr]=Disket Biçimlendirici
Name[wa]=KPlakete Name[wa]=KPlakete
Name[zh_TW]=TDE 軟碟 Name[zh_TW]=TDE 軟碟
MimeType= MimeType=
DocPath=kfloppy/index.html X-DocPath=kfloppy/index.html
Exec=kfloppy -caption "%c" %i %m Exec=kfloppy -caption "%c" %i %m
Icon=kfloppy Icon=kfloppy
Path= Path=

@ -49,6 +49,6 @@ Name[zh_TW]=格式化
[Desktop Entry] [Desktop Entry]
Actions=Format; Actions=Format;
ServiceTypes=media/floppy_unmounted,media/floppy5_unmounted X-TDE-ServiceTypes=media/floppy_unmounted,media/floppy5_unmounted
X-TDE-Priority=TopLevel X-TDE-Priority=TopLevel
X-TDE-MediaNotifierHide=true X-TDE-MediaNotifierHide=true

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
ServiceTypes=all/allfiles X-TDE-ServiceTypes=all/allfiles
ExcludeServiceTypes=kdedevice/* X-TDE-ExcludeServiceTypes=kdedevice/*
Actions=encrypt Actions=encrypt
[Desktop Action encrypt] [Desktop Action encrypt]

@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
ServiceTypes=inode/directory X-TDE-ServiceTypes=inode/directory
Actions=encrypt Actions=encrypt
[Desktop Action encrypt] [Desktop Action encrypt]

@ -2,7 +2,7 @@
Type=Application Type=Application
Exec=kgpg %U Exec=kgpg %U
Icon=kgpg Icon=kgpg
DocPath=kgpg/index.html X-DocPath=kgpg/index.html
MimeType=application/pgp-encrypted;application/pgp-signature;application/pgp-keys; MimeType=application/pgp-encrypted;application/pgp-signature;application/pgp-keys;
GenericName=Encryption Tool GenericName=Encryption Tool
GenericName[ar]=أداة للتشفير GenericName[ar]=أداة للتشفير

@ -450,7 +450,7 @@ void kgpgOptions::slotInstallSign(TQString mimetype)
KDesktopFile configl2(path, false); KDesktopFile configl2(path, false);
if (configl2.isImmutable() ==false) { if (configl2.isImmutable() ==false) {
configl2.setGroup("Desktop Entry"); configl2.setGroup("Desktop Entry");
configl2.writeEntry("ServiceTypes", mimetype); configl2.writeEntry("X-TDE-ServiceTypes", mimetype);
configl2.writeEntry("Actions", "sign"); configl2.writeEntry("Actions", "sign");
configl2.setGroup("Desktop Action sign"); configl2.setGroup("Desktop Action sign");
configl2.writeEntry("Name",i18n("Sign File")); configl2.writeEntry("Name",i18n("Sign File"));
@ -467,7 +467,7 @@ void kgpgOptions::slotInstallDecrypt(TQString mimetype)
KDesktopFile configl2(path, false); KDesktopFile configl2(path, false);
if (configl2.isImmutable() ==false) { if (configl2.isImmutable() ==false) {
configl2.setGroup("Desktop Entry"); configl2.setGroup("Desktop Entry");
configl2.writeEntry("ServiceTypes", mimetype); configl2.writeEntry("X-TDE-ServiceTypes", mimetype);
configl2.writeEntry("Actions", "decrypt"); configl2.writeEntry("Actions", "decrypt");
configl2.setGroup("Desktop Action decrypt"); configl2.setGroup("Desktop Action decrypt");
configl2.writeEntry("Name",i18n("Decrypt File")); configl2.writeEntry("Name",i18n("Decrypt File"));

@ -78,7 +78,7 @@ Exec=khexedit -caption "%c" %i %m %U
Icon=khexedit Icon=khexedit
Path= Path=
Type=Application Type=Application
DocPath=khexedit/index.html X-DocPath=khexedit/index.html
Terminal=false Terminal=false
X-TDE-StartupNotify=true X-TDE-StartupNotify=true
X-DCOP-ServiceType=Multi X-DCOP-ServiceType=Multi

@ -47,6 +47,6 @@ Name[uk]=Віджет побайтового редагування
Name[zh_CN]=字节编辑部件 Name[zh_CN]=字节编辑部件
Name[zh_TW]=位元編輯器元件 Name[zh_TW]=位元編輯器元件
X-TDE-Library=libkbyteseditwidget X-TDE-Library=libkbyteseditwidget
InitialPreference=2 X-TDE-InitialPreference=2
ServiceTypes=KHexEdit/KBytesEdit X-TDE-ServiceTypes=KHexEdit/KBytesEdit

@ -96,6 +96,6 @@ Comment[zh_CN]=嵌入式二进制查看器
Comment[zh_TW]=嵌入式二進位顯示器 Comment[zh_TW]=嵌入式二進位顯示器
#MimeType=all/allfiles #MimeType=all/allfiles
MimeType=application/octet-stream MimeType=application/octet-stream
ServiceTypes=KParts/ReadOnlyPart,Browser/View X-TDE-ServiceTypes=KParts/ReadOnlyPart,Browser/View
#,KParts/ReadWritePart #,KParts/ReadWritePart
X-TDE-Library=libkhexedit2part X-TDE-Library=libkhexedit2part

@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
DocPath=kjots/index.html X-DocPath=kjots/index.html
Name=KJots Name=KJots
Name[af]=Kjots Name[af]=Kjots
Name[eo]=Notlibro Name[eo]=Notlibro

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
ServiceTypes=KDEDModule X-TDE-ServiceTypes=KDEDModule
X-TDE-ModuleType=Library X-TDE-ModuleType=Library
X-TDE-Library=klaptopdaemon X-TDE-Library=klaptopdaemon
X-TDE-FactoryName=klaptopdaemon X-TDE-FactoryName=klaptopdaemon
@ -9,7 +9,7 @@ X-TDE-Kded-autoload=false
X-TDE-Kded-load-on-demand=true X-TDE-Kded-load-on-demand=true
Icon=laptop_battery Icon=laptop_battery
DocPath=kcontrol/battery-monitor.html X-DocPath=kcontrol/battery-monitor.html
Comment=Laptop battery monitor Comment=Laptop battery monitor
Comment[ar]=مراقب بطّاريّة الحاسوب المحمول Comment[ar]=مراقب بطّاريّة الحاسوب المحمول
Comment[bg]=Мониторинг на батериите на лаптоп Comment[bg]=Мониторинг на батериите на лаптоп

@ -5,7 +5,7 @@ X-TDE-Init=laptop
Exec=tdecmshell laptop Exec=tdecmshell laptop
Icon=laptop_battery Icon=laptop_battery
Type=Application Type=Application
DocPath=kcontrol/laptop/index.html X-DocPath=kcontrol/laptop/index.html
Categories=Qt;TDE;X-TDE-settings-hardware; Categories=Qt;TDE;X-TDE-settings-hardware;
Comment=Laptop Battery Comment=Laptop Battery
Comment[af]=Draagbare rekenaar Batery Comment[af]=Draagbare rekenaar Batery

@ -6,7 +6,7 @@ X-TDE-ParentApp=kcontrol
Exec=tdecmshell pcmcia Exec=tdecmshell pcmcia
Icon=laptop_pcmcia Icon=laptop_pcmcia
Type=Application Type=Application
DocPath=kcontrol/pcmcia/index.html X-DocPath=kcontrol/pcmcia/index.html
Comment=PCMCIA status Comment=PCMCIA status
Comment[af]=Pcmcia status Comment[af]=Pcmcia status
Comment[ar]=حالة بطاقة PCMCIA Comment[ar]=حالة بطاقة PCMCIA

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
ServiceTypes=KMilo Plugin X-TDE-ServiceTypes=KMilo Plugin
X-TDE-ModuleType=Plugin X-TDE-ModuleType=Plugin
Name=Asus Laptop Plugin Name=Asus Laptop Plugin
Name[ar]=ملحق حاسوب Asus المحمول Name[ar]=ملحق حاسوب Asus المحمول

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
ServiceTypes=KMilo Plugin X-TDE-ServiceTypes=KMilo Plugin
X-TDE-ModuleType=Plugin X-TDE-ModuleType=Plugin
Name=Dell I8k Laptop Plugin Name=Dell I8k Laptop Plugin
Name[ar]=ملحق حاسوب Dell I8k المحمول Name[ar]=ملحق حاسوب Dell I8k المحمول

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
ServiceTypes=KMilo Plugin X-TDE-ServiceTypes=KMilo Plugin
X-TDE-ModuleType=Plugin X-TDE-ModuleType=Plugin
Name=Demo Plugin Name=Demo Plugin
Name[ar]=ملحق للعرض Name[ar]=ملحق للعرض

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
ServiceTypes=KMilo Plugin X-TDE-ServiceTypes=KMilo Plugin
X-TDE-ModuleType=Plugin X-TDE-ModuleType=Plugin
Name=Generic Keyboard Plugin Name=Generic Keyboard Plugin
Name[ar]=ملحق عام للوحة المفاتيح Name[ar]=ملحق عام للوحة المفاتيح

@ -2,7 +2,7 @@
Type=Application Type=Application
Exec=tdecmshell kvaio Exec=tdecmshell kvaio
Icon=laptop Icon=laptop
DocPath=kcontrol/kvaio/index.html X-DocPath=kcontrol/kvaio/index.html
X-TDE-Library=kvaio X-TDE-Library=kvaio
X-TDE-ParentApp=kcontrol X-TDE-ParentApp=kcontrol

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
ServiceTypes=KMilo Plugin X-TDE-ServiceTypes=KMilo Plugin
X-TDE-ModuleType=Plugin X-TDE-ModuleType=Plugin
Name=Sony Vaio Plugin Name=Sony Vaio Plugin
Name[ar]=ملحق سونى فايوة Name[ar]=ملحق سونى فايوة

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
ServiceTypes=KDEDModule X-TDE-ServiceTypes=KDEDModule
X-TDE-ModuleType=Library X-TDE-ModuleType=Library
X-TDE-Library=kmilod X-TDE-Library=kmilod
X-TDE-FactoryName=kmilod X-TDE-FactoryName=kmilod

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
ServiceTypes=KMilo Plugin X-TDE-ServiceTypes=KMilo Plugin
X-TDE-ModuleType=Plugin X-TDE-ModuleType=Plugin
Name=Apple (R) PowerBook (R) Plugin Name=Apple (R) PowerBook (R) Plugin
Name[ar]=ملحق Apple (R) PowerBook (R)ة Name[ar]=ملحق Apple (R) PowerBook (R)ة

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
ServiceTypes=KMilo Plugin X-TDE-ServiceTypes=KMilo Plugin
X-TDE-ModuleType=Plugin X-TDE-ModuleType=Plugin
Name=Apple PowerBook Plugin Name=Apple PowerBook Plugin
Name[ar]=ملحق Apple PowerBook Name[ar]=ملحق Apple PowerBook

@ -2,7 +2,7 @@
Type=Application Type=Application
Exec=tdecmshell thinkpad Exec=tdecmshell thinkpad
Icon=laptop Icon=laptop
DocPath=kcontrol/thinkpad/index.html X-DocPath=kcontrol/thinkpad/index.html
X-TDE-Library=thinkpad X-TDE-Library=thinkpad
X-TDE-ParentApp=kcontrol X-TDE-ParentApp=kcontrol

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
ServiceTypes=KMilo Plugin X-TDE-ServiceTypes=KMilo Plugin
X-TDE-ModuleType=Plugin X-TDE-ModuleType=Plugin
Name=Thinkpad Plugin Name=Thinkpad Plugin
Name[ar]=ملحق Thinkpad Name[ar]=ملحق Thinkpad

@ -12,7 +12,7 @@ Name[tg]=KМуҳаррири Ифодаҳои Муқаррарӣ
Name[wa]=Aspougneu d' erîlêyès ratourneures Name[wa]=Aspougneu d' erîlêyès ratourneures
Name[zh_TW]=正規表示式編輯器 Name[zh_TW]=正規表示式編輯器
Exec=kregexpeditor Exec=kregexpeditor
DocPath=KRegExpEditor/index.html X-DocPath=KRegExpEditor/index.html
GenericName=Regular Expression Editor GenericName=Regular Expression Editor
GenericName[ar]=محرّر التعابير النظامية GenericName[ar]=محرّر التعابير النظامية
GenericName[bg]=Редактор на регулярни изрази GenericName[bg]=Редактор на регулярни изрази

@ -58,5 +58,5 @@ Name[zh_CN]=正则表达式编辑器部件
Name[zh_TW]=正規表示式編輯小程式 Name[zh_TW]=正規表示式編輯小程式
Name[zu]=RegExp Umhleli we-widget Name[zu]=RegExp Umhleli we-widget
X-TDE-Library=libkregexpeditorgui X-TDE-Library=libkregexpeditorgui
InitialPreference=2 X-TDE-InitialPreference=2
ServiceTypes=KRegExpEditor/KRegExpEditor X-TDE-ServiceTypes=KRegExpEditor/KRegExpEditor

@ -115,7 +115,7 @@ Comment[tr]=Sistem Bildirimileri İzleyici (GKrellM stili)
Comment[uk]=Монітор системної інформації (в стилі GKrellM) Comment[uk]=Монітор системної інформації (в стилі GKrellM)
Comment[zh_CN]=系统信息监视器(GKrellM 风格) Comment[zh_CN]=系统信息监视器(GKrellM 风格)
Comment[zh_TW]=系統資訊監視器 (GKrellM 風格) Comment[zh_TW]=系統資訊監視器 (GKrellM 風格)
DocPath=ksim/index.html X-DocPath=ksim/index.html
Icon=ksim Icon=ksim
MimeType= MimeType=
Name=KSim Name=KSim

@ -61,4 +61,4 @@ Name[zh_TW]=TDE 計時器
X-TDE-StartupNotify=true X-TDE-StartupNotify=true
X-DCOP-ServiceType=Multi X-DCOP-ServiceType=Multi
Categories=Qt;TDE;Utility; Categories=Qt;TDE;Utility;
DocPath=ktimer/index.html X-DocPath=ktimer/index.html

@ -94,6 +94,6 @@ GenericName[tr]=Masaüstü Ögeleri
GenericName[uk]=Віджети стільниці GenericName[uk]=Віджети стільниці
GenericName[zh_CN]=桌面部件 GenericName[zh_CN]=桌面部件
GenericName[zh_TW]=桌面元件 GenericName[zh_TW]=桌面元件
DocPath=superkaramba/index.html X-DocPath=superkaramba/index.html
Categories=Qt;TDE;Utility;X-TDE-Utilities-Desktop; Categories=Qt;TDE;Utility;X-TDE-Utilities-Desktop;
OnlyShowIn=TDE; OnlyShowIn=TDE;

@ -62,7 +62,7 @@ Categories=Qt;TDE;Utility;X-TDE-Utilities-Peripherals;
Exec=irkick Exec=irkick
Icon=irkick Icon=irkick
DocPath=irkick/index.html X-DocPath=irkick/index.html
Comment=TDE Linux infrared remote control server. Comment=TDE Linux infrared remote control server.
Comment[ar]=خادم كدى للتحكّم عن بعد بالأشعة تحت الحمراء في لينكس. Comment[ar]=خادم كدى للتحكّم عن بعد بالأشعة تحت الحمراء في لينكس.
Comment[bg]=Сървър за управление на дистанционно устройство с инфрачервени лъчи Comment[bg]=Сървър за управление на дистанционно устройство с инфрачервени лъчи

@ -115,5 +115,5 @@ Type=Application
X-TDE-FactoryName=kcmlirc X-TDE-FactoryName=kcmlirc
X-TDE-Library=kcmlirc X-TDE-Library=kcmlirc
X-TDE-ModuleType=Library X-TDE-ModuleType=Library
DocPath=kcmlirc/index.html X-DocPath=kcmlirc/index.html
Categories=Qt;TDE;X-TDE-settings-peripherals; Categories=Qt;TDE;X-TDE-settings-peripherals;

@ -2,7 +2,7 @@
Type=Service Type=Service
Exec=tdecmshell --caption %c tdewalletconfig Exec=tdecmshell --caption %c tdewalletconfig
Icon=tdewalletmanager Icon=tdewalletmanager
DocPath=tdewallet/index.html X-DocPath=tdewallet/index.html
Name=TDE Wallet Name=TDE Wallet
Name[ar]=محفظة كدى Name[ar]=محفظة كدى
Name[bg]=Портфейл Name[bg]=Портфейл

@ -2,7 +2,7 @@
Icon=tdewalletmanager Icon=tdewalletmanager
Type=Application Type=Application
Exec=tdecmshell tdewalletconfig Exec=tdecmshell tdewalletconfig
DocPath=tdewallet/index.html X-DocPath=tdewallet/index.html
X-TDE-ModuleType=Library X-TDE-ModuleType=Library
X-TDE-Library=tdewallet X-TDE-Library=tdewallet
X-TDE-ParentApp=kcontrol X-TDE-ParentApp=kcontrol

@ -54,7 +54,7 @@ Name[zh_CN]=钱包管理工具
Name[zh_TW]=錢包管理工具 Name[zh_TW]=錢包管理工具
Exec=tdewalletmanager --show %u Exec=tdewalletmanager --show %u
MimeType=application/x-tde-wallet MimeType=application/x-tde-wallet
InitialPreference=6 X-TDE-InitialPreference=6
Icon=tdewalletmanager Icon=tdewalletmanager
Type=Service Type=Service
X-TDE-StartupNotify=true X-TDE-StartupNotify=true

@ -54,11 +54,11 @@ Name[zh_CN]=钱包管理工具
Name[zh_TW]=錢包管理工具 Name[zh_TW]=錢包管理工具
Exec=tdewalletmanager %u Exec=tdewalletmanager %u
MimeType=application/x-tde-wallet; MimeType=application/x-tde-wallet;
InitialPreference=6 X-TDE-InitialPreference=6
Icon=tdewalletmanager Icon=tdewalletmanager
Type=Application Type=Application
Terminal=false Terminal=false
X-TDE-StartupNotify=false X-TDE-StartupNotify=false
Categories=Qt;TDE;Settings; Categories=Qt;TDE;Settings;
DocPath=tdewallet/index.html X-DocPath=tdewallet/index.html
OnlyShowIn=TDE; OnlyShowIn=TDE;

Loading…
Cancel
Save