diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-05-06 11:13:40 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-05-06 11:13:40 +0000 |
commit | 594a84df0456636acc1fa0cfd02c5ad278d746fc (patch) | |
tree | 2d59c2abb212b153bbb95d805546f858c49e8474 /templates/show_song.inc.php | |
parent | 0b63ba290aa8afac25df642a69cf485426512e88 (diff) | |
download | ampache-594a84df0456636acc1fa0cfd02c5ad278d746fc.tar.gz ampache-594a84df0456636acc1fa0cfd02c5ad278d746fc.tar.bz2 ampache-594a84df0456636acc1fa0cfd02c5ad278d746fc.zip |
alexey #426 translation patch
Diffstat (limited to 'templates/show_song.inc.php')
-rw-r--r-- | templates/show_song.inc.php | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/templates/show_song.inc.php b/templates/show_song.inc.php index 000e1581..a809dd0e 100644 --- a/templates/show_song.inc.php +++ b/templates/show_song.inc.php @@ -28,8 +28,8 @@ $button_flip_state_id = 'button_flip_state_' . $song->id; <dd class"<?php echo $rowparity; ?>"> <?php echo Ajax::button('?action=basket&type=song&id=' . $song->id,'add',_('Add'),'add_song_' . $song->id); ?> <?php if (Access::check_function('download')) { ?> - <a href="<?php echo Song::play_url($song->id); ?>"><?php echo get_user_icon('link'); ?></a> - <a href="<?php echo Config::get('web_path'); ?>/stream.php?action=download&song_id=<?php echo $song->id; ?>"><?php echo get_user_icon('download'); ?></a> + <a href="<?php echo Song::play_url($song->id); ?>"><?php echo get_user_icon('link',_('Link')); ?></a> + <a href="<?php echo Config::get('web_path'); ?>/stream.php?action=download&song_id=<?php echo $song->id; ?>"><?php echo get_user_icon('download',_('Download')); ?></a> <?php } ?> <?php if (Access::check('interface','75')) { ?> <span id="<?php echo($button_flip_state_id); ?>"> @@ -38,23 +38,23 @@ $button_flip_state_id = 'button_flip_state_' . $song->id; <?php } ?> </dd> <?php - $songprops['Title'] = scrub_out($song->title); - $songprops['Artist'] = $song->f_artist_link; - $songprops['Album'] = $song->f_album_link . " (" . scrub_out($song->year). ")"; - $songprops['Genre'] = $song->f_genre_link; - $songprops['Length'] = scrub_out($song->f_time); - $songprops['Comment'] = scrub_out($song->comment); - $songprops['Label'] = scrub_out($song->label); - $songprops['Language']= scrub_out($song->language); - $songprops['Catalog Number'] = scrub_out($song->catalog_number); - $songprops['Bitrate'] = scrub_out($song->f_bitrate); + $songprops[gettext_noop('Title')] = scrub_out($song->title); + $songprops[gettext_noop('Artist')] = $song->f_artist_link; + $songprops[gettext_noop('Album')] = $song->f_album_link . " (" . scrub_out($song->year). ")"; + $songprops[gettext_noop('Genre')] = $song->f_genre_link; + $songprops[gettext_noop('Length')] = scrub_out($song->f_time); + $songprops[gettext_noop('Comment')] = scrub_out($song->comment); + $songprops[gettext_noop('Label')] = scrub_out($song->label); + $songprops[gettext_noop('Song Language')]= scrub_out($song->language); + $songprops[gettext_noop('Catalog Number')] = scrub_out($song->catalog_number); + $songprops[gettext_noop('Bitrate')] = scrub_out($song->f_bitrate); if (Access::check('interface','75')) { - $songprops['Filename'] = scrub_out($song->file) . " " . $song->f_size . "MB"; + $songprops[gettext_noop('Filename')] = scrub_out($song->file) . " " . $song->f_size . "MB"; } if ($song->update_time) { - $songprops['Last Updated'] = date("d/m/Y H:i",$song->update_time); + $songprops[gettext_noop('Last Updated')] = date("d/m/Y H:i",$song->update_time); } - $songprops['Added'] = date("d/m/Y H:i",$song->addition_time); + $songprops[gettext_noop('Added')] = date("d/m/Y H:i",$song->addition_time); foreach ($songprops as $key => $value) { |