From 64a99d105c759b1242350be1d78d16b3c7017503 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Mon, 21 Jun 2010 09:29:32 -0700 Subject: [PATCH] Document debconf SETTITLE command 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 . --- debconf_spec/debconf_specification.xml | 4 ++-- debconf_spec/include/commands.xml | 24 ++++++++++++++++++++---- debconf_spec/include/types.xml | 7 +++++++ debian/changelog | 4 ++++ upgrading-checklist.sgml | 5 +++++ 5 files changed, 38 insertions(+), 6 deletions(-) diff --git a/debconf_spec/debconf_specification.xml b/debconf_spec/debconf_specification.xml index ef8da7d..a163213 100644 --- a/debconf_spec/debconf_specification.xml +++ b/debconf_spec/debconf_specification.xml @@ -10,8 +10,8 @@ Configuration management - Protocol version 2 - Revision 7.0 + Protocol version 2.1 + Revision 7.1 Wichert diff --git a/debconf_spec/include/commands.xml b/debconf_spec/include/commands.xml index fbf0574..d5bad36 100644 --- a/debconf_spec/include/commands.xml +++ b/debconf_spec/include/commands.xml @@ -6,7 +6,7 @@ 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 @@ -53,10 +53,10 @@ - + - TITLE - string + SETTITLE + template You can use this command to set a title in the @@ -65,6 +65,22 @@ of the frontend's window. If you don't specify anything, a title will automatically be generated. + + 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. + + + + + TITLE + string + + + 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. + diff --git a/debconf_spec/include/types.xml b/debconf_spec/include/types.xml index 4112ee1..50b3fe4 100644 --- a/debconf_spec/include/types.xml +++ b/debconf_spec/include/types.xml @@ -69,6 +69,13 @@ as is possible. + + title + + Holds a (short) string that can be displayed using the SETTITLE + command. Only the value of the short description will be used. + + diff --git a/debian/changelog b/debian/changelog index e57be0e..f8fd3d4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -78,6 +78,10 @@ debian-policy (3.8.5.0) UNRELEASED; urgency=low Seconded: Emilio Pozuelo Monfort Seconded: Andrew McMillan Closes: #575639 + * Debconf: Add SETTITLE, like title but uses a template + Wording: Frans Pop + Seconded: Russ Allbery + Seconded: Ben Pfaff * Perl Policy: Change perlapi provides to use an ABI version Wording: Niko Tyni Seconded: Russ Allbery diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml index 9f0d966..921daa9 100644 --- a/upgrading-checklist.sgml +++ b/upgrading-checklist.sgml @@ -94,6 +94,11 @@ Release Jun 2010. in debian/copyright, although it will still be in common-licenses for the time being. +debconf + Add SETTITLE (which has been supported for some time). + Like TITLE but takes a template instead of a string to allow + translation. + perl perl-base now provides perlapi-abiname instead of a -- 2.39.2