]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Document debconf SETTITLE command
authorRuss Allbery <rra@debian.org>
Mon, 21 Jun 2010 16:29:32 +0000 (09:29 -0700)
committerRuss Allbery <rra@debian.org>
Mon, 21 Jun 2010 16:29:32 +0000 (09:29 -0700)
Document the SETTITLE command in the debconf policy.  Inclusion of this
command should not pose any problems as it has been supported since 2003
(debconf version 1.3.22).

Patch from Frans Pop <elendil@planet.nl>.

debconf_spec/debconf_specification.xml
debconf_spec/include/commands.xml
debconf_spec/include/types.xml
debian/changelog
upgrading-checklist.sgml

index ef8da7d7adfb7b342181126b5f7b847b8894babf..a163213b97d37ed64d394e47c50e5ea614092c3e 100644 (file)
@@ -10,8 +10,8 @@
 
   <articleinfo>
     <title>Configuration management</title>
-    <subtitle>Protocol version 2</subtitle>
-    <releaseinfo>Revision 7.0</releaseinfo>
+    <subtitle>Protocol version 2.1</subtitle>
+    <releaseinfo>Revision 7.1</releaseinfo>
     <author>
       <firstname>
         Wichert
index fbf05744a3ce8a2fd365a2a95d870221fe4767c3..d5bad36e0c5fbc2bf10f5bf473e1740c169b4d5f 100644 (file)
@@ -6,7 +6,7 @@
   <para>
     This exchanges with the frontend the protocol version
     number that is being used. The current version is
-    2.0. Versions in the 2.x series will be
+    2.1. Versions in the 2.x series will be
     backwards-compatible. You may specify the protocol version
     number you are speaking. The frontend will return the version
     of the protocol it speaks. If the version you specify is too
     </table>
   </para>
 </listitem>
-<listitem id="command_title">
+<listitem id="command_settitle">
   <para>
-    TITLE
-    <parameter>string</parameter>
+    SETTITLE
+    <parameter>template</parameter>
   </para>
   <para>
     You can use this command to set a title in the
     of the frontend's window. If you don't specify anything, a
     title will automatically be generated.
   </para>
+  <para>
+    Using a template has the advantage that titles are translatable
+    and that they can be maintained in the same place as other text
+    displayed to users.
+  </para> 
+</listitem>
+<listitem id="command_title">
+  <para>
+    TITLE
+    <parameter>string</parameter>
+  </para>
+  <para>
+    Similar to SETTITLE, but takes a string instead of a template as
+    parameter. Consequence is that the title will not be translatable,
+    unless some other mechanism (like gettext) is used.
+  </para>
 </listitem>
 <listitem id="command_stop">
   <para>
index 4112ee1823bc1299f957f307a10474b10454a0c4..50b3fe4957bfa9018f8f54de3dc4d41e0c770631 100644 (file)
         as is possible.
       </entry>
     </row>
+    <row>
+      <entry>title</entry>
+      <entry>
+        Holds a (short) string that can be displayed using the SETTITLE
+        command. Only the value of the short description will be used.
+      </entry>
+    </row>
   </tbody>
 </tgroup>
 </table>
index e57be0e8d26f564e019721a7c7188ef688a8741d..f8fd3d4e1a8b613a1df04fc45d656eb7759ecb53 100644 (file)
@@ -78,6 +78,10 @@ debian-policy (3.8.5.0) UNRELEASED; urgency=low
     Seconded: Emilio Pozuelo Monfort <pochu@debian.org>
     Seconded: Andrew McMillan <andrew@morphoss.com>
     Closes: #575639
+  * Debconf: Add SETTITLE, like title but uses a template
+    Wording: Frans Pop <elendil@planet.nl>
+    Seconded: Russ Allbery <rra@debian.org>
+    Seconded: Ben Pfaff <blp@cs.stanford.edu>
   * Perl Policy: Change perlapi provides to use an ABI version
     Wording: Niko Tyni <ntyni@debian.org>
     Seconded: Russ Allbery <rra@debian.org>
index 9f0d966102a783bc0f0064e3824f4e35ae0cf943..921daa9872fdb7bfe7d662371fc2780931f72b0f 100644 (file)
@@ -94,6 +94,11 @@ Release Jun 2010.
   in <file>debian/copyright</file>, although it will still be in
   common-licenses for the time being.
   </item>
+<tag>debconf</tag>
+  <item>Add <tt>SETTITLE</tt> (which has been supported for some time).
+  Like <tt>TITLE</tt> but takes a template instead of a string to allow
+  translation.
+  </item>
 <tag>perl</tag>
   <item><package>perl-base</package> now
   provides <package>perlapi-<var>abiname</var></package> instead of a