Closed (fixed)
Project:
Audio
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2007 at 09:25 UTC
Updated:
16 Nov 2007 at 06:11 UTC
Jump to comment: Most recent file
In the file audio_theme.inc the string "!playtime minutes (!filesize)" is not translated. I'm translating the string 'minutes' to my local string.
function theme_audio_format_filelength($fileinfo) {
$format = !empty($fileinfo['playtime']) ? '@playtime minutes (@filesize)' : '@filesize';
$args = array('@playtime' => check_plain($fileinfo['playtime']), '@filesize' => format_size($fileinfo['filesize']));
return strtr($format, $args);
}
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | audio_184546_0.patch | 1.88 KB | drewish |
| #1 | audio_184546.patch | 1.13 KB | drewish |
Comments
Comment #1
drewish commentedgive this a try.
Comment #2
xl-network commentedThis is working but I had to make a small ajustment
I changed $fileinfo['file_size'] to $fileinfo['filesize']
Comment #3
drewish commentedi'm pretty sure file_size is correct. perhaps you're using and older version?
committing the attached to HEAD.
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.