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
Icon=ark
Path=
DocPath=ark/index.html
X-DocPath=ark/index.html
Type=Application
Terminal=false
SwallowExec=

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

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

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

@ -68,7 +68,7 @@ Name[xh]=Amacebo Okugcina
Name[zh_CN]=存储设备
Name[zh_TW]=儲存裝置
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[af]=Vertoon die disket gebruik van die gekoppelde toestelle
Comment[ar]=يعرض المساحة المستخدمة من الأقراص المضمومة

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -61,4 +61,4 @@ Name[zh_TW]=TDE 計時器
X-TDE-StartupNotify=true
X-DCOP-ServiceType=Multi
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[zh_CN]=桌面部件
GenericName[zh_TW]=桌面元件
DocPath=superkaramba/index.html
X-DocPath=superkaramba/index.html
Categories=Qt;TDE;Utility;X-TDE-Utilities-Desktop;
OnlyShowIn=TDE;

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

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

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

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

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

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

Loading…
Cancel
Save