[Pkg-cups-devel] Bug#343498: cupsys: Please consider a rewrite of debconf templates

Christian Perrier bubulle at debian.org
Thu Dec 15 16:14:33 UTC 2005


Package: cupsys
Version: 1.1.23-13
Severity: normal
Tags: patch

The attached patch attempts to rewrite the debconf templates for the package
in order to use a writing style which is closer to other packages. It also
applies a few style changes as recommended in the relevant section of the
Developer's Reference.

If you apply, entirely or partly, this patch, I suggest running
debconf-updatepo immediately after and use to podebconf-report-po utility to
warn translators about needed updates.

I found this while I was about to update the French translation so please
keep me posted if, for some reason, you prefer not changing anything..:)

PS: the most important change IMHO is the rewrite of the enumeration list to
a hard-formatted list...which will save space on the relevant screen. and
make it easier for translators to fit in a  80x25 terminal when using dialog
as the debconf interface.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages cupsys depends on:
ii  adduser                  3.80            Add and remove users and groups
ii  debconf [debconf-2.0]    1.4.62          Debian configuration management sy
ii  gs-esp                   8.15.1.dfsg.1-1 The Ghostscript PostScript interpr
ii  libc6                    2.3.5-8.1       GNU C Library: Shared libraries an
ii  libcupsimage2            1.1.23-13       Common UNIX Printing System(tm) - 
ii  libcupsys2               1.1.23-13       Common UNIX Printing System(tm) - 
ii  libgnutls12              1.2.9-2         the GNU TLS library - runtime libr
ii  libpam0g                 0.79-3          Pluggable Authentication Modules l
ii  libpaper1                1.1.14-3        Library for handling paper charact
ii  libslp1                  1.2.1-3         OpenSLP libraries
ii  patch                    2.5.9-2         Apply a diff file to an original
ii  perl-modules             5.8.7-9         Core Perl modules
ii  procps                   1:3.2.6-2       /proc file system utilities
ii  xpdf-utils               3.01-3          Portable Document Format (PDF) sui
ii  zlib1g                   1:1.2.3-8       compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client           1.1.23-13        Common UNIX Printing System(tm) - 
ii  foomatic-filters        3.0.2-20050720-1 linuxprinting.org printer support 
ii  smbclient               3.0.20b-4        a LanManager-like simple client fo

-- debconf information:
  cupsys/raw-print: true
* cupsys/ports: 631
  cupsys/backend: ipp, lpd, parallel, socket, usb
  cupsys/portserror:
* cupsys/browse: true
-------------- next part --------------
--- cupsys.templates.old	2005-12-15 17:02:11.812439118 +0100
+++ cupsys.templates	2005-12-15 17:10:20.543365654 +0100
@@ -19,9 +19,9 @@
 
 Template: cupsys/backend
 Type: multiselect
-_Choices: ipp, lpd, parallel, scsi, serial, socket, usb
+__Choices: ipp, lpd, parallel, scsi, serial, socket, usb
 Default: ipp, lpd, parallel, socket, usb
-_Description: Select the backends you want.
+_Description: Printer communication backends:
  CUPS uses backend programs for communication with printer device or port.
  .
  Unfortunately, some backend programs cause some trouble.
@@ -33,35 +33,33 @@
 Template: cupsys/ports
 Type: string
 Default: localhost:631
-_Description: Specify the port or/and host name that wants to be listened.
- Please specify the port or the host name CUPS daemon listens.
- You can use following formats.
+_Description: Port or/and host name where CUPS will listen to:
+ Please specify the port or the host name CUPS daemon will listen to.
+ The following formats are allowed:
+ .
+  - Port number (631);
+  - Host name   (debian.example.com);
+  - Host:Port   (debian.example.com:631).
  .
- - Port number (631)
- .
- - Host name   (debian.example.com)
- .
- - Host:Port   (debian.example.com:631)
- .
- It is possible to combine by delimiting two or more values in space.
+ You can combine any of these by delimiting in a space-separated list.
  .
  The default port 631 is reserved for the Internet Printing Protocol (IPP).
- "localhost:631" is recommended to the standalone environment by security
- reason.
+ "localhost:631" is recommended to setup a standalone environment for security
+ reasons.
 
 Template: cupsys/browse
 Type: boolean
 Default: true
-_Description: Do you want to broadcast and/or listen for CUPS printer information on the network?
+_Description: Broadcast and/or listen for CUPS printer information on the network?
  CUPS daemon can broadcast printer information for clients on the network,
  and detect printers on the network automatically.
  .
- When this option is accepted, CUPS daemon will broadcast and detect by
- using UDP periodically.
+ If you choose this option, the CUPS daemon will periodically send UDP
+ broadcasts to detect printers.
 
 Template: cupsys/portserror
 Type: note
-_Description: The wrong value is found in the input.
- The error occurred while parsing the port number or the host name.
+_Description: Incorrect value entered
+ an error occurred while parsing the port number or the host name.
  .
- Please correct it.
+ Please correct your input.


More information about the Pkg-cups-devel mailing list