RE: [Cooker] How to set column of OK/PASSED/FAILED messages?
> > > * Mon Dec 10 2001 Chmouel Boudjnah <[EMAIL PROTECTED]> > > 6.40.2-5mdk > > > > ... > > - po/*, rc.d/init.d/functions: Changed the space padding of > > OK/PASSED/FAILED from functions file to the translations; so each > > language can custom it as needed. (pablo). > > ... > > > > Looking in /etc/init.d/functions I do not see how to do it. Column is > > read from /etc/sysconfig/init else is set to hardwired 60. > > > > Am I missing something? > > The spacing is inside the translation, if I'm correct. > > [gc@bi ~/tmp] msgunfmt ./etc/locale/fr/LC_MESSAGES/initscripts.mo | grep -A1 > PASS > msgid "PASSED" > msgstr " FAIT " > > [gc@bi ~/tmp] msgunfmt ./etc/locale/fr/LC_MESSAGES/initscripts.mo | grep OK > msgid " OK " > msgstr " OK " > Ah, padding inside brackets. I understand. I thought, it was about column where these are displayed (in Russian translation some messages are longer than 60 characters and are overwritten; Pablo once mentioned variable column, I thought it has been implemented). Thank you -andrej
Re: [Cooker] How to set column of OK/PASSED/FAILED messages?
Borsenkow Andrej <[EMAIL PROTECTED]> writes: > * Mon Dec 10 2001 Chmouel Boudjnah <[EMAIL PROTECTED]> > 6.40.2-5mdk > > ... > - po/*, rc.d/init.d/functions: Changed the space padding of > OK/PASSED/FAILED from functions file to the translations; so each > language can custom it as needed. (pablo). > ... > > Looking in /etc/init.d/functions I do not see how to do it. Column is > read from /etc/sysconfig/init else is set to hardwired 60. > > Am I missing something? The spacing is inside the translation, if I'm correct. [gc@bi ~/tmp] msgunfmt ./etc/locale/fr/LC_MESSAGES/initscripts.mo | grep -A1 PASS msgid "PASSED" msgstr " FAIT " [gc@bi ~/tmp] msgunfmt ./etc/locale/fr/LC_MESSAGES/initscripts.mo | grep OK msgid " OK " msgstr " OK " -- Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/
[Cooker] How to set column of OK/PASSED/FAILED messages?
* Mon Dec 10 2001 Chmouel Boudjnah <[EMAIL PROTECTED]> 6.40.2-5mdk ... - po/*, rc.d/init.d/functions: Changed the space padding of OK/PASSED/FAILED from functions file to the translations; so each language can custom it as needed. (pablo). ... Looking in /etc/init.d/functions I do not see how to do it. Column is read from /etc/sysconfig/init else is set to hardwired 60. Am I missing something? {pts/1}% rpm -q initscripts initscripts-6.40.2-6mdk -andrej