Bug 171545 - Please do not hard code file name into system-config-soundcard message
Summary: Please do not hard code file name into system-config-soundcard message
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-soundcard
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Stransky
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-22 20:07 UTC by Christian Rose
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-10-26 13:43:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christian Rose 2005-10-22 20:07:45 UTC
#: ../src/soundcard.py:300
msgid ""
"Automatic detection of the sound card did not work.  Audio will not be "
"available on the system.\n"
"You can inspect /root/scsound.log and file a new bug\n"
"at http://bugzilla.redhat.com.\n"
"\n"
"Please click OK to continue."

Please do not hard code file names into translateable messages.

1) Hard coding means that all translations will need to be updated should the
location or file name change at any time in the future.
2) The file name and location should never need any translation, and placing a
file name and location in the message always means that there will be a danger
of it being accidentally mistranslated by a translator.

Please use a *printf-style approach instead, placing the location and file name
inside a specifier.

Comment 1 Martin Stransky 2005-10-26 13:43:40 UTC
fixed in devel


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