Bug 174579
Summary: | spamd init script has no nls messages | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rudolf Kastl <che666> | ||||
Component: | spamassassin | Assignee: | Warren Togami <wtogami> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | CC: | felicity, jm, parkerm, perl-devel, reg+redhat, wtogami | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-05-09 15:50:45 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: | 171491 | ||||||
Attachments: |
|
Description of problem: spamd init script has no nls messages. patch makes the init script suck a bit less ;) Version-Release number of selected component (if applicable): 3.0.3 How reproducible: always Steps to Reproduce: 1. start the service 2. 3. Actual results: get an english starting/stopping message Expected results: nls support Additional info: some credits would be sweet I know nothing about this "nls" thing, could you please explain it and how it works? native language support of the init scripts. actually with my changes it shows the start and stop messages translated as with most other core components that have init scripts. the answer to how it works is here: /etc/init.d/functions ok to show you how it works exactly. i assume you have en_US set. open a terminal and do: . /etc/init.d/functions export prog="foobar" echo $"Starting $prog: " after that you should see the english starting message on your terminal now lets try it in german :) : . /etc/init.d/functions export prog="foobar" export LC_MESSAGES=de_DE echo $"Starting $prog: " explanation enough? what annoys me is that i cant access the bug i block actually... id love to fix it aswell then. ;) Curious, why is your patch against the older version? cause of this bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173322 try: yumdownloader --source spamassassin only base repo works correctly. Could you please also report this to spamassassin.apache.org so this can be fixed in 3.1.x and trunk too? I could do it, but then I'd steal your credit. =) Fixed in FC5 and a package heading toward RHEL4. I am considering pushing a much newer spamassassin-3.1.x based update to FC3/FC4 later this month so holding off on that for now. |
Created attachment 121633 [details] newrpms-spamassassin-init-nls.patch