[Bug 546250] Re: Confirmation dialog not localized

Daniel Hartwig mandyke at gmail.com
Sat Dec 22 01:41:30 UTC 2012


joseangelmadrid <joseangelmadrid at gmail.com> wrote:
> This bug could be true. When I try to answer to the closing dialog
> "¿Desea salir de Aptitude? (Sí/No)", it only exits if I press "Y" not
> "S"

Your issue is not the same as that reported here, please file a new
report and be sure to specify which version of aptitude and
libcwidget3 you are using.

See also <http://bugs.debian.org/559738>.

On 21 December 2012 23:59, Axel Beckert <abe at deuxchevaux.org> wrote:
> Then on the other hand, the following enforced prompt does ask for Y or
> N instead of J or N in German:

> Möchten Sie fortsetzen? [Y/n/?]

Those command line prompts can not be localized without significant
design effort as they take multiple commands.  Localizing [yn] is
simple with nl_langinfo(3), but there is not yet a general system in
aptitude to accept localized responses to all commands at this prompt
in a way that does not conflict between commands and understands
input-methods and a sensible ASCII fallback for each locale.

**

The original report here is not explicit about which prompt it
concerns, although it is clearly about the command line interface:
> The confirmation dialog in spanish '[S/n]'

“[S/n]” is text that only appeared in yes-no prompts with old versions
of the command line interface.

> also confirms with 'Y'.

Indicating that the localized input for 'S' also works.  At the time
the bug was filed, the curses interface did not accept localized input
at it's yes-no prompts, yet the command line interface did.

With both of these observations, the original report here clearly
refers to vanilla yes-no prompts with the command line interface.
With the original complaint:

> If the
> dialog and the options are localized, then it follows that 'y' should
> be an invalid confirmation character.

At the time this bug was filed some prompts only were localized on the
command line.  However, the bug report is invalid.  Aptitude will not
be deviating from the standard practice established by
nl_langinfo(YESEXPR), which is to accept both localized and
non-localized ASCII (i.e. C-locale) responses to prompts.

 status invalid

Since this report was filed, those few localized prompts have been
unlocalized to make them consistent with the other  prompts on the
command line.  Until those other prompts are localized (see my
previous remarks about the issues) there will be no localized prompts
in aptitude command line interface.


** Bug watch added: Debian Bug tracker #559738
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559738

** Changed in: aptitude (Ubuntu)
       Status: New => Invalid

** Bug watch added: Debian Bug tracker #475802
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475802

** Bug watch added: Debian Bug tracker #361829
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361829

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/546250

Title:
  Confirmation dialog not localized

Status in “aptitude” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: aptitude

  The confirmation dialog in spanish '[S/n]' also confirms with 'Y'. If
  the dialog and the options are localized, then it follows that 'y'
  should be an invalid confirmation character.

  ProblemType: Bug
  Architecture: i386
  Date: Wed Mar 24 15:22:29 2010
  DistroRelease: Ubuntu 9.10
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
  Package: aptitude 0.4.11.11-1ubuntu6
  ProcEnviron:
   LANG=es_AR.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
  SourcePackage: aptitude
  Uname: Linux 2.6.31-20-generic i686
  XsessionErrors:
   (gnome-settings-daemon:1555): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
   (nautilus:1588): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
   (polkit-gnome-authentication-agent-1:1601): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
   (gnome-panel:1585): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 24
   (nautilus:1860): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/546250/+subscriptions




More information about the foundations-bugs mailing list