Debian Bug report logs - #489041
Strange behavior in using a spanish environment

version graph

Package: adduser; Maintainer for adduser is Debian Adduser Developers <adduser@packages.debian.org>; Source for adduser is src:adduser (PTS, buildd, popcon).

Reported by: Ignacio Mondino <ignacio.mondino@gmail.com>

Date: Wed, 2 Jul 2008 23:18:01 UTC

Severity: minor

Tags: l10n

Found in version adduser/3.108

Fixed in version adduser/3.109

Done: Stephen Gran <sgran@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#489041; Package adduser. (full text, mbox, link).


Acknowledgement sent to Ignacio Mondino <ignacio.mondino@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ignacio Mondino <ignacio.mondino@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Strange behavior in using a spanish environment
Date: Wed, 02 Jul 2008 20:13:57 -0300
Package: adduser
Version: 3.108
Severity: minor
Tags: l10n

Seems like every time y add a user to a group, the program's output is
both in english and spanish. For example:

	Koala:/home/nacho# adduser nacho vboxusers
	Adding user `nacho' to group `vboxusers' ...
	Añadiendo al usuario nacho al grupo vboxusers
	Hecho.

And when I delete a user from a group, the output is in english but the 
last word in spanish. For example:

	Koala:/home/nacho# deluser nacho vboxusers
	Removing user `nacho' from group `vboxusers' ...
	Hecho.

TIA

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  passwd                        1:4.1.1-1  change and administer password and
ii  perl-base                     5.10.0-11  The Pathologically Eclectic Rubbis

adduser recommends no packages.

-- debconf information:
* adduser/homedir-permission: false




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#489041; Package adduser. (full text, mbox, link).


Acknowledgement sent to Joerg Hoh <joerg@joerghoh.de>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #10 received at 489041@bugs.debian.org (full text, mbox, reply):

From: Joerg Hoh <joerg@joerghoh.de>
To: Ignacio Mondino <ignacio.mondino@gmail.com>, 489041@bugs.debian.org
Cc: debian-l10n-spanish@lists.debian.org
Subject: Re: Bug#489041: Strange behavior in using a spanish environment
Date: Tue, 22 Jul 2008 23:31:31 +0200
[Message part 1 (text/plain, inline)]
(debian-l10n-spanish: Can you help out? I don't know gettext good enough to
debug this problem.)

Hi

On Wed, Jul 02, 2008 at 08:13:57PM -0300, Ignacio Mondino wrote:
> Package: adduser
> Version: 3.108
> Severity: minor
> Tags: l10n
> 
> Seems like every time y add a user to a group, the program's output is
> both in english and spanish. For example:
> 
> 	Koala:/home/nacho# adduser nacho vboxusers
> 	Adding user `nacho' to group `vboxusers' ...
> 	Añadiendo al usuario nacho al grupo vboxusers
> 	Hecho.

extract from the translation file es.po:

#: ../adduser:337 ../adduser:582
#, fuzzy, perl-format
msgid "Adding user `%s' to group `%s' ...\n"
msgstr "Añadiendo al usuario %s al grupo %s...\n"




> And when I delete a user from a group, the output is in english but the 
> last word in spanish. For example:
> 
> 	Koala:/home/nacho# deluser nacho vboxusers
> 	Removing user `nacho' from group `vboxusers' ...
> 	Hecho.

#: ../deluser:401
#, fuzzy, perl-format
msgid "Removing user `%s' from group `%s' ...\n"
msgstr "Sacando al usuario %s del grupo %s...\n"

It looks for me that the es.po file contains translated strings. I don't
know why gettext mixes up translated an un-translated text.


> TIA
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
> Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages adduser depends on:
> ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
> ii  passwd                        1:4.1.1-1  change and administer password and
> ii  perl-base                     5.10.0-11  The Pathologically Eclectic Rubbis
> 
> adduser recommends no packages.
> 
> -- debconf information:
> * adduser/homedir-permission: false


Jörg

-- 
What did you do to the cat? It looks half-dead. -Schroedinger's wife
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#489041; Package adduser. (full text, mbox, link).


Acknowledgement sent to "César Gómez Martín" <cesar.gomez@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #15 received at 489041@bugs.debian.org (full text, mbox, reply):

From: "César Gómez Martín" <cesar.gomez@gmail.com>
To: "Joerg Hoh" <joerg@joerghoh.de>
Cc: "Ignacio Mondino" <ignacio.mondino@gmail.com>, 489041@bugs.debian.org, debian-l10n-spanish@lists.debian.org
Subject: Re: Bug#489041: Strange behavior in using a spanish environment
Date: Wed, 23 Jul 2008 08:47:22 +0200
Hi Joerg,

It shouldn't work that way.

msgid is the original English sentence and msgstr is the translation.

The output message should depende on your local configuration.

Best regards,
César.

On Tue, Jul 22, 2008 at 11:31 PM, Joerg Hoh <joerg@joerghoh.de> wrote:
>
> (debian-l10n-spanish: Can you help out? I don't know gettext good enough to
> debug this problem.)
>
> Hi
>
> On Wed, Jul 02, 2008 at 08:13:57PM -0300, Ignacio Mondino wrote:
>> Package: adduser
>> Version: 3.108
>> Severity: minor
>> Tags: l10n
>>
>> Seems like every time y add a user to a group, the program's output is
>> both in english and spanish. For example:
>>
>>       Koala:/home/nacho# adduser nacho vboxusers
>>       Adding user `nacho' to group `vboxusers' ...
>>       Añadiendo al usuario nacho al grupo vboxusers
>>       Hecho.
>
> extract from the translation file es.po:
>
> #: ../adduser:337 ../adduser:582
> #, fuzzy, perl-format
> msgid "Adding user `%s' to group `%s' ...\n"
> msgstr "Añadiendo al usuario %s al grupo %s...\n"
>
>
>
>
>> And when I delete a user from a group, the output is in english but the
>> last word in spanish. For example:
>>
>>       Koala:/home/nacho# deluser nacho vboxusers
>>       Removing user `nacho' from group `vboxusers' ...
>>       Hecho.
>
> #: ../deluser:401
> #, fuzzy, perl-format
> msgid "Removing user `%s' from group `%s' ...\n"
> msgstr "Sacando al usuario %s del grupo %s...\n"
>
> It looks for me that the es.po file contains translated strings. I don't
> know why gettext mixes up translated an un-translated text.
>
>
>> TIA
>>
>> -- System Information:
>> Debian Release: lenny/sid
>>   APT prefers testing
>>   APT policy: (990, 'testing'), (500, 'unstable')
>> Architecture: amd64 (x86_64)
>>
>> Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
>> Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
>> Shell: /bin/sh linked to /bin/bash
>>
>> Versions of packages adduser depends on:
>> ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
>> ii  passwd                        1:4.1.1-1  change and administer password and
>> ii  perl-base                     5.10.0-11  The Pathologically Eclectic Rubbis
>>
>> adduser recommends no packages.
>>
>> -- debconf information:
>> * adduser/homedir-permission: false
>
>
> Jörg
>
> --
> What did you do to the cat? It looks half-dead. -Schroedinger's wife
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIhlGz6xdMID018FIRAgypAJ920hpFizobFzD/Vu0Sz2KexOMUYgCdGtcC
> 8YwyT/d8HJ86xBW4eIsQCQU=
> =SFre
> -----END PGP SIGNATURE-----
>
>

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#489041; Package adduser. (full text, mbox, link).


Acknowledgement sent to Stephen Gran <sgran@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #20 received at 489041@bugs.debian.org (full text, mbox, reply):

From: Stephen Gran <sgran@debian.org>
To: =?UTF-8?Q? C=C3=A9sar_?= Gómez =?UTF-8?Q?Mart=C3=ADn ?= <cesar.gomez@gmail.com>, 489041@bugs.debian.org
Cc: Joerg Hoh <joerg@joerghoh.de>, debian-l10n-spanish@lists.debian.org, Ignacio Mondino <ignacio.mondino@gmail.com>
Subject: Re: [Adduser-devel] Bug#489041: Strange behavior in using a spanish environment
Date: Wed, 23 Jul 2008 11:15:58 +0100
[Message part 1 (text/plain, inline)]
This one time, at band camp, César Gómez Martín said:
> Hi Joerg,
> 
> It shouldn't work that way.
> 
> msgid is the original English sentence and msgstr is the translation.
> 
> The output message should depende on your local configuration.

Yes, of course.  Nothing much has changed in the way we use gettext
recently, so I doubt it's that.  I thought what Joerg was trying to say
was that the spanish translation was fuzzy, which may have meant some
strings came through untranslated.  I don't know enough about the guts
of gettext to know if that's true or not, though.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#489041; Package adduser. (full text, mbox, link).


Acknowledgement sent to Javier Fernández-Sanguino Peña <jfs@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #25 received at 489041@bugs.debian.org (full text, mbox, reply):

From: Javier Fernández-Sanguino Peña <jfs@debian.org>
To: Joerg Hoh <joerg@joerghoh.de>
Cc: Ignacio Mondino <ignacio.mondino@gmail.com>, 489041@bugs.debian.org, debian-l10n-spanish@lists.debian.org
Subject: Re: Bug#489041: Strange behavior in using a spanish environment
Date: Sat, 26 Jul 2008 02:51:11 +0200
[Message part 1 (text/plain, inline)]
On Tue, Jul 22, 2008 at 11:31:31PM +0200, Joerg Hoh wrote:
> 
> (debian-l10n-spanish: Can you help out? I don't know gettext good enough to
> debug this problem.)

How strange, the strings in the PO file are fuzzy, so they should not be
shown to the user (english should be shown instead). But, indeed, both are
shown. Maybe it's a bug in Perl's gettext implementation. This is not correct
behaviour.

Anyway, to fix the root cause and since this PO file is obsolete I'm going to
update it, fix all the fuzzies, and submit it to the BTS.

Regards

Javier
[signature.asc (application/pgp-signature, inline)]

Reply sent to Stephen Gran <sgran@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Ignacio Mondino <ignacio.mondino@gmail.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #30 received at 489041-close@bugs.debian.org (full text, mbox, reply):

From: Stephen Gran <sgran@debian.org>
To: 489041-close@bugs.debian.org
Subject: Bug#489041: fixed in adduser 3.109
Date: Sun, 03 Aug 2008 23:32:02 +0000
Source: adduser
Source-Version: 3.109

We believe that the bug you reported is fixed in the latest version of
adduser, which is due to be installed in the Debian FTP archive:

adduser_3.109.dsc
  to pool/main/a/adduser/adduser_3.109.dsc
adduser_3.109.tar.gz
  to pool/main/a/adduser/adduser_3.109.tar.gz
adduser_3.109_all.deb
  to pool/main/a/adduser/adduser_3.109_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 489041@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Gran <sgran@debian.org> (supplier of updated adduser package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 04 Aug 2008 00:11:17 +0100
Source: adduser
Binary: adduser
Architecture: source all
Version: 3.109
Distribution: unstable
Urgency: low
Maintainer: Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>
Changed-By: Stephen Gran <sgran@debian.org>
Description: 
 adduser    - add and remove users and groups
Closes: 488977 489041 492429
Changes: 
 adduser (3.109) unstable; urgency=low
 .
   [ Joerg Hoh ]
   * fix adduser manpage (closes: #488977), thanks Aleksi Suhonen
   * New translations:
     - es (thanks Javier Fernández-Sanguino Peña <jfs@computer.org>)
         (Closes: #492429, #489041)
 .
   [ Stephen Gran ]
   * Add Joerg to uploaders and remove Marc - thanks for your work
   * Update Standards-Version to 3.8.0 - no changes
Checksums-Sha1: 
 f4924d15d198f9ebd96ef23ce110cbb6ca14a5d3 1028 adduser_3.109.dsc
 66f19b54141d2b86a3f791826d4cac0b1dd27cc5 268254 adduser_3.109.tar.gz
 156aa382c7115508ee6780c093280c15c00eb33e 176550 adduser_3.109_all.deb
Checksums-Sha256: 
 7b427bdc4900f039712385f2759f6e8deb970e1bcf7f58d78b6d94b6835f62a2 1028 adduser_3.109.dsc
 5b0533df5afce13285c43481db923b67ff43a1aa8ac1a032b893885c6cbac897 268254 adduser_3.109.tar.gz
 e2b2338702eba3cb264ae8ac3874093b68ecb480605b650e98bd45269c163f9e 176550 adduser_3.109_all.deb
Files: 
 7006a2b2d641459474333a9fcc51e6f5 1028 admin important adduser_3.109.dsc
 cbe525305511f35642451f510e545af2 268254 admin important adduser_3.109.tar.gz
 7ad7db539be1930e4a30c86554f06ba1 176550 admin important adduser_3.109_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiWPbgACgkQSYIMHOpZA44Q7QCgjXLudc+YdbI1JB9Z9L7V8y+b
1n8An3QG0HQGjfBS/bAZZulG9gjTMjCu
=+sC7
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 02 Sep 2008 07:29:23 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 20:59:32 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.