summaryrefslogtreecommitdiffstats
path: root/templates/show_random.inc.php
diff options
context:
space:
mode:
authormomo-i <momo-i@ampache>2008-08-26 22:08:13 +0000
committermomo-i <momo-i@ampache>2008-08-26 22:08:13 +0000
commitc3a0f470271cae98883d137c8d1ed10a9ed9d7f6 (patch)
tree96fbc29e03c25e49836824684f80942dfa7fc0a9 /templates/show_random.inc.php
parentf54f17453d160932781295632587ef7490136e77 (diff)
downloadampache-c3a0f470271cae98883d137c8d1ed10a9ed9d7f6.tar.gz
ampache-c3a0f470271cae98883d137c8d1ed10a9ed9d7f6.tar.bz2
ampache-c3a0f470271cae98883d137c8d1ed10a9ed9d7f6.zip
if can't use gettext, emulate gettext(). update some templates.
Diffstat (limited to 'templates/show_random.inc.php')
-rw-r--r--templates/show_random.inc.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/show_random.inc.php b/templates/show_random.inc.php
index 3169717d..57f92ed4 100644
--- a/templates/show_random.inc.php
+++ b/templates/show_random.inc.php
@@ -48,13 +48,13 @@
<td>
<select name="length">
<option value="0"><?php echo _('Unlimited'); ?></option>
- <option value="15"><?php printf(ngettext('%s minute','%s minutes',15), "15"); ?></option>
- <option value="30"><?php printf(ngettext('%s minute','%s minutes',30), "30"); ?></option>
- <option value="60"><?php printf(ngettext('%s hour','%s hours',1), "1"); ?></option>
- <option value="120"><?php printf(ngettext('%s hour','%s hours',2), "2"); ?></option>
- <option value="240"><?php printf(ngettext('%s hour','%s hours',4), "4"); ?></option>
- <option value="480"><?php printf(ngettext('%s hour','%s hours',8), "8"); ?></option>
- <option value="960"><?php printf(ngettext('%s hour','%s hours',16), "16"); ?></option>
+ <option value="15"><?php printf(ngettext('%d minute','%d minutes',15), "15"); ?></option>
+ <option value="30"><?php printf(ngettext('%d minute','%d minutes',30), "30"); ?></option>
+ <option value="60"><?php printf(ngettext('%d hour','%d hours',1), "1"); ?></option>
+ <option value="120"><?php printf(ngettext('%d hour','%d hours',2), "2"); ?></option>
+ <option value="240"><?php printf(ngettext('%d hour','%d hours',4), "4"); ?></option>
+ <option value="480"><?php printf(ngettext('%d hour','%d hours',8), "8"); ?></option>
+ <option value="960"><?php printf(ngettext('%d hour','%d hours',16), "16"); ?></option>
</select>
</td>
</tr>