DVD 64bits, Mageia 1 Into KDM and GDM, with French language, "Guest account" is not translated into "Compte invité".
Component: Release (media, process) => RPM PackagesHardware: x86_64 => AllSource RPM: (none) => xguest
CC: (none) => mageia-i18n
CC: mageia-i18n => (none)Assignee: bugsquad => mageia-i18n
Assignee: mageia-i18n => bugsquad
Nothing happened to the xguest package since it was imported. No maintainer for xguest. @ Oliver Would this be something Kamil could fix? I know he doesn't speak French, but the translation is already here :)
CC: (none) => marja11, oliver.bgr
Hard task... I tried to do something in the past (even in Mandriva). Spec is: [...] #!/bin/sh groupdel xguest 2>/dev/null userdel -r xguest 2>/dev/null useradd -s /bin/rbash -K UID_MIN=61000 -K UID_MAX=65000 -K GID_MIN=61000 -K GID_MAX=65000 %grp_option -p '' -c "Guest Account" xguest || : [...] So hard to fix it! I'm working on it. If something is possible, I will patch xguest. Or if Oliver or Kamil want to deal with it... Go ahead! :-)
CC: (none) => mageia
Fix in Cauldron. Can you test please? http://svnweb.mageia.org/packages?view=revision&revision=188172 Thanks for the bug report.
Assignee: bugsquad => mageia
(In reply to comment #3) > Fix in Cauldron. > Can you test please? > http://svnweb.mageia.org/packages?view=revision&revision=188172 > Thanks for the bug report. adding some French bug squad members to the cc, in case Sébastien doesn't have cauldron :)
CC: (none) => manuel, stormi, thierry.vignaud
I'm a French guy. ;-)
After an remove and resinstall it's work, thanks.
Status: NEW => RESOLVEDResolution: (none) => FIXED
I haven't tested yet. So it is translatable to all languages now? Or just for French? Where is the pot file? Oliver
It's only in the spec. With what I understand the rpm check the locale variable and then use the correct string in the useradd script http://svnweb.mageia.org/packages/cauldron/xguest/current/SPECS/xguest.spec?view=markup case \$(env | grep -m 1 -i lang | cut -d= -f2 | cut -d. -f1) in 58 fr_FR) comment_xguest="Compte invité";; 59 de_DE) comment_xguest="Gast-Account";; 60 es_ES) comment_xguest="Cuenta invitado";; 61 pt_PT) comment_xguest="Conta convidado";; 62 *) comment_xguest="Guest Account";; 63 esac 64 65 useradd -s /bin/rbash -K UID_MIN=61000 -K UID_MAX=65000 -K GID_MIN=61000 -K GID_MAX=65000 %grp_option -p '' -c "\$comment_xguest" xguest || :
CC: manuel, stormi, thierry.vignaud => (none)
Ah, I see. Not really comfortable for i18n but we can manage.
Another question: For some languages like pt there may really be differences between the flavours of the language, in case of de that's different. So the translation for de_AT and de_CH (and de_WHATEVER) should be the same as for de_DE. How to handle that?
using regex should work so: s/de_DE)/de_*)/
The regexp would be de_.* not de_* but that doesn't really matter. I'll try locally. Oliver