diff --git a/CMakeLists.txt b/CMakeLists.txt index b0697d49..1c224953 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,4 +23,5 @@ macro_optional_add_subdirectory (pykde4) macro_optional_add_subdirectory (libkdcraw) macro_optional_add_subdirectory (libkexiv2) macro_optional_add_subdirectory (kamera) -macro_optional_add_subdirectory (kfilereplace) \ No newline at end of file +macro_optional_add_subdirectory (kfilereplace) +macro_optional_add_subdirectory (khelpcenter) \ No newline at end of file diff --git a/khelpcenter/glossary.cpp b/khelpcenter/glossary.cpp index 5fbc1ed0..a19c880b 100644 --- a/khelpcenter/glossary.cpp +++ b/khelpcenter/glossary.cpp @@ -153,8 +153,7 @@ void Glossary::rebuildGlossaryCache() *meinproc << KStandardDirs::locate( "exe", QLatin1String( "xsltproc" ) ); *meinproc << QLatin1String( "--output" ) << m_cacheFile; - *meinproc << QLatin1String( "--stylesheet" ) - << KStandardDirs::locate( "data", QLatin1String( "khelpcenter/glossary.xslt" ) ); + *meinproc << KStandardDirs::locate( "data", QLatin1String( "khelpcenter/glossary.xslt" ) ); *meinproc << m_sourceFile; meinproc->setOutputChannelMode(KProcess::OnlyStderrChannel); diff --git a/khelpcenter/plugins/Manpages/man1.desktop b/khelpcenter/plugins/Manpages/man1.desktop index 1ef4799c..19d41367 100644 --- a/khelpcenter/plugins/Manpages/man1.desktop +++ b/khelpcenter/plugins/Manpages/man1.desktop @@ -91,4 +91,4 @@ Name[x-test]=xx(1) User Commandsxx Name[zh_CN]=(1) 用户命令 Name[zh_TW]=(1) 使用者命令 -X-DocPath=man:/(1) +X-DocPath=man:/1 diff --git a/khelpcenter/plugins/Manpages/man2.desktop b/khelpcenter/plugins/Manpages/man2.desktop index 85538e2b..50232d6f 100644 --- a/khelpcenter/plugins/Manpages/man2.desktop +++ b/khelpcenter/plugins/Manpages/man2.desktop @@ -91,4 +91,4 @@ Name[x-test]=xx(2) System Callsxx Name[zh_CN]=(2) 系统调用 Name[zh_TW]=(2) 系統呼叫 -X-DocPath=man:/(2) +X-DocPath=man:/2 diff --git a/khelpcenter/plugins/Manpages/man3.desktop b/khelpcenter/plugins/Manpages/man3.desktop index bcf2e035..71e30721 100644 --- a/khelpcenter/plugins/Manpages/man3.desktop +++ b/khelpcenter/plugins/Manpages/man3.desktop @@ -89,4 +89,4 @@ Name[x-test]=xx(3) Subroutinesxx Name[zh_CN]=(3) 子程序 Name[zh_TW]=(3) 子程式 -X-DocPath=man:/(3) +X-DocPath=man:/3 diff --git a/khelpcenter/plugins/Manpages/man4.desktop b/khelpcenter/plugins/Manpages/man4.desktop index c53487b7..34c3b22f 100644 --- a/khelpcenter/plugins/Manpages/man4.desktop +++ b/khelpcenter/plugins/Manpages/man4.desktop @@ -92,4 +92,4 @@ Name[x-test]=xx(4) Devicesxx Name[zh_CN]=(4) 设备 Name[zh_TW]=(4) 裝置 -X-DocPath=man:/(4) +X-DocPath=man:/4 diff --git a/khelpcenter/plugins/Manpages/man5.desktop b/khelpcenter/plugins/Manpages/man5.desktop index b9bac793..91b29650 100644 --- a/khelpcenter/plugins/Manpages/man5.desktop +++ b/khelpcenter/plugins/Manpages/man5.desktop @@ -92,4 +92,4 @@ Name[x-test]=xx(5) File Formatsxx Name[zh_CN]=(5) 文件格式 Name[zh_TW]=(5) 檔案格式 -X-DocPath=man:/(5) +X-DocPath=man:/5 diff --git a/khelpcenter/plugins/Manpages/man6.desktop b/khelpcenter/plugins/Manpages/man6.desktop index e29efdcb..faf7516d 100644 --- a/khelpcenter/plugins/Manpages/man6.desktop +++ b/khelpcenter/plugins/Manpages/man6.desktop @@ -92,4 +92,4 @@ Name[x-test]=xx(6) Gamesxx Name[zh_CN]=(6) 游戏 Name[zh_TW]=(6) 遊戲 -X-DocPath=man:/(6) +X-DocPath=man:/6 diff --git a/khelpcenter/plugins/Manpages/man7.desktop b/khelpcenter/plugins/Manpages/man7.desktop index b5476714..aab216e1 100644 --- a/khelpcenter/plugins/Manpages/man7.desktop +++ b/khelpcenter/plugins/Manpages/man7.desktop @@ -92,4 +92,4 @@ Name[x-test]=xx(7) Miscellaneousxx Name[zh_CN]=(7) 杂项 Name[zh_TW]=(7) 雜項 -X-DocPath=man:/(7) +X-DocPath=man:/7 diff --git a/khelpcenter/plugins/Manpages/man8.desktop b/khelpcenter/plugins/Manpages/man8.desktop index ce089855..dc9c49be 100644 --- a/khelpcenter/plugins/Manpages/man8.desktop +++ b/khelpcenter/plugins/Manpages/man8.desktop @@ -91,4 +91,4 @@ Name[x-test]=xx(8) Sys. Administrationxx Name[zh_CN]=(8) 系统管理 Name[zh_TW]=(8) 系統管理 -X-DocPath=man:/(8) +X-DocPath=man:/8 diff --git a/khelpcenter/plugins/Manpages/man9.desktop b/khelpcenter/plugins/Manpages/man9.desktop index 27e14173..fc0bd0e5 100644 --- a/khelpcenter/plugins/Manpages/man9.desktop +++ b/khelpcenter/plugins/Manpages/man9.desktop @@ -91,4 +91,4 @@ Name[x-test]=xx(9) Kernelxx Name[zh_CN]=(9) 内核 Name[zh_TW]=(9) 核心 -X-DocPath=man:/(9) +X-DocPath=man:/9 diff --git a/khelpcenter/plugins/Manpages/mann.desktop b/khelpcenter/plugins/Manpages/mann.desktop index c930eea6..fd478dc9 100644 --- a/khelpcenter/plugins/Manpages/mann.desktop +++ b/khelpcenter/plugins/Manpages/mann.desktop @@ -91,4 +91,4 @@ Name[x-test]=xx(n) Newxx Name[zh_CN]=(n) 新建 Name[zh_TW]=(n) 新 -X-DocPath=man:/(n) +X-DocPath=man:/n