Package: aptconf
Severity: minor
Tags: patch

Hi,

There are various problems with your debconf templates, mainly badly
formatted prompt.
The other issues are:

>-Description: List of current IDs - do not display.
>+Description: for internal use

needed to avoid lintian checks for internal templates


>-_Choices: ${choices}, Add Custom, Add CD, Done  
>+#flag:translate:2-4
>+__Choices: ${choices}, Add Custom, Add CD, Done

${choices} should not be marked as translatable.

A full patch is attached.

Cheers,


-- 
Thomas Huriaux
--- templates.orig      2006-07-13 11:41:31.000000000 +0200
+++ templates   2006-07-13 11:45:24.000000000 +0200
@@ -1,17 +1,17 @@
 Template: aptconf/idlist
 Type: string
-Description: List of current IDs - do not display.
+Description: for internal use
 
 Template: aptconf/baseurl
 Type: string
-_Description: What is the base URL for the package repository?
+_Description: Base URL for the package repository:
  Software repositories have a base URL which describes where the repository
  is stored.  If the repository has mirror locations, this URL can change to
  point to a different mirror.
 
 Template: aptconf/suite
 Type: string
-_Description: What is the suite or directory name for the package repository?
+_Description: Suite or directory name for the package repository:
  A site can provide multiple software repositories at the same base URL.
  Simple repositories usually confine all their files to one directory,
  while more sophisticated repositories can have components to distinguish
@@ -24,7 +24,7 @@
 
 Template: aptconf/components
 Type: string
-_Description: What are the components in this package repository?
+_Description: Components in this package repository:
  A complex repository can contain multiple components, such as Debian's
  "main", "contrib", and "non-free" components.  Enter the names of the
  components here, separated by spaces.  Leave off components if you don't
@@ -34,7 +34,7 @@
 Type: select
 _Choices: source, binary, both
 Default: binary
-_Description: What types of packages are available in this package repository?
+_Description: Available types of packages in this package repository:
  Repositories may contain binary packages, source packages, or both. Choose
  the type of packages that are available here.  If you don't care about
  source packages, you may select "binary" to ignore them if the repository
@@ -42,22 +42,23 @@
 
 Template: aptconf/description
 Type: string
-_Description: Enter a description for this repository.
+_Description: Description for this repository:
  Enter a short text description of this repository.  This is how aptconf
  will describe this repository in its menus.
 
 Template: aptconf/disabled
 Type: boolean
 Default: false
-_Description: Should this repository be disabled?
+_Description: Disable this repository?
  If the repository is enabled, software can be downloaded from it.  If it
  is disabled, software will not be downloaded from it.
 
 Template: aptconf/mainmenu
 Type: select
-_Choices: ${choices}, Add Custom, Add CD, Done
+#flag:translate:2-4
+__Choices: ${choices}, Add Custom, Add CD, Done
 Default: Done
-_Description: Choose a software repository to change.
+_Description: Software repository to change:
  The software repositories listed are available.  Choose one to change its
  status or settings, or choose "Add Custom" to add a custom repository or
  "Add CD" to add a new CD-ROM.
@@ -65,13 +66,13 @@
 Template: aptconf/action_menu
 Type: select
 Choices: ${choices}
-_Description: Choose an action for "${repository}".
+_Description: Action for "${repository}":
  You may make the following changes to this repository.
 
 Template: aptconf/mirror_country
 Type: select
 Choices: ${choices}
-_Description: Choose a host country for close mirrors of this repository.
+_Description: Host country for close mirrors of this repository:
  This repository has several copies, or "mirrors", available for users in
  several different countries.  Choose your country, or one that is close to
  you.
@@ -79,21 +80,21 @@
 Template: aptconf/mirror
 Type: select
 Choices: ${choices}
-_Description: Choose a mirror for this repository.
+_Description: Mirror for this repository:
  The following mirrors (or alternate download sites for this repository)
  are available.  Choose the one that is closest to you.
 
 Template: aptconf/components_menu
 Type: multiselect
 Choices: ${choices}
-_Description: Choose the components you wish to use.
+_Description: Components to use:
  This repository contains the following components.  You can choose which
  ones you want to enable.
 
 Template: aptconf/enable_source
 Type: boolean
 Default: false
-_Description: Do you want to enable source downloads for this repository?
+_Description: Enable source downloads for this repository?
  This repository contains source code for the packages it provides. Apt can
  download this source code for you if you want (for example, with "apt-get
  source").  It does require that an extra index be downloaded from the

Attachment: signature.asc
Description: Digital signature

Reply via email to