From 594a84df0456636acc1fa0cfd02c5ad278d746fc Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Wed, 6 May 2009 11:13:40 +0000 Subject: alexey #426 translation patch --- templates/show_song.inc.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'templates/show_song.inc.php') 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;
"> id,'add',_('Add'),'add_song_' . $song->id); ?> - - + + @@ -38,23 +38,23 @@ $button_flip_state_id = 'button_flip_state_' . $song->id;
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) { -- cgit