diff options
author | momo-i <momo-i@ampache> | 2008-08-25 00:30:35 +0000 |
---|---|---|
committer | momo-i <momo-i@ampache> | 2008-08-25 00:30:35 +0000 |
commit | f9270baba89803586e3d4eaf0b246961b5df75ca (patch) | |
tree | c06212a071f9571786d379ffd807d45b0fc53eb5 /templates/show_object_rating_static.inc.php | |
parent | c16f287900ca5ec869b151af00759ea852f39287 (diff) | |
download | ampache-f9270baba89803586e3d4eaf0b246961b5df75ca.tar.gz ampache-f9270baba89803586e3d4eaf0b246961b5df75ca.tar.bz2 ampache-f9270baba89803586e3d4eaf0b246961b5df75ca.zip |
Modified: More translatable templates.
Diffstat (limited to 'templates/show_object_rating_static.inc.php')
-rw-r--r-- | templates/show_object_rating_static.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_object_rating_static.inc.php b/templates/show_object_rating_static.inc.php index a8359f5b..2c65ae54 100644 --- a/templates/show_object_rating_static.inc.php +++ b/templates/show_object_rating_static.inc.php @@ -31,11 +31,11 @@ $base_url = Config::get('ajax_url') . '?action=set_rating&rating_type=' . $r if ($width < 0) $width = 0; //set the current rating background - echo "<li class=\"current-rating\" style=\"width:${width}%\" >Current rating: "; + echo "<li class=\"current-rating\" style=\"width:${width}%\" >" . _('Current rating: '); if ($rating->rating <= 0) { - echo "not rated yet </li>\n"; + echo _('not rated yet') . "</li>\n"; } - else echo "$rating->preciserating of 5</li>\n"; + else printf(_('%s of 5') ,$rating->preciserating); echo "</li>\n"; for ($i=1; $i<6; $i++) { |