Bug 178127 - avahi-daemon sysinit messages are not localized
avahi-daemon sysinit messages are not localized
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
: i18n
Depends On:
Blocks: FC5Target
  Show dependency treegraph
 
Reported: 2006-01-17 16:37 EST by Nicolas Mailhot
Modified: 2014-03-16 22:57 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-10 14:02:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nicolas Mailhot 2006-01-17 16:37:45 EST
Description of problem:

The avahi-daemon sysinit script is not printing localized messages like the
others (in my case, French)

# /etc/init.d/avahi-daemon restart
Shutting down Avahi daemon:                                [  OK  ]
Starting Avahi daemon...                                   [  OK  ]

versus

# /etc/init.d/postfix restart
Arrêt de postfix :                                         [  OK  ]
Démarrage de postfix :                                     [  OK  ]


Version-Release number of selected component (if applicable):

avahi-0.6.3-1
Comment 1 Jason Vas Dias 2006-01-18 15:16:01 EST
The initscripts package needs to be regenerated with the avahi-daemon initscript
installed in order to generate the messages to be translated, then the translation
needs to be done . The avahi-daemon initscript should be gettext ready.
Comment 2 Bill Nottingham 2006-01-18 15:19:00 EST
Not fully, as of 0.6.3-1, at least.

$ grep echo avahi-daemon  | grep '"'
        echo -n $"Starting Avahi daemon... "
        echo -n "Shutting down Avahi daemon: "
        echo -n "Reloading Avahi daemon... "
        [ $? = 0 ] && echo "Avahi daemon is running" || echo "Avahi daemon is
not running"
        echo $"Usage: $0 {start|stop|status|restart|condrestart}"

That's at least 4 strings that aren't marked.

initscripts pot was regenerated at the string freeze, it may get regenerated later.
Comment 3 Jason Vas Dias 2006-01-19 16:53:36 EST
OK, sorry about that - the initscript is now FULLY gettext-ized in 
avahi-0.6.4-2 - ALL echo-ed strings are in $"..." quotes.
Comment 4 Nicolas Mailhot 2006-02-05 13:51:19 EST
Now startup is localized but shutdown isn't
Comment 5 Miloslav Trmač 2006-05-17 16:19:57 EDT
The only thing currently missing is new translations, this should get fixed during
the next string freeze.
Comment 6 Miloslav Trmač 2006-11-10 14:02:11 EST
FC-6 contains the necessary translations at least for French and Czech.

Note You need to log in before you can comment on or make changes to this bug.