Bug 178127

Summary: avahi-daemon sysinit messages are not localized
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mitr, rvokal
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-10 19:02:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150221    

Description Nicolas Mailhot 2006-01-17 21:37:45 UTC
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 20:16:01 UTC
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 20:19:00 UTC
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 21:53:36 UTC
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 18:51:19 UTC
Now startup is localized but shutdown isn't

Comment 5 Miloslav Trmač 2006-05-17 20:19:57 UTC
The only thing currently missing is new translations, this should get fixed during
the next string freeze.

Comment 6 Miloslav Trmač 2006-11-10 19:02:11 UTC
FC-6 contains the necessary translations at least for French and Czech.