[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#752045: [RFR] templates://dictionaries-common/{dictionaries-common.templates}



Christian PERRIER wrote:
> Template: dictionaries-common/debconf_database_corruption
> Type: error
> #flag:translate!:3
> Description: Possible debconf database corruption

This is a case where we probably do need to let debconf talk about
debconf, but I can't believe we need to go this far into the
implementation details.

>  The configuration question for "${question}" is empty but some
>  elements are installed for the "${class}" class:

What does it mean for a question to be empty?  And what on earth is
all this about elements and classes?  Is this perhaps saying:

   There is no answer on file for the configuration question
   "${question}", but some elements are installed for the "${class}"
   package class:

(And "${class}" is either "wordlist" or "spelling dictionary", the
difference being that spelling dictionaries are annotated to
distinguish inflectional affixes?)

>  .
>   Choices_dictcom: "${installed_elements}"
>   Choices_debconf: "${choices_value}"
>   Owners/error: "${shared_owners}"

What do these list item names mean?  The terms are meaningless to
users (you can't expect them to be familiar with the abbreviation
"dictcom") and not detectably used elsewhere in the package.

The introductory text had me expecting this to be a three-item list of
installed "elements", whatever those are exactly, but apparently the
first list item contains that.  So what are the second and third list
items?  Why is there a value for "Choices_debconf" if the debconf
question is "empty"?  And what on earth is an "owners/error"?

This needs a complete rewrite, using human-readable (and translatable)
labels; my guess is

   .
    Installed elements: "${installed_elements}"
    Debconf setting: "${choices_value}"
    Involved packages: "${shared_owners}"

>  .
>  This can be related to a corruption of the "debconf" database.
>  See "/usr/share/doc/dictionaries-common/README.problems", section
>  "Debconf database corruption".

Slightly wobbly English.

   This may be due to corruption in the debconf database. See
   "/usr/share/doc/dictionaries-common/README.problems" on "Debconf
   database corruption".

>  .
>  In this case, running "/usr/share/debconf/fix_db.pl" can help to put
>  the debconf database in a consistent state.

Given that they probably shouldn't run fix_db.pl as root without first
reading the README, why not just let the README tell them about that
solution?  Perhaps (not in my patch) it should be:

   database corruption" and what to do about it.

Meanwhile, what happened to the alternative diagnoses that used to be
mentioned in dictionaries-common/invalid_debconf_value ("This can also
be caused by problems during installation of packages [...] This error
message can also appear during ispell dictionary or wordlist
renaming")?

>  .
>  Some questions are likely to be asked after this message in order to
>  try leaving the dictionaries system in a (provisionally) working state.

"Try leaving" doesn't quite work, so tweak it to match the version
elsewhere:

   Some questions are likely to be asked after this message in order to
   leave the dictionaries system in a (provisionally) working state.

> Template: dictionaries-common/invalid_debconf_value
> Type: error
> # TRANLATORS : DO NOT TRANSLATE variable names such as
    TRANSLATORS:
> # ${value}
> _Description: Invalid configuration setting for ${value}
>  An invalid value has been found for a configuration setting for
>  dictionaries-common. "${value}" does not correspond to any installed package
>  in the system.

I wish somebody would translate "$value" for me.  What *kind* of value
is this variable going to expand to?  Is it something like "wfrench"
(where the error is that no French dictionary package is installed)?
If so, the Description line isn't going to make sense - it needs to be
either

  _Description: Invalid configuration value "${value}"

or something like

  _Description: Invalid configuration setting for default dictionary

>  .
>  That is usually caused by problems at some time during packages
>  installation, where the package providing "${value}" was selected for
>  installation but finally not installed because of errors in other
>  packages.

   This is usually caused by previous problems during package
   installation, [...]

>  .
>  To fix this error, reinstall (or install) the package that provides
>  the invalid value. Then, if you don't want this package on
>  your system, remove it, which will also remove its configuration
>  settings in the "debconf" database. A choices menu
>  will be shown after this message in order to leave the system in a
>  working state until you fix the problem.

I think we should use the value of "${value}" instead of the rotten
variable-name that users don't know about.  Alternatively you could
say "the invalid default dictionary setting", but then the user still
needs to puzzle out what it means for a package to provide that; it's
much easier to guess what package provides wfrench!

Also, there's no need in this case to explicitly mention debconf.

   To fix this error, reinstall (or install) the package that provides
   "${value}". Then, if you don't want that package on this system,
   remove it, which will also delete this configuration setting. A menu
   of choices will be shown after this message in order to leave the
   system in a working state until you fix the problem.

>  .
>  This error message can also appear during ispell dictionary or wordlist
>  renaming (e.g., wenglish -> wamerican). In this case it is harmless and
>  everything will be fixed after you select your default in the menu(s)
>  shown after this message.
> 
> Template: dictionaries-common/default-ispell
> Type: select
> Choices-C: ${choices}, Manual symlink setting
> __Choices: ${echoices}, Manual symlink setting
               
I gather this isn't a typo, and that e-choices are connected to
e-languages, whatever those are...

[...]
> Template: dictionaries-common/move_old_usr_dict
> Type: boolean
> Default: true
> _Description: Move non-FHS stuff under /usr/dict to /usr/dict-pre-FHS?

"Non-FHS" should be "Non-FHS-compliant", which is getting too long
(even before we explain what "FHS" stands for); there's really no need
for any more than:

  _Description: Move files under /usr/dict to /usr/dict-pre-FHS?

>  Some files (instead of symbolic links) have been found in
>  /usr/dict. According to the FHS, such files should be placed in
>  /usr/share/dict. Everything under /usr/dict can be moved to /usr/dict-pre-FHS
>  and a symbolic link named /usr/dict can be created, pointing to
>  /usr/share/dict.

I don't understand this.
 * Why move things to /usr/dict-pre-FHS when you've just finished
	explaining that they ought to be in /usr/share/dict?
 * If the stuff being moved out of /usr/dict is some sort of custom
	wordlist setup outside the Debian packaging system, shouldn't
	it go to /usr/local/share/dict or something?
 * Why is this template creating the same symlink that
	dictionaries-common/remove_old_usr_dict_link deletes?

Also, it sounds as if it's suggesting that the admin is at liberty to
consider the option of doing this at a later date, while in fact this
is what will automatically happen now unless the admin intervenes to
override the defaults.

   Some files (instead of symbolic links) have been found in "/usr/dict",
   a location deprecated by the Filesystem Hierarchy Standard (FHS) in
   favor of "/usr/share/dict".
   .
   If you accept this option, everything under "/usr/dict" will be moved
   to "/usr/dict-pre-FHS", and a symbolic link named "/usr/dict" will be
   created pointing to "/usr/share/dict".

>  .
>  Although no current package uses that obsolete /usr/dict location,
>  not having that symlink may break some of your old applications that used
>  it, so you are encouraged to let the files be moved and the link be set up.

It's not a problem if old apps used it and then stopped using it...

   Although no current package uses the obsolete /usr/dict location, not
   having the symlink may break legacy software, so you are encouraged to
   allow this change.

> Template: dictionaries-common/old_wordlist_link
> Type: boolean
> Default: true
> _Description: Remove obsolete /etc/dictionary link?
>  There is a /etc/dictionary link on the system. This is obsolete and no
>  longer means anything. This link should be removed.

   This system has an obsolete symlink "/etc/dictionary". This is no
   longer meaningful, and should be removed.
 
>  .
>  You will be asked to explicitly select the default wordlist during
>  installation of wordlist packages. You can change your selection at any
>  time by running "select-default-wordlist".
> 
> Template: dictionaries-common/ispell-autobuildhash-message
> Type: note

Surely reporting an error is a job for "Type: error"?

> #flag:translate!:3
> _Description: Problems rebuilding an ${xxpell} hash file (${hashfile})

"xxpell" looks even more like a typo than echo-ices, but apparently
that's the variable name the scripts expect...

>  The following error happened:
>  .
>  ${errormsg}
>  .
>  This error was caused by a package providing "${hashfile}", although it
>  can be made evident during other package postinst. Please report
>  a bug against the package providing "${hashfile}".

Users shouldn't need to know about {pre,post}{inst,rm} scripts.

   This error was caused by a package providing "${hashfile}", although it
   may be triggered by another package's installation. Please submit a bug
   for the package providing "${hashfile}".

>  Until this problem is fixed you will not be able to use ${xxpell}
>  with "${hashfile}".
> 
> Template: dictionaries-common/remove_old_usr_dict_link
> Type: boolean
> Default: true
> _Description: Remove obsolete /usr/dict symlink?
>  A /usr/dict symbolic link has been found. It does not comply with the
>  Filesystem Hierarchy Standard (FHS). Since it is obsolete,
>  no package currently uses that location and no programs
>  should rely on it. Therefore, you are strongly suggested to accept
>  its removal.

This one has no reason to introduce the abbreviation "FHS".

  This system has an obsolete symlink "/usr/dict", which is not compliant
  with the Filesystem Hierarchy Standard. No packages currently use that
  location, and none of your programs should rely on it, so it should be
  removed.
 
> Template: dictionaries-common/selecting_ispell_wordlist_default

Looks okay.

Meanwhile in the control file:

> Package: dictionaries-common
[...]
> Description: Common utilities for spelling dictionary tools
>  These are utilities shared by all ispell, myspell and wordlist
>  dictionaries, including support for some tools that use them
>  (like emacsen, jed and mutt) and some patched spell-checking
>  lisp files for better system integration.

This has some trivial "house style compliance" bugs, mostly in
capitalisation.  It's also just a bit hard to follow.

 * It's far from obvious that "wordlist dictionaries" are a different
	thing from Ispell/Aspell/MySpell/etc dictionaries.  (It's also
	a bit odd that the synopsis only cares about spellcheckers;
	I've got a variety of wordlists installed, and never use any of
	them for spellchecking.  But I suppose I'm an outlier.)
 * Is the bit that mentions Mutt etc. talking about tools that use
	dictionaries or ones that use the utilities?  It must be the
	former, since otherwise it would be strange to say that it
	supports them.
 * Does it include the Lisp files or does it just provide support for
	them?  Presumably the former.

I would suggest:

  Description: spelling dictionaries - common utilities
   This package provides utilities shared between all wordlists and spelling
   dictionaries for Ispell, Aspell, or MySpell/Hunspell. It also includes
   support infrastructure for software using them (such as JED and Mutt),
   and some patched spell-checking Lisp files for better Emacs integration.

>  More info about naming conventions and availability of those
>  dictionaries in the README.Debian file.

This is trying to be a separate paragraph, but doesn't even manage to
form a sentence.

   .
   More information about the availability of these dictionaries and their
   naming conventions is available in the README.Debian file.

> Package: dictionaries-common-dev
[...]
> Description: Developer tools and Policy for spelling dictionary tools
>  Full text of the Debian Spelling Dictionaries and Tools Policy and
>  some debhelper like helpers.
>  .
>  Only of interest for developers maintaining wordlists or dictionaries
>  for ispell, aspell or myspell/hunspell.

  Description: spelling dictionaries - developer files
   This package provides the full text of the Debian Spelling Dictionaries
   and Tools Policy, and some debhelper-like helpers.
   .
   It is only of interest for developers maintaining wordlists or
   dictionaries for Ispell, Aspell, or MySpell/Hunspell.
 
-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package
Source: dictionaries-common
Section: text
Priority: optional
Maintainer: Agustin Martin Domingo <agmartin@debian.org>
Uploaders: Rene Engelhard <rene@debian.org>
Build-Depends-Indep: docbook-xml,
 docbook-dsssl,
 jade,
 w3m,
 slice,
 autoconf,
 recode
Build-Depends: debhelper (>= 7),
 quilt (>= 0.40)
Homepage: http://dict-common.alioth.debian.org
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=dict-common/dictionaries-common.git;a=summary
Vcs-Git: git://anonscm.debian.org/dict-common/dictionaries-common.git
Standards-Version: 3.9.5

Package: dictionaries-common
Architecture: all
Depends: ${perl:Depends},
 ${misc:Depends},
 debconf (>= 1.5.5) | debconf-2.0,
 libtext-iconv-perl,
 emacsen-common (>= 2.0.8)
Breaks: hunspell-ar (<= 0.0.0+20080110-1.1),
 hunspell-da    (<= 1:3.1.0),
 hunspell-de-at (<= 20100727-1),
 hunspell-de-ch (<= 20100727-1),
 hunspell-de-de (<= 20100727-1),
 hunspell-en-us (<= 20070829-4ubuntu2),
 hunspell-eu-es (<= 0.4.20081029-4),
 hunspell-gl-es (<= 2.2a-8),
 hunspell-kk (<= 1.1-1),
 hunspell-ko (<= 0.5.3-1),
 hunspell-se (<= 1.0~beta6.20081222-1.1),
 hunspell-uz (<= 0.6-3.1),
 hyphen-en-us (<< 2.8.3-1),
 myspell-bg (<= 3.0-12),
 myspell-ca (<= 0.6-10),
 myspell-cs (<= 20040229-5),
 myspell-cs-cz (<= 20040229-5),
 myspell-da (<= 1.6.25-1),
 myspell-de-at (<= 20100727-1),
 myspell-de-ch (<= 20100727-1),
 myspell-de-de (<= 20100727-1),
 myspell-de-de-oldspell (<= 1:2-27),
 myspell-el-gr (<= 0.8-1),
 myspell-en-au (<= 2.1-5),
 myspell-eo (<= 2.1.2000.02.25-42),
 myspell-es (<= 1.11-1),
 myspell-et (<= 1:20030606-12.1),
 myspell-eu-es (<= 0.4.20081029-4),
 myspell-fa (<= 0.20070816-2),
 myspell-fi (<= 0.7-17.3),
 myspell-fo (<= 0.2.44-2),
 myspell-fr (<= 1.4-25),
 myspell-fr-gut (<= 1:1.0-28),
 myspell-ga (<= 2.0-20),
 myspell-gd (<= 0.50-7),
 myspell-gl-es (<= 2.2a-8),
 myspell-gv (<= 0.50-9),
 myspell-he (<= 1.1-1),
 myspell-hr (<= 20060617-2),
 myspell-hu (<= 0.99.4-2),
 myspell-hy (<= 0.20.0-1),
 myspell-ku (<= 0.20.0-1.1),
 myspell-lv (<= 0.9.3-2),
 myspell-nb (<= 2.0.10-3.2),
 myspell-nl (<= 1:2.0-1),
 myspell-nn (<= 2.0.10-3.2),
 myspell-nr (<< 20070206-4ubuntu1),
 myspell-ns (<< 20070206-4ubuntu1),
 myspell-pl (<= 20100612-1),
 myspell-pt-br (<= 20101030-1),
 myspell-pt-pt (<= 20091013-2),
 myspell-ru (<= 0.99g5-8.1),
 myspell-sk (<= 0.5.5a-2.1fakesync1),
 myspell-sl (<< 1.0-3ubuntu1),
 myspell-sv-se (<= 1.3.8-6-2.2),
 myspell-ss (<< 20070206-4ubuntu1),
 myspell-uk (<= 1.6.0-1),
 myspell-tn (<< 20070206-4ubuntu1),
 myspell-ts (<< 20070207-4ubuntu1),
 myspell-ve (<< 20070206-3ubuntu1),
 myspell-xh (<< 20070206-4ubuntu1),
 myspell-zu (<< 20070207-5ubuntu1),
 mythes-it (<= 2.0.7.gh.deb1-3),
 openoffice.org-thesaurus-it (<< 2.0.7.gh.deb1-1.1ubuntu3)
Provides: openoffice.org-updatedicts
Replaces: openoffice.org-updatedicts
Suggests: ispell | aspell | hunspell,
	  wordlist
Description: spelling dictionaries - common utilities
 This package provides utilities shared between all wordlists and spelling
 dictionaries for Ispell, Aspell, or MySpell/Hunspell. It also includes
 support infrastructure for software using them (such as JED and Mutt),
 and some patched spell-checking Lisp files for better Emacs integration.
 .
 More information about the availability of these dictionaries and their
 naming conventions is available in the README.Debian file.

Package: dictionaries-common-dev
Priority: extra
Section: devel
Architecture: all
Depends: ${misc:Depends},
 debhelper (>= 4.1.13),
 dictionaries-common (>= 1.22.3)
Description: spelling dictionaries - developer files
 This package provides the full text of the Debian Spelling Dictionaries
 and Tools Policy, and some debhelper-like helpers.
 .
 It is only of interest for developers maintaining wordlists or
 dictionaries for Ispell, Aspell, or MySpell/Hunspell.
Template: dictionaries-common/debconf_database_corruption
Type: note
Description: Possible debconf database corruption
 There is no answer on file for the configuration question
 "${question}", but some elements are installed for the "${class}"
 package class:
 .
  Installed elements: "${installed_elements}"
  Debconf setting: "${choices_value}"
  Involved packages: "${shared_owners}"
 .
 This may be due to corruption in the debconf database. See
 "/usr/share/doc/dictionaries-common/README.problems" on "Debconf
 database corruption".
 .
 In this case, running "/usr/share/debconf/fix_db.pl" can help to put
 the debconf database in a consistent state.
 .
 Some questions are likely to be asked after this message in order to
 leave the dictionaries system in a (provisionally) working state.

Template: dictionaries-common/invalid_debconf_value
Type: error
# TRANSLATORS: DO NOT TRANSLATE variable names such as ${value}
_Description: Invalid configuration value for default dictionary
 An invalid value has been found for a configuration setting for
 dictionaries-common. "${value}" does not correspond to any installed package
 on the system.
 .
 This is usually caused by previous problems during package
 installation, where the package providing "${value}" was selected for
 installation but finally not installed because of errors in other
 packages.
 .
 To fix this error, reinstall (or install) the package that provides
 "${value}".  Then, if you don't want that package on this system,
 remove it, which will also delete this configuration setting. A menu
 of choices will be shown after this message in order to leave the
 system in a working state until you fix the problem.
 .
 This error message can also appear during ispell dictionary or wordlist
 renaming (e.g., wenglish-> wamerican). In this case it is harmless and
 everything will be fixed after you select your default in the menu(s)
 shown after this message.

Template: dictionaries-common/default-ispell
Type: select
Choices-C: ${choices}, Manual symlink setting
__Choices: ${echoices}, Manual symlink setting
_Description: System default ispell dictionary:
 Please indicate which dictionary ispell should use as system-wide
 default when no other spell-checking dictionary is specified.
 .
 This sets up the /usr/lib/ispell/default.aff and
 /usr/lib/ispell/default.hash symlinks, as well as ispell's global
 ispell-wrapper and Emacs defaults.
 .
 Use "Manual symlink setting" if you want to handle the symlinks
 yourself. In this case ispell will have no global ispell-wrapper or
 Emacs defaults.
 .
 The default ispell dictionary can be changed at any time by running
 "select-default-ispell".

Template: dictionaries-common/default-wordlist
Type: select
Choices-C: ${choices}, Manual symlink setting
__Choices: ${echoices}, Manual symlink setting
_Description: System default wordlist:
 Please indicate which wordlist the "/usr/share/dict/words" symlink
 should point to. This will provide a simple list of dictionary words
 for basic spell-checking and word searches. Use "Manual symlink
 setting" if you want to handle this symlink yourself.
 .
 The default wordlist can be changed at any time by running
 "select-default-wordlist".

Template: dictionaries-common/move_old_usr_dict
Type: boolean
Default: true
_Description: Move non-FHS stuff under /usr/dict to /usr/dict-pre-FHS?
 Some files (instead of symbolic links) have been found in "/usr/dict",
 a location deprecated by the Filesystem Hierarchy Standard (FHS) in
 favor of "/usr/share/dict".
 .
 If you accept this option, everything under "/usr/dict" will be moved
 to "/usr/dict-pre-FHS", and a symbolic link named "/usr/dict" will be
 created pointing to "/usr/share/dict".
 .
 Although no current package uses the obsolete /usr/dict location, not
 having the symlink may break legacy software, so you are encouraged to
 allow this change.

Template: dictionaries-common/old_wordlist_link
Type: boolean
Default: true
_Description: Remove obsolete /etc/dictionary link?
 This system has an obsolete symlink "/etc/dictionary". This is no
 longer meaningful, and should be removed.
 .
 You will be asked to explicitly select the default wordlist during
 installation of wordlist packages. You can change your selection at any
 time by running 'select-default-wordlist'.

Template: dictionaries-common/ispell-autobuildhash-message
Type: note
#flag:translate!:3
_Description: Problems rebuilding an ${xxpell} hash file (${hashfile})
 The following error happened:
 .
 ${errormsg}
 .
 This error was caused by a package providing '${hashfile}', although it
 may be triggered by another package's installation. Please submit a bug
 for the package providing "${hashfile}".
 .
 Until this problem is fixed you will not be able to use ${xxpell}
 with '${hashfile}'.

Template: dictionaries-common/remove_old_usr_dict_link
Type: boolean
Default: true
_Description: Remove obsolete /usr/dict symlink?
 This system has an obsolete symlink "/usr/dict", which is not compliant
 with the Filesystem Hierarchy Standard. No packages currently use that
 location, and none of your programs should rely on it, so it should be
 removed.

Template: dictionaries-common/selecting_ispell_wordlist_default
Type: note
_Description: Default values for ispell dictionary/wordlist are not set
 Running "dpkg-reconfigure dictionaries-common" will not set the default
 values for ispell dictionary/wordlist. Running "dpkg-reconfigure ispell"
 will not set the default ispell dictionary.
 .
 You should instead use the "select-default-ispell" or
 "select-default-wordlist" commands for that purpose.
diff -ru dictionaries-common-1.23.8.pristine/debian/control dictionaries-common-1.23.8/debian/control
--- dictionaries-common-1.23.8.pristine/debian/control	2014-06-20 10:05:49.000000000 +0100
+++ dictionaries-common-1.23.8/debian/control	2014-07-06 11:21:40.521652080 +0100
@@ -92,13 +92,14 @@
 Replaces: openoffice.org-updatedicts
 Suggests: ispell | aspell | hunspell,
 	  wordlist
-Description: Common utilities for spelling dictionary tools
- These are utilities shared by all ispell, myspell and wordlist
- dictionaries, including support for some tools that use them
- (like emacsen, jed and mutt) and some patched spell-checking
- lisp files for better system integration.
- More info about naming conventions and availability of those
- dictionaries in the README.Debian file.
+Description: spelling dictionaries - common utilities
+ This package provides utilities shared between all wordlists and spelling
+ dictionaries for Ispell, Aspell, or MySpell/Hunspell. It also includes
+ support infrastructure for software using them (such as JED and Mutt),
+ and some patched spell-checking Lisp files for better Emacs integration.
+ .
+ More information about the availability of these dictionaries and their
+ naming conventions is available in the README.Debian file.
 
 Package: dictionaries-common-dev
 Priority: extra
@@ -107,9 +108,9 @@
 Depends: ${misc:Depends},
  debhelper (>= 4.1.13),
  dictionaries-common (>= 1.22.3)
-Description: Developer tools and Policy for spelling dictionary tools
- Full text of the Debian Spelling Dictionaries and Tools Policy and
- some debhelper like helpers.
+Description: spelling dictionaries - developer files
+ This package provides the full text of the Debian Spelling Dictionaries
+ and Tools Policy, and some debhelper-like helpers.
  .
- Only of interest for developers maintaining wordlists or dictionaries
- for ispell, aspell or myspell/hunspell.
+ It is only of interest for developers maintaining wordlists or
+ dictionaries for Ispell, Aspell, or MySpell/Hunspell.
diff -ru dictionaries-common-1.23.8.pristine/debian/dictionaries-common.templates dictionaries-common-1.23.8/debian/dictionaries-common.templates
--- dictionaries-common-1.23.8.pristine/debian/dictionaries-common.templates	2014-06-20 12:28:35.000000000 +0100
+++ dictionaries-common-1.23.8/debian/dictionaries-common.templates	2014-07-06 12:14:44.882649112 +0100
@@ -1,38 +1,42 @@
 Template: dictionaries-common/debconf_database_corruption
 Type: note
 Description: Possible debconf database corruption
- Empty value for debconf question "${question}" but elements installed
- for class "${class}":
- .
-  Choices_dictcom: "${installed_elements}"
-  Choices_debconf: "${choices_value}"
-  Owners/error: "${shared_owners}"
- .
- This can be related to debconf database corruption.
- See "/usr/share/doc/dictionaries-common/README.problems", section
- "Debconf database corruption".
+ There is no answer on file for the configuration question
+ "${question}", but some elements are installed for the "${class}"
+ package class:
+ .
+  Installed elements: "${installed_elements}"
+  Debconf setting: "${choices_value}"
+  Involved packages: "${shared_owners}"
+ .
+ This may be due to corruption in the debconf database. See
+ "/usr/share/doc/dictionaries-common/README.problems" on "Debconf
+ database corruption".
  .
  In this case, running "/usr/share/debconf/fix_db.pl" can help to put
- debconf database in a consistent state.
+ the debconf database in a consistent state.
  .
- Question may be asked after this message to try leaving the
- dictionaries system in a (provisionally) working state.
+ Some questions are likely to be asked after this message in order to
+ leave the dictionaries system in a (provisionally) working state.
 
 Template: dictionaries-common/invalid_debconf_value
-Type: note
-_Description: An invalid debconf value [${value}] has been found
- It does not correspond to any installed package in the system.
+Type: error
+# TRANSLATORS: DO NOT TRANSLATE variable names such as ${value}
+_Description: Invalid configuration value for default dictionary
+ An invalid value has been found for a configuration setting for
+ dictionaries-common. "${value}" does not correspond to any installed package
+ on the system.
  .
- That is usually caused by problems at some time during packages
- installation, where the package providing [${value}] was selected for
+ This is usually caused by previous problems during package
+ installation, where the package providing "${value}" was selected for
  installation but finally not installed because of errors in other
  packages.
  .
  To fix this error, reinstall (or install) the package that provides
- the missing value.  Then, if you don't want this package on
- your system, remove it, which will also remove its debconf entries.
- Menu to be shown after this message will try to leave the system in a
- working state until then.
+ "${value}".  Then, if you don't want that package on this system,
+ remove it, which will also delete this configuration setting. A menu
+ of choices will be shown after this message in order to leave the
+ system in a working state until you fix the problem.
  .
  This error message can also appear during ispell dictionary or wordlist
  renaming (e.g., wenglish-> wamerican). In this case it is harmless and
@@ -75,35 +79,40 @@
 Type: boolean
 Default: true
 _Description: Move non-FHS stuff under /usr/dict to /usr/dict-pre-FHS?
- Some stuff under /usr/dict that is not a symlink to /usr/share/dict has
- been detected in your system. /usr/share/dict is now the FHS location for
- those files. Everything under /usr/dict can be moved to /usr/dict-pre-FHS
- and a symlink /usr/dict -> /usr/share/dict set.
- .
- Although no current Debian package uses that obsolete /usr/dict location,
- not having that symlink may break some of your old applications that used
- it, so you are encouraged to let the files be moved and the link be set up.
+ Some files (instead of symbolic links) have been found in "/usr/dict",
+ a location deprecated by the Filesystem Hierarchy Standard (FHS) in
+ favor of "/usr/share/dict".
+ .
+ If you accept this option, everything under "/usr/dict" will be moved
+ to "/usr/dict-pre-FHS", and a symbolic link named "/usr/dict" will be
+ created pointing to "/usr/share/dict".
+ .
+ Although no current package uses the obsolete /usr/dict location, not
+ having the symlink may break legacy software, so you are encouraged to
+ allow this change.
 
 Template: dictionaries-common/old_wordlist_link
 Type: boolean
 Default: true
 _Description: Remove obsolete /etc/dictionary link?
- There is a /etc/dictionary link in your system. This is obsolete and no
- longer means anything. You are strongly suggested to allow removal of that
- link.
+ This system has an obsolete symlink "/etc/dictionary". This is no
+ longer meaningful, and should be removed.
  .
- You will be called to explicitly select the default wordlist during
+ You will be asked to explicitly select the default wordlist during
  installation of wordlist packages. You can change your selection at any
  time by running 'select-default-wordlist'.
 
 Template: dictionaries-common/ispell-autobuildhash-message
 Type: note
+#flag:translate!:3
 _Description: Problems rebuilding an ${xxpell} hash file (${hashfile})
- ** Error: ${errormsg}
+ The following error happened:
  .
- This error was caused by package providing '${hashfile}', although it
- can be made evident during other package postinst. Please complain
- to the maintainer of package providing '${hashfile}'.
+ ${errormsg}
+ .
+ This error was caused by a package providing '${hashfile}', although it
+ may be triggered by another package's installation. Please submit a bug
+ for the package providing "${hashfile}".
  .
  Until this problem is fixed you will not be able to use ${xxpell}
  with '${hashfile}'.
@@ -112,20 +121,17 @@
 Type: boolean
 Default: true
 _Description: Remove obsolete /usr/dict symlink?
- A non FHS /usr/dict symlink has been found. Since it is obsolete,
- no Debian package currently uses that location and none of your programs
- should rely on it, so you are strongly suggested to accept its removal.
- .
- If for whatever reason you need that symlink, recreate it again, but you
- are suggested to better fix your old programs to use the current
- /usr/share/dict location.
+ This system has an obsolete symlink "/usr/dict", which is not compliant
+ with the Filesystem Hierarchy Standard. No packages currently use that
+ location, and none of your programs should rely on it, so it should be
+ removed.
 
 Template: dictionaries-common/selecting_ispell_wordlist_default
 Type: note
-_Description: Default values for ispell dictionary/wordlist are not set here
- Running 'dpkg-reconfigure dictionaries-common' will not set the default
- values for ispell dictionary/wordlist. Running 'dpkg-reconfigure ispell'
+_Description: Default values for ispell dictionary/wordlist are not set
+ Running "dpkg-reconfigure dictionaries-common" will not set the default
+ values for ispell dictionary/wordlist. Running "dpkg-reconfigure ispell"
  will not set the default ispell dictionary.
  .
- Use instead 'select-default-ispell' or 'select-default-wordlist' scripts.
-
+ You should instead use the "select-default-ispell" or
+ "select-default-wordlist" commands for that purpose.

Reply to: