Bug 156429

Summary: french translation for "Last login" on tty1-tty6
Product: [openSUSE] SUSE Linux 10.1 Reporter: michel munnix <michel.munnix>
Component: TranslationsAssignee: Kerry OConnor <kerryoc>
Status: RESOLVED FIXED QA Contact: Karl Eichwalder <ke>
Severity: Normal    
Priority: P5 - None CC: ke, kerryoc, kukuk
Version: Beta 6   
Target Milestone: RC 2   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: diff -u against pam/Linux-PAM/po/fr.po rev 1.28

Description michel munnix 2006-03-09 12:36:31 UTC
1. spacings wrong/differs
missing spaces after "2600" and after "sur"
there are extra spaces before ":", in the English version there where no spaces.
2. the date format is not localized, this seems wrong. I'd prefer the european format or everything in English
3. this is only on text consoles, when connected through telnet or ssh, you get the english message

linux login: root
Mot de passe :
Dernière connexion : jeu mar 9 12:15:18 UTC 2006de localhostsur pts/2
Have a lot of fun...
Comment 1 Karl Eichwalder 2006-03-09 14:26:52 UTC
thanks for the report.
Comment 2 Karl Eichwalder 2006-03-10 16:32:34 UTC
It seems to originate from Linux-PAM/Linux-PAM.fr.po.  If you use French a localized date is probalby okay.  If you do not like it, set LC_TIME accordingly.

Some French translator prefer a space before punctation characters, even if typewriter fonts are in use.  Kerry please to check, how we should proceed.
Comment 3 Thorsten Kukuk 2006-03-13 10:11:06 UTC
strftime is marked in Linux-PAM for translation (So you can change the order or
content of "jeu mar 9 12:15:18 UTC 2006" yourself) in po file, but was missing in SVN. I will commit now a new pot file. the german po file is using it already the following way:

#. TRANSLATORS: "strftime options for date of last login"
#: modules/pam_lastlog/pam_lastlog.c:187
msgid " %a %b %e %H:%M:%S %Z %Y"
msgstr " %A, den %d. %B %Y, %H:%M:%S %Z"
Comment 4 Karl Eichwalder 2006-03-13 12:49:30 UTC
Thanks!

Copied on the FTP server for translation updates.  Shane, please pick it up from the LCN repository.
Comment 5 Shane Wims 2006-03-16 11:54:55 UTC
Hi Kerry, this bug can be fixed in the file Linux-PAM.xx.po which you will find in the Linux-PAM folder of the LCN repository.
Comment 6 Kerry OConnor 2006-03-23 16:06:40 UTC
Changed in Linux-PAM for French
#. TRANSLATORS: "strftime options for date of last login"
#: modules/pam_lastlog/pam_lastlog.c:187
msgid " %a %b %e %H:%M:%S %Z %Y"
msgstr " %a %e %b %Y, %H:%M:%S %Z "

Should be in RC2.
Comment 7 michel munnix 2006-04-20 08:30:18 UTC
I checked the changes in RC1, there were still some spacing problems, so I took a look to the fr.po file (sourceforge cvs). So here is my change proposal as a "diff -u" against latest version (rev 1.28)
Comment 8 michel munnix 2006-04-20 08:32:47 UTC
Created attachment 79172 [details]
diff -u against pam/Linux-PAM/po/fr.po rev 1.28
Comment 9 Kerry OConnor 2006-04-21 07:06:37 UTC
Thanks Michel, I've implemented your changes.
Should be in for RC2.