Bug 663 - Minor error in German translation
Minor error in German translation
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.8.10
PC Linux
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-21 09:16 MDT by Philip P.
Modified: 2015-02-09 15:14 MST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip P. 2014-09-21 09:16:36 MDT
I noticed that when running an Application with sudo and using a German locale, the password field lacks a space (" ") after the colons, e.g.:

sudo foo
Passwort:******


instead it should be:

sudo foo
Passwort: ******
Comment 1 Todd C. Miller 2014-09-22 06:58:40 MDT
This is not actually an error in the translation as the English string also lacks a space after the colon.  Historically, there was no space after the Unix Password: prompt.  This wasn't really a problem as echo was disabled during password entry.  However, I can see how this would be a bit ugly when pwfeedback is enabled in sudoers (which enables the stars on input).  I'll probably add the space early in the sudo 1.8.12 release cycle which should give the translators plenty of time to make the change,
Comment 2 Philip P. 2014-09-22 07:26:00 MDT
Hm, sounds reasonable but actually I cannot confirm this:

sudo foo
Passwort:*****


LANG=C sudo foo
Password: *****

And when using "su" there's a break inbetween, too.
If you look closely at the cursor position with the stars diabled, it can also be noticed.

It's weird that our results do not match... Could you reproduce again to be sure?
Comment 3 Todd C. Miller 2014-09-22 07:52:26 MDT
You can verify this yourself in the sudoers de.po file or see http://www.sudo.ws/repos/sudo/file/2dd4e808f69f/plugins/sudoers/po/de.po

The reason you see the space after Password: in the C locale is that sudo uses the default PAM prompt when the password prompt is either "Password:" or "Password: ".  On your system, the PAM password prompt includes the space, as also see with su.
Comment 4 Philip P. 2014-09-22 08:14:43 MDT
Ah damn, makes sense now! Yeah I think it would be reasonable to add the space.

Thanks for the explanation! :)
Comment 5 Todd C. Miller 2015-02-09 15:14:22 MST
Sudo 1.8.12 uses a Password: prompt with a trailing space.