[spectacle] doc: Add some docs about placeholders in the filename edit line

Yuri Chornoivan null at kde.org
Wed Mar 20 10:40:59 GMT 2019


Git commit 80376166ad7fd8217ec2be36bcc0194d68376f46 by Yuri Chornoivan.
Committed on 20/03/2019 at 10:40.
Pushed by yurchor into branch 'master'.

Add some docs about placeholders in the filename edit line

M  +8    -5    doc/index.docbook

https://commits.kde.org/spectacle/80376166ad7fd8217ec2be36bcc0194d68376f46

diff --git a/doc/index.docbook b/doc/index.docbook
index 1bbc504..f151d0c 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -29,7 +29,7 @@
 
         <legalnotice>&FDLNotice;</legalnotice>
 
-        <date>2019-03-08</date>
+        <date>2019-03-20</date>
         <releaseinfo>Applications 19.04</releaseinfo>
 
         <abstract>
@@ -333,15 +333,18 @@
                         <para>Set a default filename for saved screenshots.</para>
                         <para>You can use the following placeholders in the filename, which will be replaced with actual text when the file is saved:</para>
                         <itemizedlist>
-                        <listitem><para><userinput>%Y</userinput>: Year (4 digit)</para></listitem>
-                        <listitem><para><userinput>%y</userinput>: Year (2 digit)</para></listitem>
-                        <listitem><para><userinput>%M</userinput>: Month</para></listitem>
                         <listitem><para><userinput>%D</userinput>: Day</para></listitem>
                         <listitem><para><userinput>%H</userinput>: Hour</para></listitem>
-                        <listitem><para><userinput>%m</userinput>: Minute</para></listitem>
+                        <listitem><para><userinput>%M</userinput>: Month</para></listitem>
+                        <listitem><para><userinput>%Nd</userinput>: Sequential number padded to N digits</para></listitem>
                         <listitem><para><userinput>%S</userinput>: Second</para></listitem>
                         <listitem><para><userinput>%T</userinput>: Window title</para></listitem>
+                        <listitem><para><userinput>%Y</userinput>: Year (4 digit)</para></listitem>
+                        <listitem><para><userinput>%Nd</userinput>: Sequential number</para></listitem>
+                        <listitem><para><userinput>%m</userinput>: Minute</para></listitem>
+                        <listitem><para><userinput>%y</userinput>: Year (2 digit)</para></listitem>
                         </itemizedlist>
+                        <para>You can click on placeholders in the reference list below to insert them into the <guilabel>Filename</guilabel> line.</para>
                         <para>If a file with this name already exists, a serial number will be appended to the filename. For example, if the filename is <filename>Screenshot</filename>, and <filename>Screenshot.png</filename> already exists, the image will be saved as <filename>Screenshot-1.png</filename>.</para>
                         <para>Typing an extension into the filename will automatically set the image format correctly and remove the extension from the filename field.</para>
                     </listitem>


More information about the kde-doc-english mailing list