[kde-cli-tools] /: Update imported filetypes kcm docbook

Burkhard Lück lueck at hube-lueck.de
Fri Nov 11 23:25:31 UTC 2016


Git commit 775cc72ed9a529de02607e277b379ed6260399ef by Burkhard Lück.
Committed on 11/11/2016 at 08:56.
Pushed by lueck into branch 'master'.

Update imported filetypes kcm docbook

adapt CMakeLists.txt, change dtd to kf5
reapply one update done in plasma-desktop
proofread, bump date + releaseinfo
make co-installable using subdir kcontrol5
REVIEW:128914

M  +1    -0    doc/CMakeLists.txt
D  +0    -2    doc/kcontrol/filetypes/CMakeLists.txt
A  +1    -0    doc/kcontrol5/CMakeLists.txt
A  +2    -0    doc/kcontrol5/filetypes/CMakeLists.txt
R  +17   -17   doc/kcontrol5/filetypes/index.docbook [from: doc/kcontrol/filetypes/index.docbook - 094% similarity]
M  +1    -1    keditfiletype/filetypes.desktop

http://commits.kde.org/kde-cli-tools/775cc72ed9a529de02607e277b379ed6260399ef

diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 6987c14..38e2759 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,3 +1,4 @@
+ecm_optional_add_subdirectory(kcontrol5)
 if(UNIX)
     ecm_optional_add_subdirectory(kdesu)
 endif()
diff --git a/doc/kcontrol/filetypes/CMakeLists.txt b/doc/kcontrol/filetypes/CMakeLists.txt
deleted file mode 100644
index e12793e..0000000
--- a/doc/kcontrol/filetypes/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-########### install files ###############
-kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kcontrol/filetypes)
diff --git a/doc/kcontrol5/CMakeLists.txt b/doc/kcontrol5/CMakeLists.txt
new file mode 100644
index 0000000..edf3e05
--- /dev/null
+++ b/doc/kcontrol5/CMakeLists.txt
@@ -0,0 +1 @@
+ecm_optional_add_subdirectory(filetypes)
diff --git a/doc/kcontrol5/filetypes/CMakeLists.txt b/doc/kcontrol5/filetypes/CMakeLists.txt
new file mode 100644
index 0000000..72d5fea
--- /dev/null
+++ b/doc/kcontrol5/filetypes/CMakeLists.txt
@@ -0,0 +1,2 @@
+########### install files ###############
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kcontrol5/filetypes)
diff --git a/doc/kcontrol/filetypes/index.docbook b/doc/kcontrol5/filetypes/index.docbook
similarity index 94%
rename from doc/kcontrol/filetypes/index.docbook
rename to doc/kcontrol5/filetypes/index.docbook
index 36a3129..6201c26 100644
--- a/doc/kcontrol/filetypes/index.docbook
+++ b/doc/kcontrol5/filetypes/index.docbook
@@ -1,7 +1,6 @@
 <?xml version="1.0" ?>
-<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN"
-"dtd/kdex.dtd" [
-<!ENTITY calligrawords "<application>Calligra Words</application>">
+<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN"
+"dtd/kdedbx45.dtd" [
 <!ENTITY % addindex "IGNORE">
 <!ENTITY % English "INCLUDE" > <!-- change language only here -->
 ]>
@@ -15,8 +14,8 @@
 <!-- TRANS:ROLES_OF_TRANSLATORS -->
 </authorgroup>
 
-<date>2013-12-05</date>
-<releaseinfo>&kde; 4.12</releaseinfo>
+<date>2016-11-11</date>
+<releaseinfo>Plasma 5.8</releaseinfo>
 
 <keywordset>
 <keyword>KDE</keyword>
@@ -67,10 +66,11 @@ without opening and analyzing the format of each and every file.</para>
 <sect2 id="file-assoc-use">
 <title>How to use this module</title>
 
-<para>You can start this module  
-by opening &systemsettings; and selecting <guilabel>File Associations</guilabel> in the 
-<guilabel>Common Appearance and Behavior</guilabel> category. Alternatively, you can start it by
-typing <command>kcmshell4 filetypes</command> from the terminal or &krunner;.</para>
+<para>You can start this module
+by opening &systemsettings; and selecting <menuchoice><guimenu>Applications</guimenu>
+<guimenuitem>File Associations</guimenuitem></menuchoice> in the
+<guilabel>Personalization</guilabel> category. Alternatively, you can start it by
+typing <command>kcmshell5 filetypes</command> from the terminal or &krunner;.</para>
 
 <para>The file associations are organized into several categories, and
 at a minimum you will have:</para>
@@ -135,6 +135,7 @@ type you want to delete by clicking once with the mouse on the &MIME;
 type name.  Then click the button labeled
 <guibutton>Remove</guibutton>.  The &MIME; type will be deleted
 immediately.</para>
+<para>You can remove only your own &MIME; types.</para>
 
 </sect3>
 
@@ -262,7 +263,7 @@ system.</para>
 applications associated with this file type.  The first program is
 called &okular;.  If your system does not
 have &okular; installed, then &kde;
-automatically starts the second application &krita;.  
+automatically starts the second application &krita;.
 As you can see, this will help keep &kde; running
 strong  as you add and subtract applications.</para></note>
 
@@ -279,15 +280,14 @@ dialog box, you can select the application you want to use for this mime
 type.  Click <guibutton>OK</guibutton> when you are done, and the
 application will be added to the current list.</para>
 
-<para>To change the options of an application for a particular &MIME; type 
-select it in the list and then press the <guibutton>Edit...</guibutton> button. 
-This opens a new dialog with <guilabel>General</guilabel>, 
-<guilabel>Permissions</guilabel>, <guilabel>Applications</guilabel> and
-<guilabel>Preview</guilabel> tabs.
+<para>To change the options of an application for a particular &MIME; type
+select it in the list and then press the <guibutton>Edit...</guibutton> button.
+This opens a new dialog with <guilabel>General</guilabel>,
+<guilabel>Permissions</guilabel> and <guilabel>Applications</guilabel>.
 On the <guilabel>Applications</guilabel> tab you can edit <guilabel>Name</guilabel>,
 <guilabel>Description</guilabel> and <guilabel>Comment</guilabel>.
-In the <guilabel>Command</guilabel> field you can have several place holders 
-following the command, which will be replaced with the actual values 
+In the <guilabel>Command</guilabel> field you can have several place holders
+following the command, which will be replaced with the actual values
 when the actual program is run:</para>
 <itemizedlist>
 <listitem><para>%f - a single file name</para></listitem>
diff --git a/keditfiletype/filetypes.desktop b/keditfiletype/filetypes.desktop
index 76f11cf..e29c876 100644
--- a/keditfiletype/filetypes.desktop
+++ b/keditfiletype/filetypes.desktop
@@ -3,7 +3,7 @@ Icon=preferences-desktop-filetype-association
 Type=Service
 X-KDE-ServiceTypes=KCModule
 Exec=kcmshell5 filetypes
-X-DocPath=kcontrol/filetypes/index.html
+X-DocPath=kcontrol5/filetypes/index.html
 
 X-KDE-Library=kcm_filetypes
 X-KDE-ParentApp=kcontrol


More information about the kde-doc-english mailing list