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

pull/1/head
Timothy Pearson 10 years ago
parent a036c261d3
commit 382b6ce702

@ -168,4 +168,4 @@ GenericName[uz@cyrillic]=Monopoly® ўйинга ўхшаган ўйин май
GenericName[vi]=Bộ thiết kế bảng kiểu Monopoly®
GenericName[zh_CN]=类似 Monopoly(R) 的棋盘设计器
GenericName[zh_TW]=類似 Monopoly® 棋盤設計師
DocPath=atlantikdesigner/index.html
X-DocPath=atlantikdesigner/index.html

@ -104,6 +104,6 @@ Comment[vi]=Bổ sung nhập/xuất khẩu liên lạc định dạng sổ đị
Comment[zh_CN]=以 GMX 的地址簿格式导入和导出联系人
Comment[zh_TW]=匯入/匯出 GMX 通訊錄格式的外掛程式
Type=Service
ServiceTypes=KAddressBook/XXPort
X-TDE-ServiceTypes=KAddressBook/XXPort
X-TDE-KAddressBook-XXPortPluginVersion=1

@ -107,6 +107,6 @@ Comment[vi]=Bổ sung xuất khẩu dữ liệu địa lý của liên lạc d
Comment[zh_CN]=将联系人的地理数据导出为 KWorldClock 中旗帜的插件
Comment[zh_TW]=匯出 GEO 聯絡人資料為 KWorldClock 旗標
Type=Service
ServiceTypes=KAddressBook/XXPort
X-TDE-ServiceTypes=KAddressBook/XXPort
X-TDE-KAddressBook-XXPortPluginVersion=1

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katecppsymbolviewerplugin
X-Kate-Version=2.5
Name=Kate C/C++ Symbol Viewer

@ -77,7 +77,7 @@ Exec=kate --initplugin katefll_initplugin %u
NoDisplay=true
Icon=kate
Path=
DocPath=kate/index.html
X-DocPath=kate/index.html
Type=Application
Terminal=false
X-DCOP-ServiceType=Multi

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/InitPlugin
X-TDE-ServiceTypes=Kate/InitPlugin
X-TDE-Library=katefll_initplugin
X-Kate-Version=2.5
Name=Kate FLL Init Plugin

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katefll_plugin
X-Kate-Version=2.5
Name=Kate File List Loader

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-Kate-Version=2.5
X-TDE-Library=katefiletemplates
Name=Kate File Templates

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katehelloworldplugin
X-Kate-Version=2.5
Name=My First Kate Plugin

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katehtmltoolsplugin
X-Kate-Version=2.5
Name=Kate HTML Tools

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=kateinsertcommandplugin
X-Kate-Version=2.5
Name=Kate InsertCommand

@ -1,6 +1,6 @@
[Desktop Entry]
Icon=kate
DocPath=kate-plugins/index.html
X-DocPath=kate-plugins/index.html
Categories=Qt;TDE;TextEditor;
NoDisplay=true
Name=Kate Plugins

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katesortplugin
X-Kate-Version=2.5
Name=Kate Sort

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katekjswrapperplugin
X-Kate-Version=2.2
X-Kate-PluginName=katekjsconsolewindow

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katekjswrapperplugin
X-Kate-Version=2.2
X-Kate-PluginName=katekjsselect

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katekjswrapperplugin
X-Kate-Version=2.2
X-Kate-PluginName=katekjstest1

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katepybrowseplugin
X-Kate-Version=2.5
Name=Kate Python Browser Plugin

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katemakeplugin
X-Kate-Version=2.5
Name=Kate Make Plugin

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katemodelineplugin
X-Kate-Version=2.5
Name=Kate Modeline Plugin

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=kateopenheaderplugin
X-Kate-Version=2.5
Name=Kate OpenHeader

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katesnippetsplugin
X-Kate-Version=2.5
Name=Kate Snippets

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=libkatetabbarextensionplugin
X-Kate-Version=2.5
Name=Kate Tab Bar Extension

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katetextfilterplugin
X-Kate-Version=2.5
Name=Kate TextFilter

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katexmlcheckplugin
X-Kate-Version=2.5
Name=Kate XML Validation

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
ServiceTypes=Kate/Plugin
X-TDE-ServiceTypes=Kate/Plugin
X-TDE-Library=katexmltoolsplugin
X-Kate-Version=2.5
Name=Kate XML Completion

@ -141,5 +141,5 @@ Comment[zh_TW]=從點選的地方取得顏色值
Comment[zu]=Cosha imibala kunoma ikephi kanye namabizo azo ufumane amaxabiso ayo
X-TDE-Library=kolourpicker_panelapplet
X-TDE-UniqueApplet=true
DocPath=kicker-applets/kolourpicker.html
X-DocPath=kicker-applets/kolourpicker.html
X-TDE-ParentApp=applets

@ -124,6 +124,6 @@ Name[xh]=Indlela yokwenza yeCebo lokubonisa
Name[zh_CN]=系统监视器
Name[zh_TW]=系統監視器
Name[zu]=Umphendli Wendlela esetshenziswayo
DocPath=kicker-applets/ktimemon.html
X-DocPath=kicker-applets/ktimemon.html
X-TDE-StartupNotify=true
X-TDE-ParentApp=applets

@ -51,4 +51,4 @@ Name[vi]=Thêm nguồn tin vào Akregator
Name[zh_CN]=在 Akregator 中添加种子
Name[zh_TW]=將 Feed 加入 Akregator
X-TDE-Library=libakregatorkonqplugin
ServiceTypes=KonqPopupMenu/Plugin,all/all
X-TDE-ServiceTypes=KonqPopupMenu/Plugin,all/all

@ -56,4 +56,4 @@ Name[vi]=Nén/Giải nén tập tin
Name[zh_CN]=压缩/解压文件
Name[zh_TW]=壓縮/解壓縮檔案
X-TDE-Library=libarkplugin
ServiceTypes=KonqPopupMenu/Plugin,all/all
X-TDE-ServiceTypes=KonqPopupMenu/Plugin,all/all

@ -56,4 +56,4 @@ Name[zh_CN]=用 Ark 压缩/解压文件
Name[zh_TW]=以 Ark 壓縮/解壓縮檔案
Icon=ark
X-TDE-ParentApp=konqueror
DocPath=ark/index.html
X-DocPath=ark/index.html

@ -123,4 +123,4 @@ Comment[zh_CN]=Babelfish 插件
Comment[zh_TW]=Babelfish 外掛程式
Icon=babelfish
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/babel/index.html
X-DocPath=konq-plugins/babel/index.html

@ -121,4 +121,4 @@ Comment[zh_CN]=崩溃监视器
Comment[zh_TW]=當機監視器
X-TDE-ParentApp=konqueror
Icon=core
DocPath=konq-plugins/crashes/index.html
X-DocPath=konq-plugins/crashes/index.html

@ -121,4 +121,4 @@ Comment[zh_CN]=目录过滤器插件
Comment[zh_TW]=目錄過濾器外掛程式
Icon=filter
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/dirfilter/index.html
X-DocPath=konq-plugins/dirfilter/index.html

@ -121,4 +121,4 @@ Comment[zh_CN]=目录过滤器插件
Comment[zh_TW]=目錄過濾器外掛程式
Icon=filter
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/dirfilter/index.html
X-DocPath=konq-plugins/dirfilter/index.html

@ -125,4 +125,4 @@ Comment[zh_CN]=DOM 树形视图查看器
Comment[zh_TW]=DOM 樹檢視器
Icon=domtreeviewer
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/domtreeviewer/index.html
X-DocPath=konq-plugins/domtreeviewer/index.html

@ -3,7 +3,7 @@ Type=Application
Exec=fsview -caption "%c" %i %m %u
MimeType=inode/directory
Icon=fsview
DocPath=konq-plugins/fsview/index.html
X-DocPath=konq-plugins/fsview/index.html
Terminal=false
Name=FSView
GenericName=File Size Viewer

@ -51,8 +51,8 @@ Name[vi]=Xem cỡ tập tin
Name[zh_CN]=文件大小查看
Name[zh_TW]=檔案大小檢視器
MimeType=inode/directory
ServiceTypes=KParts/ReadOnlyPart
X-TDE-ServiceTypes=KParts/ReadOnlyPart
X-TDE-Library=libfsviewpart
Type=Service
Icon=fsview
DocPath=konq-plugins/fsview/index.html
X-DocPath=konq-plugins/fsview/index.html

@ -3,7 +3,7 @@
# Released under the same license as the KDE core distribution (GPL 2.0).
#
[Desktop Entry]
ServiceTypes=image/*
X-TDE-ServiceTypes=image/*
Actions=convToJPEG;convToPNG;convToGIF;convToTIF;
X-TDE-Submenu=Convert To
X-TDE-Submenu[bg]=Конвертиране в

@ -1,5 +1,5 @@
[Desktop Entry]
ServiceTypes=image/jpeg
X-TDE-ServiceTypes=image/jpeg
Actions=jpegRot90;jpegRot270;jpegFlipV;jpegFlipH;
X-TDE-Submenu=Transform Image
X-TDE-Submenu[bg]=Конвертиране на изображението

@ -126,4 +126,4 @@ Comment[zh_CN]=生成 HTML 图像集的简捷方式
Comment[zh_TW]=簡單建立 HTML 相簿的方法
Icon=imagegallery
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/imgallery/index.html
X-DocPath=konq-plugins/imgallery/index.html

@ -199,4 +199,4 @@ Keywords[xh]=kuick;khuphela;hambisa
Keywords[zh_CN]=kuick;copy;move;复制;移动
Keywords[zu]=kuick;khiphela;susa
X-TDE-ParentApp=kcontrol
DocPath=konq-plugins/kuick/index.html
X-DocPath=konq-plugins/kuick/index.html

@ -64,4 +64,4 @@ Name[zh_TW]=Kuick 複製與移動
Name[zu]=Kuick Khiphela futhi Ususe
Icon=tdemultiple
X-TDE-Library=libkuickplugin
ServiceTypes=KonqPopupMenu/Plugin,all/all
X-TDE-ServiceTypes=KonqPopupMenu/Plugin,all/all

@ -63,4 +63,4 @@ Name[zh_TW]=Kuick 複製與移動
Name[zu]=Kuick Khiphela futhi Ususe
Icon=tdemultiple
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/kuick/index.html
X-DocPath=konq-plugins/kuick/index.html

@ -1,5 +1,5 @@
[Desktop Entry]
ServiceTypes=media/cdrom_mounted,media/cdwriter_mounted,media/dvd_mounted,media/floppy5_mounted,media/floppy_mounted,media/hdd_mounted,media/nfs_mounted,media/smb_mounted,media/removable_mounted,media/zip_mounted
X-TDE-ServiceTypes=media/cdrom_mounted,media/cdwriter_mounted,media/dvd_mounted,media/floppy5_mounted,media/floppy_mounted,media/hdd_mounted,media/nfs_mounted,media/smb_mounted,media/removable_mounted,media/zip_mounted
Actions=MediaRealFolder
X-TDE-Priority=TopLevel
X-TDE-MediaNotifierHide=true

@ -118,4 +118,4 @@ Comment[uk]=Міні-засоби
Comment[vi]=Công cụ nhỏ
Comment[zh_CN]=小工具
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/minitools/index.html
X-DocPath=konq-plugins/minitools/index.html

@ -14,4 +14,4 @@ Name=Remote Folder Synchronization Plugin
Comment=Remote folder synchronization plugin
Icon=remotesync
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/rsync/index.html
X-DocPath=konq-plugins/rsync/index.html

@ -12,4 +12,4 @@ Name=Remote Folder Synchronization Plugin
Comment=Remote folder synchronization plugin
Icon=remotesync
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/rsync/index.html
X-DocPath=konq-plugins/rsync/index.html

@ -112,4 +112,4 @@ Comment[zh_TW]=在 Konqueror 導覽面板上的媒體播放器外掛程式
Icon=konqsidebar_mediaplayer
X-TDE-ParentApp=konqueror
X-TDE-KonqSidebarUniversal=true
DocPath=konq-plugins/mediaplayer/index.html
X-DocPath=konq-plugins/mediaplayer/index.html

@ -101,9 +101,9 @@ void ServiceLoader::loadServices(const KFileItem item, DOM::DOMString &html, int
}
}
if ( cfg.hasKey( "Actions" ) && cfg.hasKey( "ServiceTypes" ) ){
const TQStringList types = cfg.readListEntry( "ServiceTypes" );
const TQStringList excludeTypes = cfg.readListEntry( "ExcludeServiceTypes" );
if ( cfg.hasKey( "Actions" ) && cfg.hasKey( "X-TDE-ServiceTypes" ) ){
const TQStringList types = cfg.readListEntry( "X-TDE-ServiceTypes" );
const TQStringList excludeTypes = cfg.readListEntry( "X-TDE-ExcludeServiceTypes" );
bool ok = false;
for (TQStringList::ConstIterator it = types.begin(); it != types.end() && !ok; ++it){

@ -133,4 +133,4 @@ Comment[zh_CN]=改变 TDEHTML 设置的快速方式
Comment[zh_TW]=快速變更 TDEHTML 設定的方法
X-TDE-ParentApp=konqueror
Icon=configure
DocPath=konq-plugins/tdehtmlsettings/index.html
X-DocPath=konq-plugins/tdehtmlsettings/index.html

@ -118,4 +118,4 @@ Comment[zh_CN]=用来更换用户代理的插件
Comment[zh_TW]=改變使用者代理人的外掛程式
X-TDE-ParentApp=konqueror
Icon=agent
DocPath=konq-plugins/uachanger/index.html
X-DocPath=konq-plugins/uachanger/index.html

@ -125,4 +125,4 @@ Comment[zh_CN]=CSS 和 HTML 校验插件
Comment[zh_TW]=CSS 與 HTML 驗證外掛程式
Icon=validators
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/validators/index.html
X-DocPath=konq-plugins/validators/index.html

@ -127,4 +127,4 @@ Comment[zh_CN]=创建网站存档
Comment[zh_TW]=建立網站的檔案
Icon=webarchiver
X-TDE-ParentApp=konqueror
DocPath=konq-plugins/webarchiver/index.html
X-DocPath=konq-plugins/webarchiver/index.html

@ -70,7 +70,7 @@ Name[xh]=Iindawo zokugcina ze web
Name[zh_CN]=Web 存档
Name[zh_TW]=Web 檔案館
Name[zu]=Ushicilelo lukawonke umuntu kanye nemiqulu emidala yeWeb
ServiceTypes=ThumbCreator
X-TDE-ServiceTypes=ThumbCreator
MimeTypes=application/x-webarchive
X-TDE-Library=webarchivethumbnail
CacheThumbnail=true

@ -68,4 +68,4 @@ GenericName[vi]=Bộ soạn thảo chữ ký
GenericName[zh_CN]=签名编辑器
GenericName[zh_TW]=簽名編輯器
Categories=Qt;TDE;Office;X-TDE-Office-PIM;
DocPath=ksig/index.html
X-DocPath=ksig/index.html

@ -60,4 +60,4 @@ Name[vi]=Xem thử âm thanh
Name[zh_CN]=音频预览
Name[zh_TW]=音效預覽
X-TDE-Library=librenaudioplugin
ServiceTypes=RenameDlg/Plugin,audio/x-mp3,audio/x-wav,application/ogg
X-TDE-ServiceTypes=RenameDlg/Plugin,audio/x-mp3,audio/x-wav,application/ogg

@ -63,4 +63,4 @@ Name[xh]=Umbonisi wo Mfanekiso
Name[zh_CN]=图像显示器
Name[zh_TW]=影像顯示器
X-TDE-Library=librenimageplugin
ServiceTypes=RenameDlg/Plugin,image/jpeg,image/png
X-TDE-ServiceTypes=RenameDlg/Plugin,image/jpeg,image/png

@ -53,7 +53,7 @@ Name[uz@cyrillic]=Сертификат ҳақида маълумот
Name[vi]=Thông tin chứng nhận
Name[zh_CN]=证书信息
Name[zh_TW]=憑證資訊
ServiceTypes=KFilePlugin
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_cert
MimeType=application/x-x509-ca-cert
PreferredGroups=certInfo,certSubjectInfo

@ -108,7 +108,7 @@ bool KDotDesktopPlugin::readInfo( KFileMetaInfo& info, uint )
appendItem(group, "File Type", mt->comment());
}
TQString sType = file.readEntry("ServiceTypes");
TQString sType = file.readEntry("X-TDE-ServiceTypes");
appendItem(group, "Service Type", sType);
if (sType == "KFilePlugin")

@ -62,7 +62,7 @@ Name[vi]=Thông tin mục nhập môi trường
Name[xh]=Ungeniso Lolwazi lwe Desktop
Name[zh_CN]=桌面项目信息
Name[zh_TW]=桌面項目資訊
ServiceTypes=KFilePlugin
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_desktop
MimeType=application/x-desktop
PreferredItems=Name,Comment,Type,Service Type

@ -63,7 +63,7 @@ Name[vi]=Thông tin thư mục
Name[xh]=Ulwazi lwencwadi enencukhacha
Name[zh_CN]=文件夹信息
Name[zh_TW]=資料夾資訊
ServiceTypes=KFilePlugin
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_folder
MimeType=inode/directory
PreferredGroups=FolderInfo

@ -60,7 +60,7 @@ Name[vi]=Thông tin danh mục nhạc HTML
Name[xh]=Ulwazi loluhlu lodweliso lomdlali we HTML
Name[zh_CN]=HTML 播放列表信息
Name[zh_TW]=HTML 播放清單資訊
ServiceTypes=KFilePlugin
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_html
MimeType=text/html
PreferredItems=Title,Javascript,Doctype,Keywords

@ -56,7 +56,7 @@ Name[uz@cyrillic]=Windows lnk файли ҳақида маълумот
Name[vi]=Thông tin tập tin Ink Windows
Name[zh_CN]=Windows lnk 文件信息
Name[zh_TW]=Windows lnk 檔資訊
ServiceTypes=KFilePlugin
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_lnk
MimeType=application/x-win-lnk
PreferredItems=PointsTo,Where,TargetSize,Description

@ -53,7 +53,7 @@ Name[uz@cyrillic]=mhtml файллари ҳақида маълумот
Name[vi]=Thông tin mhtml
Name[zh_CN]=mhtml 信息
Name[zh_TW]=mhtml 資訊
ServiceTypes=KFilePlugin
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_mhtml
MimeType=application/x-mimearchive
PreferredGroups=mhtmlInfo

@ -63,7 +63,7 @@ Name[vi]=Thông tin tập tin văn bản
Name[xh]=Ulwazi Lombhalo Wefayile
Name[zh_CN]=文本文件信息
Name[zh_TW]=文字檔案資訊
ServiceTypes=KFilePlugin
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_txt
MimeType=text/plain
PreferredGroups=General

@ -1,4 +1,4 @@
[Desktop Entry]
Name=The TDE Documentation Primer
DocPath=help:/khelpcenter/docprimer/index.html
X-DocPath=help:/khelpcenter/docprimer/index.html
Icon=khelpcenter

@ -1,4 +1,4 @@
[Desktop Entry]
Name=The TDE DocBook Markup Guide
DocPath=help:/khelpcenter/markup/index.html
X-DocPath=help:/khelpcenter/markup/index.html
Icon=khelpcenter

@ -1,4 +1,4 @@
[Desktop Entry]
Name=The TDE Help Handbook Style Guide
DocPath=help:/khelpcenter/styleguide/index.html
X-DocPath=help:/khelpcenter/styleguide/index.html
Icon=khelpcenter

Loading…
Cancel
Save